Can't set the PackageVersion via target #14380
Unanswered
SongOfYouth
asked this question in
Q&A
Replies: 1 comment
-
Thanks for the report. This is a behavior is expected and out of the control from Uno Platform, and comes from the .NET SDK. It is very likely that the You can analyze what's happening in msbuild using the binlog viewer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Current behavior
When i set the package version of uno project vith
<PackageVersion>0.1.0</PackageVersion>
via a target which beforeBuild
target, it doesn't work, but other properties work such asFileVersion
andAssemblyVersion
.Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
Add this target to your csproject:
Works on UWP/WinUI
No
Environment
No response
NuGet package version(s)
Affected platforms
No response
IDE
Visual Studio 2022
IDE version
17.6.6
Relevant plugins
No response
Anything else we need to know?
it only works by adding the
<PackageVersion>0.1.0</PackageVersion>
property intoPropertyGroup
which in the project root nodeBeta Was this translation helpful? Give feedback.
All reactions