Skip to content

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

Merged
merged 16 commits into from
Apr 18, 2025
Merged

Clean-up VMR repo projects #48436

merged 16 commits into from
Apr 18, 2025

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Apr 14, 2025

Contributes to dotnet/source-build#3539

  • Remove -warnaserror=false in projects that don't require the switch anymore
  • Remove LogVerbosityOptOut
  • Remove unnecessary version flow in arcade.proj
  • Remove unnecessary PublishWindowsPdb switch in roslyn which is already the default

Keep the warnAsError setting in msbuild and wpf for now. For the msbuild one, I submitted dotnet/msbuild#11740

- 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
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Apr 14, 2025
ViktorHofer added a commit to dotnet/msbuild that referenced this pull request Apr 14, 2025
Observed in dotnet/sdk#48436

Fixes IDE0040, IDE0350, IDE0052 and IDE0051
@ViktorHofer ViktorHofer marked this pull request as ready for review April 16, 2025 06:20
@Copilot Copilot AI review requested due to automatic review settings April 16, 2025 06:20
@ViktorHofer ViktorHofer requested review from a team as code owners April 16, 2025 06:20
Copy link
Contributor

@Copilot Copilot AI left a 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

@ViktorHofer ViktorHofer marked this pull request as draft April 16, 2025 06:21
@ViktorHofer ViktorHofer marked this pull request as ready for review April 18, 2025 14:39
<LogVerbosityOptOut>true</LogVerbosityOptOut>

<BuildArgs>$(BuildArgs) $(FlagParameterPrefix)warnAsError $(ArcadeFalseBoolBuildArg)</BuildArgs>
<!-- When building source only, dependencies get updated which trigger new nullability warnings. -->
Copy link
Member

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

Copy link
Member Author

@ViktorHofer ViktorHofer Apr 18, 2025

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
Copy link
Member

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?

Copy link
Member Author

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.

@ViktorHofer ViktorHofer merged commit 7532b5d into main Apr 18, 2025
39 checks passed
@ViktorHofer ViktorHofer deleted the SimplifyVMRProjs branch April 18, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants