Skip to content

Commit 054f353

Browse files
author
John Luo
committed
Cleanup and revert some unneeded fixes
1 parent 9783b9e commit 054f353

File tree

6 files changed

+7
-10
lines changed

6 files changed

+7
-10
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ parameters:
5858
installTar: true
5959
installNodeJs: true
6060
installJdk: true
61-
timeoutInMinutes: 300
61+
timeoutInMinutes: 180
6262

6363
# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
6464
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build

eng/targets/ReferenceAssembly.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<PropertyGroup>
6464
<_GenAPICommand Condition="'$(MSBuildRuntimeType)' == 'core'">"$(DotNetTool)" --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"</_GenAPICommand>
6565
<_GenAPICmd>$(_GenAPICommand)</_GenAPICmd>
66-
<_GenAPICmd>$(_GenAPICmd) "$(TargetPath)" $(AdditionalGenApiCmdOptions)</_GenAPICmd>
66+
<_GenAPICmd>$(_GenAPICmd) "$(TargetPath)"</_GenAPICmd>
6767
<_GenAPICmd>$(_GenAPICmd) --lib-path "@(_ReferencePathDirectories)"</_GenAPICmd>
6868
<_GenAPICmd>$(_GenAPICmd) --out "$(_RefSourceFileOutputPath)"</_GenAPICmd>
6969
<_GenAPICmd>$(_GenAPICmd) --header-file "$(RepoRoot)/eng/LicenseHeader.txt"</_GenAPICmd>

eng/targets/ResolveReferences.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
</ItemGroup>
161161

162162
<!-- Substitute references to Extensions packages with with ref assemblies -->
163-
<ItemGroup Condition="'$(ReferenceReferenceAssemblies)' == 'true' AND '$(TargetFramework)' == 'netcoreapp3.0' AND '$(DisableExtensionsRefAssembliesSwap)' != 'true' ">
163+
<ItemGroup Condition="'$(ReferenceReferenceAssemblies)' == 'true' AND '$(TargetFramework)' == 'netcoreapp3.0' ">
164164
<_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Caching.Abstractions" />
165165
<_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Caching.Memory" />
166166
<_ExtensionInternalRefAssemblies Include="Microsoft.Extensions.Caching.SqlServer" />

src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ This package is an internal implementation of the .NET Core SDK and is not meant
1818
<PackageType>DotnetPlatform</PackageType>
1919
<RefAssemblyPackagePath>ref/$(TargetFramework)/</RefAssemblyPackagePath>
2020

21-
<!-- Do not substitute references to Extensions ref assemblies -->
22-
<DisableExtensionsRefAssembliesSwap>true</DisableExtensionsRefAssembliesSwap>
23-
2421
<!-- There are no symbols for reference assemblies. -->
2522
<IncludeSymbols>false</IncludeSymbols>
2623

@@ -40,7 +37,9 @@ This package is an internal implementation of the .NET Core SDK and is not meant
4037
<!-- Reference implementation assemblies in addition to ref assemblies to get xml docs -->
4138
<ReferenceImplementationAssemblies>true</ReferenceImplementationAssemblies>
4239
<!-- We are ignoring MSB3243 warnings since implemenation and reference assemblies are versioned differently. We need both to compose the targeting pack with reference assemblies and xml docs. -->
43-
<MSBuildWarningsAsMessages>MSB3243</MSBuildWarningsAsMessages >
40+
<MSBuildWarningsAsMessages>MSB3243</MSBuildWarningsAsMessages>
41+
<!-- We are ignoring NU5131 and NU5128 warnings since the dependency group should be kept empty. -->
42+
<NoWarn>$(NoWarn);NU5131;NU5128</NoWarn>
4443

4544
<!-- Platform manifest data -->
4645
<FrameworkListFileName>FrameworkList.xml</FrameworkListFileName>
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
<Project>
22
<!-- This file gets copied above the template test projects so that we disconnect the templates from the rest of the repository -->
3-
4-
<Import Project="${IndirectReferences}" />
53
</Project>

src/ProjectTemplates/test/ProjectTemplates.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128

129129
<GenerateFileFromTemplate
130130
TemplateFile="$(MSBuildThisFileDirectory)Infrastructure\Directory.Build.props.in"
131-
Properties="IndirectReferences=$(RepoRoot)eng\IndirectReferences.props"
131+
Properties=""
132132
OutputPath="$(TestTemplateCreationFolder)Directory.Build.props" />
133133

134134
<!-- Workaround https://github.com/dotnet/core-setup/issues/6420 - there is no MSBuild setting for rollforward yet -->

0 commit comments

Comments
 (0)