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

5
.gitignore vendored
View File

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

View File

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

Binary file not shown.

Binary file not shown.

View File

@@ -2,6 +2,7 @@
<configuration> <configuration>
<packageSources> <packageSources>
<clear /> <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> </packageSources>
</configuration> </configuration>