You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Added a set of netcore csprojs to BuildUtilities and DotnetUtilities that build to a seperate output folder. This allows other tools to still target .net framework (like UAT for instance). UBT is still by default targeted as .net framework. Note that UBT built for net core has a different output directory Engine/Binaries/DotNet/UnrealBuildTool/UnrealBuildTool.exe - this is due to how a netcore project output looks with signficantly more files that are related to that application (that would be overwritten if using a shared directory). To opt in to this set UE_USE_DOTNET=1 environment variable. Please note that due to the changed output directory a lot of tooling will likely break at this point. #rb ben.marsh [CL 14419918 by Joakim Lindqvist in ue5-main branch]
59 lines
2.5 KiB
XML
59 lines
2.5 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<!-- Set a custom temp directory so we can live side by side with the .net framework output -->
|
|
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj-core\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
|
|
<BaseOutputPath>$(MSBuildThisFileDirectory)bin-core\$(MSBuildProjectName)\</BaseOutputPath>
|
|
</PropertyGroup>
|
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
|
<PropertyGroup>
|
|
<!--<TargetFrameworks>net472;netstandard2.0</TargetFrameworks>-->
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Development</Configuration>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>Tools.DotNETCommon</RootNamespace>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<UpgradeBackupLocation>
|
|
</UpgradeBackupLocation>
|
|
<OldToolsVersion>2.0</OldToolsVersion>
|
|
<Configurations>Debug;Release;Development</Configurations>
|
|
</PropertyGroup>
|
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
|
<!-- We do not output these binaries to Binaries as it targets multiple frameworks. They would have overloaded names for each framework, let the application copy it to its output directory instead -->
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DocumentationFile>
|
|
</DocumentationFile>
|
|
<OutputPath></OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Development|AnyCPU'">
|
|
<DocumentationFile>
|
|
</DocumentationFile>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
|
<DocumentationFile>
|
|
</DocumentationFile>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="obj\**" />
|
|
<EmbeddedResource Remove="obj\**" />
|
|
<None Remove="obj\**" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\MetaData.cs">
|
|
<Link>Properties\MetaData.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
|
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
|
|
<PackageReference Include="System.Net.Http" Version="4.3.4" />
|
|
<!-- For FastJson-->
|
|
<PackageReference Include="System.Reflection.Emit.Lightweight">
|
|
<Version>4.3.0</Version>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
</Project> |