Merge pull request #11 from KaneWL/5.5

Inherit TargetFramework from engine props and drop explicit Microsoft.CSharp reference
pull/12/head
crazytuzi 2 weeks ago committed by GitHub
commit 84827b679f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      SourceCodeGenerator.ubtplugin.csproj

@ -2,7 +2,8 @@
<Import Project="SourceCodeGenerator.ubtplugin.csproj.props" Condition="Exists('SourceCodeGenerator.ubtplugin.csproj.props')" /> <Import Project="SourceCodeGenerator.ubtplugin.csproj.props" Condition="Exists('SourceCodeGenerator.ubtplugin.csproj.props')" />
<Import Project="$(EngineDir)\Source\Programs\Shared\UnrealEngine.csproj.props" /> <Import Project="$(EngineDir)\Source\Programs\Shared\UnrealEngine.csproj.props" />
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <!-- Inherit TargetFramework from the engine's UnrealEngine.csproj.props; fallback only for engines that don't define it -->
<TargetFramework Condition="'$(TargetFramework)' == ''">net8.0</TargetFramework>
<Configuration Condition=" '$(Configuration)' == '' ">Development</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Development</Configuration>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
@ -29,9 +30,6 @@
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType> <DebugType>full</DebugType>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="EpicGames.Build"> <Reference Include="EpicGames.Build">
<HintPath>$(EngineDir)\Binaries\DotNET\UnrealBuildTool\EpicGames.Build.dll</HintPath> <HintPath>$(EngineDir)\Binaries\DotNET\UnrealBuildTool\EpicGames.Build.dll</HintPath>

Loading…
Cancel
Save