Skip to content

Commit b0ca852

Browse files
authored
Make location of PackagePublisher available as an MSbuild property (#239)
1 parent df0a56e commit b0ca852

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/PackagePublisher/PackagePublisher.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<Import Project="..\..\build\common.props" />
3-
3+
44
<PropertyGroup>
55
<Description>Publishes packages to a feed, with retries.</Description>
66
<DebugType>portable</DebugType>
77
<OutputType>exe</OutputType>
88
<TargetFramework>netcoreapp1.0</TargetFramework>
99
<VersionPrefix>1.0.2</VersionPrefix>
1010
</PropertyGroup>
11-
11+
12+
<ItemGroup>
13+
<Content Include="build\*.props" CopyToPublishDirectory="Always" />
14+
</ItemGroup>
15+
1216
<ItemGroup>
1317
<PackageReference Include="Microsoft.Extensions.CommandLineUtils.Sources" Version="$(CommandLineUtilsVersion)" PrivateAssets="All" />
1418
<PackageReference Include="NuGet.Packaging" Version="$(NuGetPackagesVersion)" />
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project>
2+
<PropertyGroup>
3+
<PackagePublisherNetCoreApp>$(MSBuildThisFileDirectory)..\PackagePublisher.dll</PackagePublisherNetCoreApp>
4+
</PropertyGroup>
5+
</Project>

0 commit comments

Comments
 (0)