Skip to content

Commit ba61aaa

Browse files
authored
Merge pull request #59230 from jmarolf/infrastructure/fix-restore-on-nuget-6.2.0.33
2 parents 3ee3ad4 + cc402a0 commit ba61aaa

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

eng/targets/Settings.props

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
<CommonExtensionInstallationRoot>CommonExtensions</CommonExtensionInstallationRoot>
1414
<LanguageServicesExtensionInstallationFolder>Microsoft\VBCSharp\LanguageServices</LanguageServicesExtensionInstallationFolder>
1515

16-
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
17-
18-
<!-- Disable the implicit nuget fallback folder as it makes it hard to locate and copy ref assemblies to the test output folder -->
19-
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
2016
<ToolsetPackagesDir>$(RepoRoot)build\ToolsetPackages\</ToolsetPackagesDir>
2117
<UseSharedCompilation>true</UseSharedCompilation>
2218

@@ -166,6 +162,20 @@
166162
<WarningsNotAsErrors>$(WarningsNotAsErrors);IDE0055</WarningsNotAsErrors>
167163
</PropertyGroup>
168164

165+
<!--
166+
Nuget settings
167+
-->
168+
<PropertyGroup Condition="'$(RoslynEnforceCodeStyle)' != 'true'">
169+
<!-- Don't warn that we are restoring .NET Framework proejct dependencies for .NET Core. -->
170+
<NoWarn>$(NoWarn);NU1701</NoWarn>
171+
172+
<!-- Opt-in to faster up-to-date check for restore -->
173+
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
174+
175+
<!-- Disable the implicit nuget fallback folder as it makes it hard to locate and copy ref assemblies to the test output folder -->
176+
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
177+
</PropertyGroup>
178+
169179
<!--
170180
Language specific settings
171181
-->

src/Tools/BuildActionTelemetryTable/BuildActionTelemetryTable.csproj

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

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net6.0</TargetFrameworks>
5+
<TargetFrameworks>net6.0-windows</TargetFrameworks>
66
</PropertyGroup>
77

88
<ItemGroup>

0 commit comments

Comments
 (0)