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
@nunit/engine-team In order to make this work, I had to force use of the preview version of MsBuild even though a non-preview version was available.
As a refresher for everyone, the cake code was modified earlier this year by @manfred-brands so that a preview version was used IFF no non-preview version was installed. This doesn't work either on my machine or in any of our CI environments because both the stable and preview versions of VS 2022 are installed. (On my own machine, VS2019 is installed as well.)
Consequently, the current code will always use a preview version, if it is higher than any non-preview versions. That's OK right now with .NET 7.0.0-rc2 but isn't guaranteed to be the right choice all the time in the future. Folks could have a preview installed for some other reason and not want it to be used to build the engine.
I'm thinking that some kind of command option to the build script is needed, either to cause use of a preview or to suppress it. The default should be whichever option we think would be most common. Any thoughts on this?
Ah! I spoke too soon. That doesn't work on AppVeyor because the newer version of MSBuild is not installed with Visual Studio, but separately as part of the SDK.
However, the general question of use of preview versions still stands.
We're currently using RC 1
The text was updated successfully, but these errors were encountered: