-
Notifications
You must be signed in to change notification settings - Fork 361
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
Update Microsoft.NET.Test.Sdk to latest #5291
Comments
@RussKie I don't think it's set to this version for any particular reason, and will look at updating it. Is there a feature you need in the later versions? |
I should have linked the original issue that prompted this - dotnet/winforms#2926 |
I've updated the default version as mentioned. I see that winforms has also specified a version, so hopefully you're unblocked. Let me know if anything looks amiss. |
Reopening as this change was rejected by a test in the validation build. We'll have to investigate what exactly broke and reevaluate updating this default. It may be noisier than we anticipated. See also #5673. |
I tried to find where it fails, but only found this message that would normally be a warning: "The assembly 'content\testhost.dll' is not inside the 'lib' folder and hence it won't be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced." If there are some other problems, feel free to mention me, or file an issue on vstest an I will have a look. |
My approach for this is going to be:
Once we understand any other breaking changes that are revealed from this exercise, we can give some guidance on any steps that repos will need to perform once the version change makes it to them. |
The only problem is the warning. Supressing it fixes arcade-validation's build. I haven't found any other problems with updating the version. Will start running the change against other repos today: This change has the potential to be disruptive, and will fail the build whenever the following conditions are met:
The only workarounds are to either make the test project not produce a package, or to supress the NU5100 warning. |
These builds should reveal whether there are any problems in the big repos. If there aren't I think we can just get away with making the change in Arcade and then letting repos know of the two workarounds for when this warning is shown. |
Some failures in the aspnetcore build. Looking into them. |
All the builds were able to build and package correctly after some retrying due to agent disconnections. I'm pretty comfortable that updating the version won't be a problem in these big repos, and that we can get away with just letting users know how to fix the issue if there are any failures. |
PRs are open:
|
This has gone out with the latest arcade promotion. |
The current shipped version of Microsoft.NET.Test.Sdk is 16.1.1 which is almost a year old (5/30/2019).
Is there a reason not to update to a later version? The current stable is 16.5.0, 16.6 is in beta.
I know I can request a specific version through
Versions.props
in our repo, just curious why is that we are still using an old package...The text was updated successfully, but these errors were encountered: