-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDirectory.Solution.props
More file actions
17 lines (14 loc) · 889 Bytes
/
Copy pathDirectory.Solution.props
File metadata and controls
17 lines (14 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Project InitialTargets="CodeyBoxHealNuGetHome">
<!-- Heal an unwritable inherited per-user NuGet home before the solution-level
restore reads it. The solution restore reads the user config once at the top
before dispatching per-project restores, so the hook has to run here too;
InitialTargets runs it before that read. Same shared target as the
project-level hook in Directory.Build.props. -->
<Import Project="$(MSBuildThisFileDirectory)Directory.NuGetHomeHeal.targets" />
<PropertyGroup>
<!-- Solution restore evaluates this before dispatching project restores, so
the repository config is selected even when the solution is built from
outside its directory. NuGet can still inspect user-level configuration. -->
<RestoreConfigFile>$(MSBuildThisFileDirectory)nuget.config</RestoreConfigFile>
</PropertyGroup>
</Project>