CS7034 and CS7035 lead to 404 page.
Describe the issue or suggestion
CS7035 "Specified version does not conform to the recommended format"
Visual studio points to https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS7034) and then this link redirects to a 404 page: https://learn.microsoft.com/en-us/dotnet/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error?f1url=%3FappId%3Droslyn%26k%3Dk(CS7034)
Is it possible to add documentation page for this error as well?
Hello @ALiwoto! Yes, these errors are not yet documented. If you can provide me with the full repro for this error (code, setup maybe) then I will be glad to create that page. CC: @BillWagner hoping for you to assign me to this issue.
@BartoszKlonowski
hoping for you to assign me to this issue.
Done. Thanks again.
Hey @ALiwoto! Kind reminder from my side hoping you can provide me with a repro for these errors, so I can proceed with this issue. 🙏
Hi @BartoszKlonowski In a .NET Framework project, find the AssemblyInfo.cs file (it's also possible to add it yourself in a .NET project, but you will have to set the auto generate property to false, so you don't get duplicate attribute error), and modify these attributes:
// CS7034: The specified version string does not conform to the required format - major[.minor[.build[.revision]]]]
[assembly: AssemblyVersion("2.0.1-preview6")]
// CS7035: Specified version does not conform to the recommended format
[assembly: AssemblyFileVersion("4.3.201702.80525")]