mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update DotNet sln
Update DotNet sln
This commit is contained in:
33
DotNet/App/App.csproj
Normal file
33
DotNet/App/App.csproj
Normal file
@@ -0,0 +1,33 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<OutputPath>../Bin/App/</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<OutputPath>../Bin/App/</OutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Logic\Logic.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="NLog.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="NLog.xsd">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="TEngineSettings.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
46
DotNet/Core/Core.csproj
Normal file
46
DotNet/Core/Core.csproj
Normal file
@@ -0,0 +1,46 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<RootNamespace>TEngine.Server</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DefineConstants>TRACE;TENGINE_NET</DefineConstants>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>1701;1702;IL2121;CS8603;IL2121;CS8625;IL2121;CS8618</NoWarn>
|
||||
<WarningsAsErrors>;NU1605;SYSLIB0011;CS8618;;CS8625</WarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DefineConstants>TRACE;TENGINE_NET</DefineConstants>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>1701;1702;IL2121;CS8603;IL2121;CS8625;IL2121;CS8618</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CommandLineParser" Version="2.9.1" />
|
||||
<PackageReference Include="EPPlus" Version="6.2.6" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0" />
|
||||
<PackageReference Include="MongoDB.Bson" Version="2.20.0" />
|
||||
<PackageReference Include="MongoDB.Driver" Version="2.20.0" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
<PackageReference Include="NLog" Version="5.2.0" />
|
||||
<PackageReference Include="protobuf-net" Version="3.2.26" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\Assets\GameScripts\DotNet\Core\**\*.cs">
|
||||
<Link>Core\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ThirdParty\ThirdParty.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
27
DotNet/Logic/Logic.csproj
Normal file
27
DotNet/Logic/Logic.csproj
Normal file
@@ -0,0 +1,27 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DefineConstants>TRACE;TENGINE_NET</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DefineConstants>TRACE;TENGINE_NET</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Core\Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\Assets\GameScripts\DotNet\Logic\**\*.cs">
|
||||
<Link>Core\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
33
DotNet/Server.sln
Normal file
33
DotNet/Server.sln
Normal file
@@ -0,0 +1,33 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "App", "App\App.csproj", "{A33F0C04-BD73-4479-977A-C168E3BC2646}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logic", "Logic\Logic.csproj", "{8A63C258-07FD-45DC-BE10-45CE00A23811}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Core\Core.csproj", "{60B3ECA7-B4E0-44D3-913D-B9C3D3B84C4A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ThirdParty", "ThirdParty\ThirdParty.csproj", "{19A11666-4891-4E73-B826-1B24D7A62080}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{A33F0C04-BD73-4479-977A-C168E3BC2646}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A33F0C04-BD73-4479-977A-C168E3BC2646}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A33F0C04-BD73-4479-977A-C168E3BC2646}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A33F0C04-BD73-4479-977A-C168E3BC2646}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8A63C258-07FD-45DC-BE10-45CE00A23811}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8A63C258-07FD-45DC-BE10-45CE00A23811}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8A63C258-07FD-45DC-BE10-45CE00A23811}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8A63C258-07FD-45DC-BE10-45CE00A23811}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{60B3ECA7-B4E0-44D3-913D-B9C3D3B84C4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{60B3ECA7-B4E0-44D3-913D-B9C3D3B84C4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{60B3ECA7-B4E0-44D3-913D-B9C3D3B84C4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{60B3ECA7-B4E0-44D3-913D-B9C3D3B84C4A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{19A11666-4891-4E73-B826-1B24D7A62080}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{19A11666-4891-4E73-B826-1B24D7A62080}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
EndGlobalSection
|
||||
EndGlobal
|
93
DotNet/ThirdParty/ThirdParty.csproj
vendored
Normal file
93
DotNet/ThirdParty/ThirdParty.csproj
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<Nullable>disable</Nullable>
|
||||
<LangVersion>11</LangVersion>
|
||||
<RootNamespace>ET</RootNamespace>
|
||||
<AssemblyName>ThirdParty</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<DefineConstants>DOTNET;UNITY_DOTSPLAYER</DefineConstants>
|
||||
<OutputPath>..\..\Bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<Optimize>true</Optimize>
|
||||
<NoWarn>0169,0649,3021,8981</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<DefineConstants>DOTNET;UNITY_DOTSPLAYER</DefineConstants>
|
||||
<OutputPath>..\..\Bin\</OutputPath>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<NoWarn>0169,0649,3021,8981</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
<Compile Include="..\..\Assets\GameScripts\ThirdParty\TrueSync\**\*.cs">
|
||||
<Link>TrueSync/%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
</Compile>
|
||||
|
||||
<!-- <Compile Include="..\..\Assets\GameScripts\ThirdParty\Kcp\**\*.cs">
|
||||
<Link>Kcp/%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
</Compile> -->
|
||||
|
||||
<Compile Include="..\..\Assets\GameScripts\ThirdParty\Recast\Recast.cs">
|
||||
<Link>Recast\Recast.cs</Link>
|
||||
</Compile>
|
||||
|
||||
<Compile Include="..\..\Library\PackageCache\com.unity.mathematics*\Unity.Mathematics\**\*.cs">
|
||||
<Link>Unity.Mathematics/$([System.String]::new(%(RecursiveDir)).Substring($([System.String]::new(%(RecursiveDir)).Indexof("Unity.Mathematics"))).Replace("Unity.Mathematics", ""))/%(FileName)%(Extension)</Link>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\..\Assets\Plugins\MacOS\x86_64\libRecastDll.dylib">
|
||||
<Link>runtimes\osx\native\libRecastDll.dylib</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="..\..\Assets\Plugins\x86_64\libRecastDll.so">
|
||||
<Link>runtimes\linux\native\libRecastDll.so</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="..\..\Assets\Plugins\x86_64\RecastDll.dll">
|
||||
<Link>runtimes\win\native\RecastDll.dll</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
||||
<Content Include="KCPLibrary\kcp.dylib">
|
||||
<Link>runtimes\osx\native\kcp.dylib</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="KCPLibrary\kcp.dll">
|
||||
<Link>runtimes\win\native\kcp.dll</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
||||
<Content Include="KCPLibrary\kcp.so">
|
||||
<Link>runtimes\linux\native\kcp.so</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CommandLineParser" Version="2.8.0" />
|
||||
<PackageReference Include="EPPlus" Version="5.8.8" />
|
||||
|
||||
<PackageReference Include="MemoryPack" Version="1.9.13" />
|
||||
<PackageReference Include="MongoDB.Driver" Version="2.17.1" />
|
||||
<PackageReference Include="NLog" Version="4.7.15" />
|
||||
<PackageReference Include="SharpZipLib" Version="1.3.3" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.0.1" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" />
|
||||
</ItemGroup>
|
||||
</Project>
|
Reference in New Issue
Block a user