DotNet.Hotfix.csproj 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net8.0</TargetFramework>
  4. <RootNamespace>ET</RootNamespace>
  5. <LangVersion>12</LangVersion>
  6. <AssemblyName>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</DefineConstants>
  14. <OutputPath>..\..\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>..\..\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="..\..\Unity\Library\PackageCache\com.et.*\Scripts\Hotfix~\Share\**\*.cs">
  28. <Link>Share/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  29. </Compile>
  30. <Compile Include="..\..\Unity\Library\PackageCache\com.et.*\Scripts\Hotfix~\Client\**\*.cs">
  31. <Link>Client/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  32. </Compile>
  33. <Compile Include="..\..\Unity\Library\PackageCache\com.et.*\Scripts\Hotfix~\Server\**\*.cs">
  34. <Link>Server/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  35. </Compile>
  36. <Compile Include="..\..\Unity\Packages\com.et.*\Scripts\Hotfix~\Share\**\*.cs">
  37. <Link>Share/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  38. </Compile>
  39. <Compile Include="..\..\Unity\Packages\com.et.*\Scripts\Hotfix~\Client\**\*.cs">
  40. <Link>Client/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  41. </Compile>
  42. <Compile Include="..\..\Unity\Packages\com.et.*\Scripts\Hotfix~\Server\**\*.cs">
  43. <Link>Server/$([System.String]::new(%(RecursiveDir)).Substring(7, $([System.String]::new(%(RecursiveDir)).Indexof("Scripts"))).Replace("Scripts", ""))/%(FileName)%(Extension)</Link>
  44. </Compile>
  45. </ItemGroup>
  46. <ItemGroup>
  47. <ProjectReference Include="..\..\Share\Analyzer\Share.Analyzer.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  48. <ProjectReference Include="..\..\Share\Share.SourceGenerator\Share.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  49. <ProjectReference Include="..\Loader\DotNet.Loader.csproj" />
  50. <ProjectReference Include="..\Model\DotNet.Model.csproj" />
  51. </ItemGroup>
  52. </Project>