ET.Hotfix.csproj 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net8.0</TargetFramework>
  4. <RootNamespace>ET</RootNamespace>
  5. <LangVersion>12</LangVersion>
  6. <AssemblyName>ET.Hotfix</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;UNITY_WEBGL;</DefineConstants>
  14. <OutputPath>$(SolutionDir)Bin</OutputPath>
  15. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  16. <NoWarn>0169,0649,3021,8981,CS9193,CS9192</NoWarn>
  17. </PropertyGroup>
  18. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  19. <DefineConstants>DOTNET;</DefineConstants>
  20. <OutputPath>$(SolutionDir)Bin</OutputPath>
  21. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  22. <Optimize>false</Optimize>
  23. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  24. <NoWarn>0169,0649,3021,8981,CS9193,CS9192</NoWarn>
  25. </PropertyGroup>
  26. <ItemGroup>
  27. <Compile Include="$(SolutionDir)Packages\cn.etetet.*\Scripts\Hotfix\Share\**\*.cs">
  28. <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
  29. </Compile>
  30. <Compile Include="$(SolutionDir)Packages\cn.etetet.*\Scripts\Hotfix\Server\**\*.cs">
  31. <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
  32. </Compile>
  33. <Compile Include="$(SolutionDir)Packages\cn.etetet.*\Scripts\Hotfix\Client\**\*.cs">
  34. <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
  35. </Compile>
  36. <Compile Include="$(SolutionDir)Packages\cn.etetet.*\CodeMode\Hotfix\Server\**\*.cs">
  37. <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
  38. </Compile>
  39. </ItemGroup>
  40. <ItemGroup>
  41. <ProjectReference Include="$(SolutionDir)Packages\cn.etetet.sourcegenerator\DotNet~\ET.SourceGenerator\ET.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  42. <ProjectReference Include="..\Model\ET.Model.csproj" />
  43. </ItemGroup>
  44. <!-- sourcegenerator use -->
  45. <ItemGroup>
  46. <CompilerVisibleProperty Include="DotNetAssembly" />
  47. </ItemGroup>
  48. </Project>