-
Notifications
You must be signed in to change notification settings - Fork 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
Compile successfully - without IDE0055 - from a fresh checkout #31993
Compile successfully - without IDE0055 - from a fresh checkout #31993
Conversation
Tagging @sharwell |
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.
LGTM Thanks (iteration 1)
I think that the real fix should be to make sure the formatting warnings are not treated as errors in Roslyn regardless of build environment. |
That was not the intent. Having it be an error in VS means that spaces, and other formatting errors, prevent F5. That was a scenario we specifically wanted to keep working. On my box this is how it functions (it is a warning for F5). |
@jaredpar it works correctly in the IDE, but Build.cmd reports the error. You can see it like this:
|
This effectively prevents developers from running tests locally through the Build.cmd. For example, I see the build broken due to the warnings in some generated VB files:
There are many errors like this. |
@AlekseyTs that's a different issue: #31799 |
@sharwell I think the point that I am trying to make is that IDE0055 should never break Roslyn build, even when they are reported. Changing the code to make sure those warning are fixed is orthogonal. Developer should not be forced to fix them in order to make progress or be able to use Build.cmd. |
Therefore, I think this PR doesn't fix the problem with Build.cmd. |
IMO this PR should be completed, and build.cmd should be fixed to allow these to be warnings rather than errors, since it's the only build environment in which they are errors. |
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.
LGTM (iteration 1)
CC @jaredpar For approval |
When I run
Restore.cmd
and thenBuild.cmd
in a fresh clone I get the following formatting errors (all IDE0055):This PR correct all the errors.