-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Clean-up VMR repo projects #48436
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
Clean-up VMR repo projects #48436
Conversation
- Remove -warnaserror=false when not necessary anymore - Remove LogVerbosityOptOut - Remove the PublishWindowsPdb switch which got removed in arcade - Remove unnecessary version flow in arcade.proj
Observed in dotnet/sdk#48436 Fixes IDE0040, IDE0350, IDE0052 and IDE0051
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.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (17)
- src/SourceBuild/content/repo-projects/Directory.Build.targets: Language not supported
- src/SourceBuild/content/repo-projects/arcade.proj: Language not supported
- src/SourceBuild/content/repo-projects/aspnetcore.proj: Language not supported
- src/SourceBuild/content/repo-projects/command-line-api.proj: Language not supported
- src/SourceBuild/content/repo-projects/deployment-tools.proj: Language not supported
- src/SourceBuild/content/repo-projects/fsharp.proj: Language not supported
- src/SourceBuild/content/repo-projects/msbuild.proj: Language not supported
- src/SourceBuild/content/repo-projects/roslyn-analyzers.proj: Language not supported
- src/SourceBuild/content/repo-projects/roslyn.proj: Language not supported
- src/SourceBuild/content/repo-projects/runtime.proj: Language not supported
- src/SourceBuild/content/repo-projects/sdk.proj: Language not supported
- src/SourceBuild/content/repo-projects/sourcelink.proj: Language not supported
- src/SourceBuild/content/repo-projects/templating.proj: Language not supported
- src/SourceBuild/content/repo-projects/windowsdesktop.proj: Language not supported
- src/SourceBuild/content/repo-projects/winforms.proj: Language not supported
- src/SourceBuild/content/repo-projects/wpf.proj: Language not supported
- src/SourceBuild/content/repo-projects/xdt.proj: Language not supported
<LogVerbosityOptOut>true</LogVerbosityOptOut> | ||
|
||
<BuildArgs>$(BuildArgs) $(FlagParameterPrefix)warnAsError $(ArcadeFalseBoolBuildArg)</BuildArgs> | ||
<!-- When building source only, dependencies get updated which trigger new nullability warnings. --> |
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.
do we have a tracking issue for that? since eventually we'll see it in the VMR build too
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.
The remaining roslyn-analyzers component (NetAnalyzers) will be moved into sdk soon (ETA: May-June). The warnings will then show up as part of the move and naturally resolved.
|
||
<!-- | ||
Setting NETCoreAppMaximumVersion to a high version so that the sdk doesn't complain if we're restoring/publishing for a higher version than the sdk. | ||
See https://github.com/dotnet/sdk/issues/1512#issuecomment-377082883 |
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.
why do we no longer need this?
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.
We will rev to the next major version differently with the VMR for .NET 11. At that point I expect that we will globally flow a set of properties in to the inner repos which will allow to target the next major version. The property is currently not needed as maximum version is 10.
Contributes to dotnet/source-build#3539
Keep the warnAsError setting in msbuild and wpf for now. For the msbuild one, I submitted dotnet/msbuild#11740