Skip to content

Move NuGet.config to repo root #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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