diff --git a/.props b/.props index 222c3c9..13314f6 100644 --- a/.props +++ b/.props @@ -10,4 +10,7 @@ Unordinal AB DarkRift Networking - High Performance Networking Library for .NET and Unity Games - \ No newline at end of file + + $(DefaultItemExcludes);**/*.meta;**/*.asmdef + + diff --git a/DarkRift.Client/DarkRift.Client.csproj b/DarkRift.Client/DarkRift.Client.csproj index 9f87da8..2b85688 100644 --- a/DarkRift.Client/DarkRift.Client.csproj +++ b/DarkRift.Client/DarkRift.Client.csproj @@ -1,16 +1,11 @@  - - - net3.5;netstandard2.0 netstandard2.0 $(OutDir)\$(Configuration)\$(TargetFramework)\DarkRift.Client.xml Debug;Release true - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\bin\ - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\obj\ - true + true diff --git a/DarkRift.Server.Console/DarkRift.Server.Console.csproj b/DarkRift.Server.Console/DarkRift.Server.Console.csproj index 8acf2ee..e8ed017 100644 --- a/DarkRift.Server.Console/DarkRift.Server.Console.csproj +++ b/DarkRift.Server.Console/DarkRift.Server.Console.csproj @@ -1,7 +1,4 @@  - - - net4.0;netcoreapp2.0;netcoreapp3.1;net5.0;net6.0 netcoreapp2.0;netcoreapp3.1;net5.0;net6.0 @@ -14,8 +11,6 @@ false - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\bin\ - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\obj\ diff --git a/DarkRift.Server.Testing/DarkRift.Server.Testing.csproj b/DarkRift.Server.Testing/DarkRift.Server.Testing.csproj index c710ec9..20bbda1 100644 --- a/DarkRift.Server.Testing/DarkRift.Server.Testing.csproj +++ b/DarkRift.Server.Testing/DarkRift.Server.Testing.csproj @@ -1,7 +1,4 @@  - - - net4.5;net6.0 net6.0 @@ -9,8 +6,6 @@ true NU1701 - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\bin\ - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\obj\ diff --git a/DarkRift.Server/DarkRift.Server.csproj b/DarkRift.Server/DarkRift.Server.csproj index 0ff62c3..5d7e3ed 100644 --- a/DarkRift.Server/DarkRift.Server.csproj +++ b/DarkRift.Server/DarkRift.Server.csproj @@ -1,16 +1,11 @@  - - - net3.5;netstandard2.0 netstandard2.0 $(OutDir)\$(Configuration)\$(TargetFramework)\DarkRift.Server.xml Debug;Release true - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\bin\ - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\obj\ - true + true diff --git a/DarkRift.SystemTesting/DarkRift.SystemTesting.csproj b/DarkRift.SystemTesting/DarkRift.SystemTesting.csproj index e60fb4e..d3e9078 100644 --- a/DarkRift.SystemTesting/DarkRift.SystemTesting.csproj +++ b/DarkRift.SystemTesting/DarkRift.SystemTesting.csproj @@ -1,15 +1,10 @@  - - - net6.0 Debug;Release true true false - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\bin\ - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\obj\ diff --git a/DarkRift.Testing/DarkRift.Testing.csproj b/DarkRift.Testing/DarkRift.Testing.csproj index a9b6de0..ffee5e7 100644 --- a/DarkRift.Testing/DarkRift.Testing.csproj +++ b/DarkRift.Testing/DarkRift.Testing.csproj @@ -1,7 +1,4 @@  - - - net4.5;net6.0 net6.0 @@ -10,8 +7,6 @@ NU1701 false - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\bin\ - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\obj\ diff --git a/DarkRift/DarkRift.csproj b/DarkRift/DarkRift.csproj index 5e261d9..35f21d2 100644 --- a/DarkRift/DarkRift.csproj +++ b/DarkRift/DarkRift.csproj @@ -1,7 +1,4 @@  - - - net3.5;netstandard2.0 netstandard2.0 @@ -9,9 +6,7 @@ Debug;Release true true - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\bin\ - $(ProjectDir)..\..\unordinal\dr-build\$(MSBuildProjectName)\obj\ - true + true @@ -25,8 +20,8 @@ DEBUG;TRACE - + - + diff --git a/DarkRift/Dispatching/FunctionDispatcherTask.cs b/DarkRift/Dispatching/FunctionDispatcherTask.cs index f7ef604..6ab6970 100644 --- a/DarkRift/Dispatching/FunctionDispatcherTask.cs +++ b/DarkRift/Dispatching/FunctionDispatcherTask.cs @@ -55,7 +55,7 @@ internal override void Execute(bool synchronous) catch (Exception e) { SetTaskFailed(e); - throw new DispatcherException("An exception occurred whilst running a dispatcher task. See inner exception for more details.", e); ; + throw new DispatcherException("An exception occurred whilst running a dispatcher task. See inner exception for more details.", e); } SetTaskComplete(synchronous); diff --git a/DarkRift2.sln b/DarkRift2.sln index 2da240a..d75c52a 100644 --- a/DarkRift2.sln +++ b/DarkRift2.sln @@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .props = .props .targets = .targets bitbucket-pipelines.yml = bitbucket-pipelines.yml + Directory.Build.props = Directory.Build.props ReadMe.md = ReadMe.md DarkRift.Schemas\Server.config.xsd = DarkRift.Schemas\Server.config.xsd EndProjectSection diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..52e02bd --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,16 @@ + + + + + + $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), DarkRift2.sln))\ + + $(SolutionDir)..\unordinal\dr-build\$(MSBuildProjectName)\obj\ + $(SolutionDir)..\unordinal\dr-build\$(MSBuildProjectName)\obj\$(Configuration) + $(IntermediateOutputPath)\ + $(SolutionDir)..\unordinal\dr-build\$(MSBuildProjectName)\bin\ + $(OutputPath) + + + +