Skip to content

Commit

Permalink
Move NuGet.config to repo root (#374)
Browse files Browse the repository at this point in the history
- not sure why this wasn't done ages ago
  • Loading branch information
dougbu authored Dec 12, 2022
1 parent b943c83 commit feb9b13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
File renamed without changes.
5 changes: 2 additions & 3 deletions Runtime.msbuild
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</Target>

<Target Name="RestoreSkipStrongNames" DependsOnTargets="DownloadNuGet">
<Exec Command='"$(NuGetExe)" restore .nuget\packages.config -PackagesDirectory packages -NonInteractive -Verbosity quiet -ConfigFile .nuget\NuGet.Config' />
<Exec Command='"$(NuGetExe)" restore .nuget\packages.config -PackagesDirectory packages -NonInteractive -Verbosity quiet' />
</Target>

<Target Name="RestorePackages" DependsOnTargets="DownloadNuGet">
Expand All @@ -77,8 +77,7 @@

<Message Text="Restoring NuGet packages..." Importance="High" />
<Exec Command='"$(NuGetExe)" restore "%(_NuGetPackagesAndSolutions.Identity)" ^
-PackagesDirectory packages -NonInteractive ^
-Verbosity quiet -ConfigFile "$(MSBuildThisFileDirectory)\.nuget\NuGet.Config"' />
-PackagesDirectory packages -NonInteractive -Verbosity quiet' />
<MSBuild Projects="@(_ProjectsToRestore)" Targets="Restore"
BuildInParallel="$(BuildInParallel)"
Condition=" '$(BuildPortable)' == 'true' "
Expand Down
2 changes: 1 addition & 1 deletion Runtime.sln
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Web.Http.Owin.Test",
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{CB34D534-9A09-4EE4-B350-C1C23AFBF5EE}"
ProjectSection(SolutionItems) = preProject
.nuget\NuGet.Config = .nuget\NuGet.Config
NuGet.Config = NuGet.Config
.nuget\packages.config = .nuget\packages.config
EndProjectSection
EndProject
Expand Down

0 comments on commit feb9b13

Please sign in to comment.