DotNet.Model.csproj 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net8.0</TargetFramework>
  4. <RootNamespace>ET</RootNamespace>
  5. <LangVersion>12</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. <Optimize>false</Optimize>
  18. <NoWarn>0169,0649,3021,8981,CS9193,CS9192</NoWarn>
  19. </PropertyGroup>
  20. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  21. <DefineConstants>DOTNET</DefineConstants>
  22. <OutputPath>..\..\Bin\</OutputPath>
  23. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  24. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  25. <Optimize>true</Optimize>
  26. <NoWarn>0169,0649,3021,8981,CS9193,CS9192</NoWarn>
  27. </PropertyGroup>
  28. <ItemGroup>
  29. <Compile Include="..\..\Unity\Library\PackageCache\com.et.*\Scripts\Model~\Share\**\*.cs">
  30. <Link>Share/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  31. </Compile>
  32. <Compile Include="..\..\Unity\Library\PackageCache\com.et.*\Scripts\Model~\Client\**\*.cs">
  33. <Link>Client/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  34. </Compile>
  35. <Compile Include="..\..\Unity\Library\PackageCache\com.et.*\Scripts\Model~\Server\**\*.cs">
  36. <Link>Server/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  37. </Compile>
  38. <Compile Include="..\..\Unity\Packages\com.et.*\Scripts\Model~\Share\**\*.cs">
  39. <Link>Share/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  40. </Compile>
  41. <Compile Include="..\..\Unity\Packages\com.et.*\Scripts\Model~\Client\**\*.cs">
  42. <Link>Client/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  43. </Compile>
  44. <Compile Include="..\..\Unity\Packages\com.et.*\Scripts\Model~\Server\**\*.cs">
  45. <Link>Server/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  46. </Compile>
  47. <Compile Include="..\..\Unity\Packages\com.et.*\Scripts\CodeMode~\Server\**\*.cs"><Link>CodeMode/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link></Compile>
  48. <Compile Include="..\..\Generate\Server\**\*.cs"><Link>Generate\%(RecursiveDir)%(FileName)%(Extension)</Link></Compile>
  49. </ItemGroup>
  50. <ItemGroup>
  51. <ProjectReference Include="..\..\Share\Analyzer\Share.Analyzer.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  52. <ProjectReference Include="..\..\Share\Share.SourceGenerator\Share.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  53. <ProjectReference Include="..\Core\DotNet.Core.csproj" />
  54. </ItemGroup>
  55. </Project>