-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use MSBuild to set NuGet feeds instead of NuGet.config (#9)
- Loading branch information
1 parent
6e75c8e
commit 32625f1
Showing
3 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Project> | ||
<Import Project="$(DotNetRestoreSourcePropsPath)" Condition="'$(DotNetRestoreSourcePropsPath)' != ''"/> | ||
|
||
<PropertyGroup Label="RestoreSources"> | ||
<RestoreSources>$(DotNetRestoreSources)</RestoreSources> | ||
<RestoreSources Condition="'$(DotNetBuildOffline)' != 'true' AND '$(AspNetUniverseBuildOffline)' != 'true' "> | ||
$(RestoreSources); | ||
https://dotnet.myget.org/F/aspnetcore-ci-dev/api/v3/index.json; | ||
https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; | ||
</RestoreSources> | ||
<RestoreSources Condition="'$(DotNetBuildOffline)' != 'true'"> | ||
$(RestoreSources); | ||
https://api.nuget.org/v3/index.json; | ||
</RestoreSources> | ||
</PropertyGroup> | ||
</Project> |