DotNet.Core.csproj 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net8.0</TargetFramework>
  4. <ImplicitUsings>enable</ImplicitUsings>
  5. <Nullable>disable</Nullable>
  6. <AssemblyName>Core</AssemblyName>
  7. <RootNamespace>ET</RootNamespace>
  8. <LangVersion>12</LangVersion>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  12. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  13. </PropertyGroup>
  14. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  15. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  16. <DefineConstants>DOTNET;UNITY_DOTSPLAYER</DefineConstants>
  17. <OutputPath>..\..\Bin\</OutputPath>
  18. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  19. <Optimize>false</Optimize>
  20. <NoWarn>0169,0649,3021,8981,CS9193,CS9192,NU1903</NoWarn>
  21. </PropertyGroup>
  22. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  23. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  24. <DefineConstants>DOTNET;UNITY_DOTSPLAYER</DefineConstants>
  25. <OutputPath>..\..\Bin\</OutputPath>
  26. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  27. <NoWarn>0169,0649,3021,8981,CS9193,CS9192,NU1903</NoWarn>
  28. </PropertyGroup>
  29. <ItemGroup>
  30. <Compile Include="..\..\Unity\Packages\com.et.core\Scripts\Core\**\*.cs">
  31. <Link>Core\%(RecursiveDir)%(FileName)%(Extension)</Link>
  32. </Compile>
  33. </ItemGroup>
  34. <ItemGroup>
  35. <ProjectReference Include="..\..\Share\Analyzer\Share.Analyzer.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  36. <ProjectReference Include="..\..\Share\Share.SourceGenerator\Share.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  37. <ProjectReference Include="..\ThirdParty\DotNet.ThirdParty.csproj" />
  38. </ItemGroup>
  39. </Project>