Skip to content

Commit 6b96f5b

Browse files
authored
Adding the proj file for publishing the nuget packages to dotnet net feed. (#2198)
1 parent 33a2be6 commit 6b96f5b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/package/publish/build.proj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net461</TargetFramework>
4+
</PropertyGroup>
5+
6+
<ItemGroup>
7+
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Feed" Version="2.1.0-preview2-02522-03" />
8+
<ToPublish Include="$(PackagePublishGlob)" />
9+
</ItemGroup>
10+
11+
<Target Name="PublishToCentralBlobFeed">
12+
<PushToBlobFeed
13+
ExpectedFeedUrl="$(CentralBlobFeedUrl)"
14+
AccountKey="$(AccountKey)"
15+
ItemsToPush="@(ToPublish)"
16+
PassIfExistingItemIdentical="$(PassIfExistingItemIdentical)"
17+
Overwrite="$(OverwriteCentralBlobFeed)" />
18+
</Target>
19+
</Project>

0 commit comments

Comments
 (0)