-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Switch to Microsoft.DotNet.XUnitExtensions #6638
Conversation
Let's delete a bunch of code from our repo and replace it with the modern version from Arcade. We can't delete our assembly entirely because Arcade doesn't have the Fixture stuff that we depend on fairly heavily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understanding check:
We'd previously copied a lot of code from Arcade. Here, you're deleting that code and adding a reference to Arcade so don't have to carry it around and get updates for (almost) free.
If someone had built our repo just before this, then pulled in this change, did not build, went offline, and tried to build again, that would fail, correct? I don't think we should care—just trying to think of edge cases.
@@ -32,6 +32,7 @@ | |||
<!-- DotNetCliVersion MUST match the dotnet version in global.json. | |||
Otherwise, this version of dotnet will not be installed and the build will error out. --> | |||
<DotNetCliVersion>$([System.Text.RegularExpressions.Regex]::Match($([System.IO.File]::ReadAllText('$(MSBuildThisFileDirectory)..\global.json')), '"dotnet": "([^"]*)"').Groups.get_Item(1))</DotNetCliVersion> | |||
<MicrosoftDotNetXUnitExtensionsVersion>6.0.0-beta.21329.2</MicrosoftDotNetXUnitExtensionsVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this be auto-updated by darc?
Also, is there some way we can specify the version once and have it appear both here and in Version.Details.xml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this be auto-updated by darc?
Yes, I expect this to be updated by our existing arcade->msbuild darc subscription.
Also, is there some way we can specify the version once and have it appear both here and in Version.Details.xml?
I am not aware of one. Darc's design requires having it in two places updated by tooling.
Correct.
Correct (as with any package addition or version change). |
Let's delete a bunch of code from our repo and replace it with the modern version from Arcade.
We can't delete our assembly entirely because Arcade doesn't have the Fixture stuff that we depend on fairly heavily.