DotNet.Core.csproj 1.8 KB

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