Improvements for Flax.Build setup

This commit is contained in:
Wojciech Figat
2022-12-16 15:18:45 +01:00
parent d7fc221a6b
commit ff1ccdb7ee
3 changed files with 24 additions and 16 deletions

View File

@@ -3,35 +3,31 @@
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<Nullable>annotations</Nullable>
<Configurations>Debug;Release</Configurations>
<BaseOutputPath>..\..\..\Binaries\Tools</BaseOutputPath>
<OutDir>..\..\..\Binaries\Tools</OutDir>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
<DefineConstants>USE_NETCORE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<ErrorReport>none</ErrorReport>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>1701;1702;8981</NoWarn>
</PropertyGroup>
<ItemGroup>
<Folder Include="Properties"/>
<Folder Include="Properties" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DotNetZip" Version="1.16"/>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3"/>
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Version="3.2"/>
<PackageReference Include="Microsoft.Windows.Compatibility" Version="6.0"/>
<PackageReference Include="Mono.Cecil" Version="0.11.4"/>
<PackageReference Include="Newtonsoft.Json" Version="13.0"/>
<PackageReference Include="System.CodeDom" Version="6.0"/>
<PackageReference Include="DotNetZip" Version="1.16" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3" />
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Version="3.2" />
<PackageReference Include="Microsoft.Windows.Compatibility" Version="6.0" />
<PackageReference Include="Mono.Cecil" Version="0.11.4" />
<PackageReference Include="Newtonsoft.Json" Version="13.0" />
<PackageReference Include="System.CodeDom" Version="6.0" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,6 @@
{
"sdk": {
"version": "7.0.0",
"rollForward": "latestMinor"
}
}

6
global.json Normal file
View File

@@ -0,0 +1,6 @@
{
"sdk": {
"version": "7.0.0",
"rollForward": "latestMinor"
}
}