Switch to using public Nuget.org feed (#1178)

* Switch to using public Nuget.org feed

* Add packages

* specify woring directory

* switch to arg

* custom command

* Try using newer nuget

* Use custom command

* Use v1 of task

* Remove assessment update

* Add xliffparser package

* Add resx package
This commit is contained in:
Charles Gagnon
2021-03-19 15:16:03 -07:00
committed by GitHub
parent 0f4767aa6c
commit 4f1530891b
7 changed files with 6 additions and 8 deletions

3
.gitignore vendored
View File

@@ -32,7 +32,6 @@ x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
msbuild.log
msbuild.err
@@ -173,7 +172,7 @@ publish/
# NuGet Packages
*.nuget.props
*.nuget.targets
*.nupkg
src/**/*.nupkg
**/packages/*
# Windows Azure Build Output

View File

@@ -18,7 +18,7 @@ steps:
inputs:
useGlobalJson: true
- task: DotNetCoreCLI@2
- task: DotNetCoreCLI@1
displayName: 'dotnet restore sqltoolsservice.sln'
inputs:
command: restore
@@ -43,8 +43,6 @@ steps:
projects: '$(Build.SourcesDirectory)/src/Microsoft.Kusto.ServiceLayer'
arguments: '--configuration Release'
- task: NuGetAuthenticate@0
- task: BatchScript@1
displayName: 'Run script build.cmd'
inputs:

Binary file not shown.

Binary file not shown.

View File

@@ -2,6 +2,7 @@
<configuration>
<packageSources>
<clear />
<add key="mssqltools" value="https://mssqltools.pkgs.visualstudio.com/_packaging/mssqltools/nuget/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Local Packages" value="./bin/nuget" />
</packageSources>
</configuration>