Closed msawczyn closed 4 years ago
Hi,
I beleive you have to use it like
-p|--property Optional. Pass any additional MSBuild properties to 'dotnet publish' command.Example: -p:Version=2.0.1
a different approach would be add a publish profile and than build-publish
I had initially thought so, but see that in Program.cs:44 it's a top-level option. This makes me wonder if the 1.1.0 release was built from the current source, since 1.1.0 seems to be unaware of that option.
-p TargetFramework=netcoreapp3.1
does the trick.
I see that PR #39 was merged in back in October, 2019, but the published v1.1.0 doesn't seem to have that option available. Am I missing something?