DotNet.Model.csproj 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net6.0</TargetFramework>
  4. <RootNamespace>ET</RootNamespace>
  5. <LangVersion>10</LangVersion>
  6. <AssemblyName>Model</AssemblyName>
  7. </PropertyGroup>
  8. <PropertyGroup>
  9. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  10. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  11. </PropertyGroup>
  12. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  13. <DefineConstants>DOTNET</DefineConstants>
  14. <OutputPath>..\..\Bin\</OutputPath>
  15. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  16. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  17. </PropertyGroup>
  18. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  19. <DefineConstants>DOTNET</DefineConstants>
  20. <OutputPath>..\..\Bin\</OutputPath>
  21. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  22. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  23. </PropertyGroup>
  24. <ItemGroup>
  25. <Compile Include="..\..\Codes\Plugins\*\Model\Server\**\*.cs">
  26. <Link>Server\Plugins\$([System.String]::new(%(RecursiveDir)).Replace('Model\Server',''))%(FileName)%(Extension)</Link>
  27. </Compile>
  28. <Compile Include="..\..\Codes\Plugins\*\Model\Client\**\*.cs">
  29. <Link>Client\Plugins\$([System.String]::new(%(RecursiveDir)).Replace('Model\Client',''))%(FileName)%(Extension)</Link>
  30. </Compile>
  31. <Compile Include="..\..\Codes\Plugins\*\Model\Share\**\*.cs">
  32. <Link>Share\Plugins\$([System.String]::new(%(RecursiveDir)).Replace('Model\Share',''))%(FileName)%(Extension)</Link>
  33. </Compile>
  34. <Compile Include="..\..\Unity\Assets\Mono\Core\**\*.cs">
  35. <Link>Core\%(RecursiveDir)%(FileName)%(Extension)</Link>
  36. </Compile>
  37. <Compile Include="..\..\Codes\Model\Server\**\*.cs">
  38. <Link>Server\%(RecursiveDir)%(FileName)%(Extension)</Link>
  39. </Compile>
  40. <Compile Include="..\..\Codes\Model\Client\**\*.cs">
  41. <Link>Client\%(RecursiveDir)%(FileName)%(Extension)</Link>
  42. </Compile>
  43. <Compile Include="..\..\Codes\Model\Share\**\*.cs">
  44. <Link>Share\%(RecursiveDir)%(FileName)%(Extension)</Link>
  45. </Compile>
  46. <Compile Include="..\..\Codes\Generate\Server\**\*.cs">
  47. <Link>Generate\%(RecursiveDir)%(FileName)%(Extension)</Link>
  48. </Compile>
  49. <Compile Update="ConfigLoader.cs">
  50. <Link>Server\Module\Config\ConfigLoader.cs</Link>
  51. </Compile>
  52. </ItemGroup>
  53. <ItemGroup>
  54. <ProjectReference Include="..\..\Codes\Analyzer\Share.Analyzer.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  55. <ProjectReference Include="..\Core\DotNet.Core.csproj" />
  56. <ProjectReference Include="..\ThirdParty\DotNet.ThirdParty.csproj" />
  57. </ItemGroup>
  58. </Project>