-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Building a project between two different SDKs fails hard if you reuse nodes #2161
Comments
Elsewhere we version tasks dlls every build to avoid this. |
@nguerrera and I were just talking about this. We used to version assemblies out of the SDK for every build. It seems like we regressed with the infra-changes we did moving to repotoolset. @tannergooding can you investigate this. I will mark this for 2.1.3xx and will consider taking it to shiproom. |
Yes, this is a regression. Task dlls should get a unique assembly version with every build. |
PR is here: #2163 |
Awesome, thanks! |
I think this regressed again with a repo toolset update :( |
Ugh, how do we prevent this? |
I'll add a test that AssemblyVersion == FileVersion and neither have a fourth part of 0. I think it will only ever fail in official builds due to how we go to 42.42.42.42 otherwise in repo toolset, but that's a lot better than nothing. Interestingly, though, the reason I even checked was an issue on .net core msbuild and the conflict was between different minor versions. It appears that core might not allow different versions. I will double check and file an issue on msbuild. I think we never noticed this because core didn't have node reuse until recently. |
Steps to reproduce
Expected behavior
No errors
Actual behavior
Actual:
Environment data
dotnet --info
output:The text was updated successfully, but these errors were encountered: