You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2022. It is now read-only.
.NET Core projects (.csproj) in Visual Studio 2017 (15.3) define the assembly and NuGet package version inside the .csproj file instead of a separate .cs file with assembly attributes. NetRevisionTool should detect these situations and patch the project file instead (hopefully that works because the tool will be called from build events defined in the same file). This includes the NuGet package version.
"1.3-rc" is the assembly informational version (string)
The version properties can be added at the end of the .csproj file in a separate unconditional <PropertyGroup> and override whatever was defined in the project before (if anything).
The version format string can be defined in a custom XML element like <VersionFormat>. So the format is no longer defined and resolved in place but rather read from a separate location and added as new the version elements.
The text was updated successfully, but these errors were encountered:
The revision number format would be defined in an MSBuild variable and could be customised for arbitrary conditions. The final version number/string would be provided in an MSBuild variable.
That would make a new major version 3.0 which probably drops support for AssemblyInfo files and can only be used for the new MSBuild projects.
.NET Core projects (.csproj) in Visual Studio 2017 (15.3) define the assembly and NuGet package version inside the .csproj file instead of a separate .cs file with assembly attributes. NetRevisionTool should detect these situations and patch the project file instead (hopefully that works because the tool will be called from build events defined in the same file). This includes the NuGet package version.
Example project file:
The version properties can be added at the end of the .csproj file in a separate unconditional
<PropertyGroup>
and override whatever was defined in the project before (if anything).The version format string can be defined in a custom XML element like
<VersionFormat>
. So the format is no longer defined and resolved in place but rather read from a separate location and added as new the version elements.The text was updated successfully, but these errors were encountered: