Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Move DotNetBuild.props logic into repo #61485

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 3 commits into from
Apr 14, 2025

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Apr 14, 2025

  • Remove the TargetFrameworkFilter which isn't necessary as defined centrally by Arcade with the same value.
  • Remove the npm target which never runs in source-build:
    <BuildNodeJS Condition="'$(DotNetBuildSourceOnly)' == 'true'">false</BuildNodeJS>
  • Move the CrossgenOutput property condition into the repo.

Also remove the TargetFrameworkFilter which isn't necessary as defined centrally by Arcade with the same value.
@ViktorHofer ViktorHofer requested review from wtgodbe and a team as code owners April 14, 2025 08:27
@ghost ghost added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 14, 2025
@ViktorHofer ViktorHofer enabled auto-merge (squash) April 14, 2025 15:30
@@ -5,7 +5,6 @@
<PropertyGroup>
<GitHubRepositoryName>aspnetcore</GitHubRepositoryName>
<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
<SourceBuildTargetFrameworkFilter>netstandard2.0%3bnetstandard2.1%3bnetcoreapp2.1%3bnetcoreapp3.1%3bnet5.0%3bnet6.0%3bnet7.0%3bnet8.0%3bnet9.0%3bnet10.0</SourceBuildTargetFrameworkFilter>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember needing to set this when we updated the TFM to net10.0 to work around it being missing in Arcade or some such - is that workaround no longer needed?

Copy link
Member Author

@ViktorHofer ViktorHofer Apr 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can drive this centrally from the Arcade/VMR this time when we move to net11.0. It's currently not needed.

@ViktorHofer ViktorHofer merged commit a7a1857 into main Apr 14, 2025
27 checks passed
@ViktorHofer ViktorHofer deleted the AspNetCoreMoveDotNetInfraIntoRepo branch April 14, 2025 18:57
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview4 milestone Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants