Support5.8 (#12)
* Change TargetFramework to net8.0 with inheritance Updated TargetFramework to inherit from UnrealEngine.csproj.props with a fallback for engines that don't define it. Also removed the explicit Microsoft.CSharp PackageReference: newer frameworks include it by default and the explicit reference triggers NU1510, which TreatWarningsAsErrors turns into an error. * net10.0 --------- Co-authored-by: kane <202593226@qq.com>
This commit is contained in:
1 parent
0f2fd1382f
commit
0c19c5e97e
1 file changed
+1
-4
@@ -2,7 +2,7 @@
|
||||
<Import Project="SourceCodeGenerator.ubtplugin.csproj.props" Condition="Exists('SourceCodeGenerator.ubtplugin.csproj.props')" />
|
||||
<Import Project="$(EngineDir)\Source\Programs\Shared\UnrealEngine.csproj.props" />
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Development</Configuration>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
@@ -29,9 +29,6 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="EpicGames.Build">
|
||||
<HintPath>$(EngineDir)\Binaries\DotNET\UnrealBuildTool\EpicGames.Build.dll</HintPath>
|
||||
|
||||
Reference in new issue
Block a user