Skip to content

Commit 245e974

Browse files
authored
Move DotNetBuild.props logic into repo
Also remove the TargetFrameworkFilter which isn't necessary as defined centrally by Arcade with the same value.
1 parent 9878dd9 commit 245e974

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107

108108
<IncludeSymbols>true</IncludeSymbols>
109109
<DefaultNetFxTargetFramework>net462</DefaultNetFxTargetFramework>
110+
111+
<CrossgenOutput Condition="'$(DotNetBuildUseMonoRuntime)' == 'true'">false</CrossgenOutput>
110112
</PropertyGroup>
111113

112114
<!-- Warnings and errors -->

eng/DotNetBuild.props

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<PropertyGroup>
66
<GitHubRepositoryName>aspnetcore</GitHubRepositoryName>
77
<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
8-
<SourceBuildTargetFrameworkFilter>netstandard2.0%3bnetstandard2.1%3bnetcoreapp2.1%3bnetcoreapp3.1%3bnet5.0%3bnet6.0%3bnet7.0%3bnet8.0%3bnet9.0%3bnet10.0</SourceBuildTargetFrameworkFilter>
98
</PropertyGroup>
109

1110
<!--
@@ -60,14 +59,6 @@
6059
Condition="'$(OS)' == 'Windows_NT'" />
6160
</Target>
6261

63-
<Target Name="CustomizeInnerBuildArgs"
64-
BeforeTargets="GetSourceBuildCommandConfiguration">
65-
66-
<PropertyGroup>
67-
<InnerBuildArgs Condition="'$(DotNetBuildUseMonoRuntime)' == 'true'">$(InnerBuildArgs) /p:CrossgenOutput=false</InnerBuildArgs>
68-
</PropertyGroup>
69-
</Target>
70-
7162
<Target Name="GetAspnetcoreCategorizedIntermediateNupkgContents"
7263
BeforeTargets="GetCategorizedIntermediateNupkgContents">
7364
<PropertyGroup>

0 commit comments

Comments
 (0)