37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<Import Project="$(RepoTasksSdkPath)\Sdk.props" Condition="'$(RepoTasksSdkPath)' != '' "/>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework Condition="'$(MSBuildRuntimeType)' == 'Core' ">netcoreapp3.0</TargetFramework>
|
|
<TargetFramework Condition="'$(MSBuildRuntimeType)' != 'Core' ">net472</TargetFramework>
|
|
<DefineConstants Condition="'$(BuildInstallers)' == 'true' AND '$(TargetOsName)' == 'win'">$(DefineConstants);BUILD_MSI_TASKS</DefineConstants>
|
|
<Optimize>false</Optimize>
|
|
<DebugType>embedded</DebugType>
|
|
<DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Remove="Internal.AspNetCore.Sdk" />
|
|
<PackageReference Include="NuGet.Build.Tasks" Version="5.1.0-rtm.5921" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
|
|
<PackageReference Include="Yarn.MSBuild" Version="1.15.2" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(BuildInstallers)' == 'true' AND '$(TargetOsName)' == 'win'">
|
|
<PackageReference Include="Wix" Version="3.11.1" />
|
|
|
|
<Reference Include="Microsoft.Deployment.WindowsInstaller">
|
|
<HintPath>$(WiXSdkPath)\Microsoft.Deployment.WindowsInstaller.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Microsoft.Deployment.WindowsInstaller.Package">
|
|
<HintPath>$(WiXSdkPath)\Microsoft.Deployment.WindowsInstaller.Package.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(RepoTasksSdkPath)\Sdk.targets" Condition="'$(RepoTasksSdkPath)' != '' "/>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Update="Newtonsoft.Json" PrivateAssets="" />
|
|
</ItemGroup>
|
|
</Project>
|