31 lines
1.5 KiB
XML
31 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<Import Project="$(RepoTasksSdkPath)\Sdk.props" Condition="'$(RepoTasksSdkPath)' != '' "/>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework Condition="'$(MSBuildRuntimeType)' == 'Core' ">netcoreapp2.2</TargetFramework>
|
|
<TargetFramework Condition="'$(MSBuildRuntimeType)' != 'Core' ">net461</TargetFramework>
|
|
<DefineConstants Condition="'$(BuildWindowsInstallers)' == 'true'">$(DefineConstants);BUILD_MSI_TASKS</DefineConstants>
|
|
<DefineConstants Condition="'$(PublishToAzureFeed)' == 'true'">$(DefineConstants);BUILD_AZ_TASKS</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Remove="Internal.AspNetCore.Sdk" />
|
|
<PackageReference Include="NuGet.Build.Tasks" Version="4.9.1" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
|
|
<PackageReference Include="WindowsAzure.Storage" Version="8.7.0" Condition="'$(PublishToAzureFeed)' == 'true'" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(BuildWindowsInstallers)' == 'true'">
|
|
<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)' != '' "/>
|
|
</Project>
|