RepoTasks.csproj 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>$(DefaultNetCoreTargetFramework)</TargetFrameworks>
  4. <TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks>
  5. <DefineConstants Condition="'$(TargetFramework)' == 'net472'">$(DefineConstants);BUILD_MSI_TASKS</DefineConstants>
  6. <Optimize>false</Optimize>
  7. <DebugType>embedded</DebugType>
  8. <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
  9. <!-- Need to build this project in source build -->
  10. <ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
  11. <!-- Temporarily target the previous runtime until https://github.com/dotnet/sdk/pull/14574 is merged. -->
  12. <TargetLatestDotNetRuntime>false</TargetLatestDotNetRuntime>
  13. <!-- No need to track public APIs of these MSBuild tasks. -->
  14. <AddPublicApiAnalyzers>false</AddPublicApiAnalyzers>
  15. </PropertyGroup>
  16. <ItemGroup>
  17. <PackageReference Include="NuGet.Packaging" Version="$(NuGetPackagingVersion)" />
  18. <PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
  19. </ItemGroup>
  20. <ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
  21. <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" />
  22. <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTaskCoreVersion)" />
  23. <PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" />
  24. </ItemGroup>
  25. <ItemGroup Condition="'$(TargetFramework)' == 'net472'">
  26. <PackageReference Include="Wix" Version="3.11.1" />
  27. <PackageReference Include="System.Net.Http" Version="4.3.4" />
  28. <Reference Include="Microsoft.Build" />
  29. <Reference Include="Microsoft.Build.Framework" />
  30. <Reference Include="Microsoft.Build.Tasks.v4.0" />
  31. <Reference Include="Microsoft.Build.Utilities.v4.0" />
  32. <Reference Include="Microsoft.Deployment.WindowsInstaller">
  33. <HintPath>$(WiXSdkPath)\Microsoft.Deployment.WindowsInstaller.dll</HintPath>
  34. </Reference>
  35. <Reference Include="Microsoft.Deployment.WindowsInstaller.Package">
  36. <HintPath>$(WiXSdkPath)\Microsoft.Deployment.WindowsInstaller.Package.dll</HintPath>
  37. </Reference>
  38. </ItemGroup>
  39. </Project>