microsoft-ui-xaml/tools/PublishPackageToArcade/PublishPackagesToArcade.csproj

23 строки
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="PublishPackagesToBlobFeed">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<ItemGroup>
<PackagesToPublish Include="packagesToPublish\*.nupkg">
<ManifestArtifactData>NonShipping=true</ManifestArtifactData>
</PackagesToPublish>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Feed" Version="3.0.0-preview1-03420-02" />
</ItemGroup>
<Import Project="packages\Microsoft.DotNet.Build.Tasks.Feed.3.0.0-preview1-03420-02\build\Microsoft.DotNet.Build.Tasks.Feed.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PublishPackagesToBlobFeed">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('packages\Microsoft.DotNet.Build.Tasks.Feed.3.0.0-preview1-03420-02\build\Microsoft.DotNet.Build.Tasks.Feed.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.DotNet.Build.Tasks.Feed.3.0.0-preview1-03420-02\build\Microsoft.DotNet.Build.Tasks.Feed.targets'))" />
</Target>
</Project>