-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for arbitrary value in AssemblyInformationalVersionAttribute #4822
Comments
I will take care of it. |
Link #5336 |
…tionalVersionAttribute (dotnet#5336) * remove TypeChecker validation * update testcase baselines * Update fsharpqa tests * Feedback * Update nowarn test
…yInformationalVersionAttribute (dotnet#5336)" This reverts commit b5ab862.
…tionalVersionAttribute (dotnet#5336) * remove TypeChecker validation * update testcase baselines * Update fsharpqa tests * Feedback * Update nowarn test
Even though this was merged on July 18th to the master branch, the fix has not made it to a stable .NET Core SDK yet. It still fails on the most recent stable .NET Core SDK 2.1.402. Any idea when it will make it to a stable released version? I just came across this in the Giraffe build when trying to enable SourceLink there giraffe-fsharp/Giraffe#304. They have Workaround is https://github.com/giraffe-fsharp/Giraffe/blob/08bd0cbc802f1d9eeae460126ab481ac9783f9f8/src/Directory.Build.props#L7-L8 <!-- Support for arbitrary value in AssemblyInformationalVersionAttribute https://github.com/Microsoft/visualfsharp/issues/4822 -->
<NoWarn>FS2003</NoWarn> |
Cameron,
It will first appear in Dev 16 preview 1.
Kevin
|
More concretely, the .NET SDK that will be aligned with Preview 1 of VS 2019 will have this fix in it. |
The compiler reports a warning when the value of AssemblyInformationalVersionAttribute is not a valid version string.
.NET SDK 2.1.300-rc1-008673
Repro:
Set value in the project:
The C# and VB compilers accept arbitrary values.
SourceLink package adds git commit sha to the version (format above).
The text was updated successfully, but these errors were encountered: