Skip to content

Commit

Permalink
Add NuGet config and update autorest.testserver version (#823)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivangiReja authored Jun 17, 2020
1 parent fac2bc4 commit e7c96e4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
1 change: 0 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<RepoEngPath>$(MSBuildThisFileDirectory)eng</RepoEngPath>
<RepoSrcPath>$(RepoRoot)src</RepoSrcPath>
<IsTestProject Condition="$(MSBuildProjectName.EndsWith('.Tests'))">true</IsTestProject>
<RestoreAdditionalProjectSources>https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-net/index.json</RestoreAdditionalProjectSources>
</PropertyGroup>

<!-- Setup default project properties -->
Expand Down
7 changes: 7 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="azure-sdk-for-net" value="https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-net/index.json" />
</packageSources>
</configuration>
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "package.json intended for in-repo use only, package.json used for publishing is located in src/AutoRest.CSharp.V3/package.json",
"devDependencies": {
"autorest": "https://github.com/Azure/autorest/releases/download/autorest-3.0.6223/autorest-3.0.6223.tgz",
"@microsoft.azure/autorest.testserver": "2.10.42"
"@microsoft.azure/autorest.testserver": "2.10.45"
},
"dependencies": {}
}

0 comments on commit e7c96e4

Please sign in to comment.