| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFrameworks>$(DefaultNetCoreTargetFramework)</TargetFrameworks>
- <TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks>
- <DefineConstants Condition="'$(TargetFramework)' == 'net472'">$(DefineConstants);BUILD_MSI_TASKS</DefineConstants>
- <Optimize>false</Optimize>
- <DebugType>embedded</DebugType>
- <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
- <!-- Need to build this project in source build -->
- <ExcludeFromSourceOnlyBuild>false</ExcludeFromSourceOnlyBuild>
- <!-- Temporarily target the previous runtime until https://github.com/dotnet/sdk/pull/14574 is merged. -->
- <TargetLatestDotNetRuntime>false</TargetLatestDotNetRuntime>
- <!-- No need to track public APIs of these MSBuild tasks. -->
- <AddPublicApiAnalyzers>false</AddPublicApiAnalyzers>
- </PropertyGroup>
- <ItemGroup>
- <!-- Explicitly reference the desired version of Newtonsoft.Json to avoid getting an older version
- from the dependency on NuGet.Packaging which would cause a source-built prebuilt. -->
- <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
- <PackageReference Include="NuGet.Packaging" Version="$(NuGetPackagingVersion)" />
- <PackageReference Include="Microsoft.Extensions.DependencyModel" Version="$(MicrosoftExtensionsDependencyModelVersion)" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
- <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" />
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
- <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" />
- <!-- Manually updated version from 6.0.0 to address CVE-2023-29331 -->
- <PackageReference Include="System.Security.Cryptography.Xml" Version="$(RepoTasksSystemSecurityCryptographyXmlVersion)" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net472'">
- <PackageReference Include="Microsoft.IO.Redist" Version="$(MicrosoftIoRedistVersion)" />
- <PackageReference Include="Microsoft.Signed.Wix" Version="$(MicrosoftSignedWixVersion)" />
- <PackageReference Include="System.Net.Http" Version="4.3.4" />
- <Reference Include="Microsoft.Build" />
- <Reference Include="Microsoft.Build.Framework" />
- <Reference Include="Microsoft.Build.Tasks.v4.0" />
- <Reference Include="Microsoft.Build.Utilities.v4.0" />
- <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>
- </Project>
|