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 }}
Repository navigation
Consider incrementing the assembly version for source generator with each build #58274
It appears that the version number of this assembly is locked at 6.0.0.0. This can be problematic for VBCSCompiler during reference package updates, leading to dramatic reduction in compiler throughput (for Roslyn.sln, builds are about 3x slower). The fix for this solution is ensuring the assembly version number increases with each build for analyzer and source generator packages.
@sharwell we should already have unique assembly versions for publicly shipping GA releases, including servicing. I've made ensuring this part of our servicing readiness plan: #58042.
It seems like you're suggesting that even for nightly builds we increment though. Let's consider that.
I can see an issue during previews when mixing / matching preview assets. This shouldn't be possible with ref-packs, but could be with the nuget package. For example: if someone has the Preview7 SDK installed, but then has one project where they reference the RC1 (or daily build) NuGet package: those would have the same assembly version but different content.
Activity
sharwell commentedon Aug 27, 2021
See also microsoft/vs-threading#279
ericstj commentedon Aug 27, 2021
@sharwell we should already have unique assembly versions for publicly shipping GA releases, including servicing. I've made ensuring this part of our servicing readiness plan: #58042.
It seems like you're suggesting that even for nightly builds we increment though. Let's consider that.
I can see an issue during previews when mixing / matching preview assets. This shouldn't be possible with ref-packs, but could be with the nuget package. For example: if someone has the Preview7 SDK installed, but then has one project where they reference the RC1 (or daily build) NuGet package: those would have the same assembly version but different content.
What does https://github.com/dotnet/roslyn-analyzers do? They should have a similar issue (inbox + nuget package). Maybe we can just follow their lead.
cc @eerhardt