Selaa lähdekoodia

VSBuild -> dotnet build

Krzysztof Krysiński 2 vuotta sitten
vanhempi
commit
88e44c679c
4 muutettua tiedostoa jossa 16 lisäystä ja 20 poistoa
  1. 4 5
      windows-x64-release-dev.yml
  2. 4 5
      windows-x64-release.yml
  3. 4 5
      windows-x86-release-dev.yml
  4. 4 5
      windows-x86-release.yml

+ 4 - 5
windows-x64-release-dev.yml

@@ -24,7 +24,7 @@ steps:
 - task: UseDotNet@2
   inputs:
     packageType: 'sdk'
-    version: '7.0.202'
+    version: '7.0.104'
     
 - task: NuGetToolInstaller@1
 
@@ -32,11 +32,10 @@ steps:
   inputs:
     restoreSolution: '$(solution)'
 
-- task: VSBuild@1
+- task: DotNetCoreCLI@2
   inputs:
-    solution: '$(solution)'
-    platform: '$(buildPlatform)'
-    configuration: '$(buildConfiguration)'
+    command: 'build'
+    projects: 'src/PixiEditor'
 
 - task: DotNetCoreCLI@2
   displayName: "Build release PixiEditor.UpdateInstaller"

+ 4 - 5
windows-x64-release.yml

@@ -24,18 +24,17 @@ steps:
 - task: UseDotNet@2
   inputs:
     packageType: 'sdk'
-    version: '7.0.202'
+    version: '7.0.104'
 - task: NuGetToolInstaller@1
 
 - task: NuGetCommand@2
   inputs:
     restoreSolution: '$(solution)'
 
-- task: VSBuild@1
+- task: DotNetCoreCLI@2
   inputs:
-    solution: '$(solution)'
-    platform: '$(buildPlatform)'
-    configuration: '$(buildConfiguration)'
+    command: 'build'
+    projects: 'src/PixiEditor'
 
 - task: DotNetCoreCLI@2
   displayName: "Build release PixiEditor.UpdateInstaller"

+ 4 - 5
windows-x86-release-dev.yml

@@ -24,7 +24,7 @@ steps:
 - task: UseDotNet@2
   inputs:
     packageType: 'sdk'
-    version: '7.0.202'
+    version: '7.0.104'
 
 - task: NuGetToolInstaller@1
 
@@ -32,11 +32,10 @@ steps:
   inputs:
     restoreSolution: '$(solution)'
 
-- task: VSBuild@1
+- task: DotNetCoreCLI@2
   inputs:
-    solution: '$(solution)'
-    platform: '$(buildPlatform)'
-    configuration: '$(buildConfiguration)'
+    command: 'build'
+    projects: 'src/PixiEditor'
 
 - task: DotNetCoreCLI@2
   displayName: "Build release PixiEditor.UpdateInstaller"

+ 4 - 5
windows-x86-release.yml

@@ -24,7 +24,7 @@ steps:
 - task: UseDotNet@2
   inputs:
     packageType: 'sdk'
-    version: '7.0.202'
+    version: '7.0.104'
 
 - task: NuGetToolInstaller@1
 
@@ -32,11 +32,10 @@ steps:
   inputs:
     restoreSolution: '$(solution)'
 
-- task: VSBuild@1
+- task: DotNetCoreCLI@2
   inputs:
-    solution: '$(solution)'
-    platform: '$(buildPlatform)'
-    configuration: '$(buildConfiguration)'
+    command: 'build'
+    projects: 'src/PixiEditor'
 
 - task: DotNetCoreCLI@2
   displayName: "Build release PixiEditor.UpdateInstaller"