Fix solution restore in libraries (#38294)
authorViktor Hofer <viktor.hofer@microsoft.com>
Tue, 23 Jun 2020 20:35:40 +0000 (22:35 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 20:35:40 +0000 (22:35 +0200)
Fixes https://github.com/dotnet/runtime/issues/37358

Directory.Solution.props [new file with mode: 0644]

diff --git a/Directory.Solution.props b/Directory.Solution.props
new file mode 100644 (file)
index 0000000..ebd67c8
--- /dev/null
@@ -0,0 +1,6 @@
+<Project>
+  <PropertyGroup>
+    <!-- For solution restore, msbuild doesn't honor the property set in Directory.Build.props. -->
+    <RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
+  </PropertyGroup>
+</Project>