We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a48f72 commit 6af065fCopy full SHA for 6af065f
1 file changed
default.proj
@@ -57,8 +57,8 @@
57
<Exec Command="dotnet build "%(SolutionFile.FullPath)" -c $(Configuration) /p:Version=$(Version)" />
58
</Target>
59
<Target Name="Package">
60
- <MakeDir Directories="$([System.IO.Path]::Combine($(PackageDirectory),%(PublishProject.Filename)))" />
61
- <Exec Command="dotnet pack "%(SolutionFile.FullPath)" -c $(Configuration) --output "$(PackageDirectory)" /p:Version=$(Version)" />
+ <MakeDir Directories="$(PackageDirectory)" />
+ <Exec Command="dotnet pack "%(SourceProject.Identity)" -c $(Configuration) --no-build --output "$(PackageDirectory)" /p:Version=$(Version)" />
62
63
<Target Name="Test">
64
<MakeDir Directories="$(LogDirectory)" />
0 commit comments