-
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
Workaround O# path bug #16434
Workaround O# path bug #16434
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
06dbc91
to
1d373dc
Compare
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.
Looks good.
Did a spot check on the test failures. The ones I checked were all flakes and not related to the change. 😞
1d373dc
to
46db82c
Compare
Workaround for dotnet/aspnetcore#30750
46db82c
to
4f862db
Compare
@@ -74,15 +74,18 @@ public void Build_ErrorInGeneratedCode_ReportsMSBuildError() | |||
var projectDirectory = CreateAspNetSdkTestAsset(testAsset); | |||
|
|||
var filePath = Path.Combine(projectDirectory.Path, "Views", "Home", "Index.cshtml"); |
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.
I wonder if we should just make this a relative path and check for the existence of that instead of having the conditional check.
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.
I was hoping we would undo this PR after we get o# to fix their bug. But using a relative path seems like a good long term fix
Workaround for dotnet/aspnetcore#30750