Browse Source

Run nuget restore, hoping to fix the build issue

Miguel de Icaza 5 years ago
parent
commit
025b3b81ec
1 changed files with 4 additions and 0 deletions
  1. 4 0
      azure-pipelines.yml

+ 4 - 0
azure-pipelines.yml

@@ -9,6 +9,10 @@ steps:
     msbuild /t:Restore Terminal.sln
     msbuild /t:Restore Terminal.sln
   displayName: Restore dependencies
   displayName: Restore dependencies
 
 
+- script: |
+    nuget restore
+  displayName: Nuget restore
+
 - script: |
 - script: |
     if echo $BUILD_SOURCEBRANCH | grep /release/; then perl -pi -e "s/PackageVersion>.*</PackageVersion>${BUILD_SOURCEBRANCHNAME}</" Terminal.Gui/Terminal.Gui.csproj; fi
     if echo $BUILD_SOURCEBRANCH | grep /release/; then perl -pi -e "s/PackageVersion>.*</PackageVersion>${BUILD_SOURCEBRANCHNAME}</" Terminal.Gui/Terminal.Gui.csproj; fi
   displayName: Update NuGet package version from branch name
   displayName: Update NuGet package version from branch name