File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # ASP.NET Core (.NET Framework)
2+ # Build and test ASP.NET Core projects targeting the full .NET Framework.
3+ # Add steps that publish symbols, save build artifacts, and more:
4+ # https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
5+
6+ trigger :
7+ - master
8+
9+ pool :
10+ vmImage : ' windows-latest'
11+
12+ variables :
13+ solution : ' **/*.sln'
14+ buildPlatform : ' Any CPU'
15+ buildConfiguration : ' Release'
16+
17+ steps :
18+ - task : NuGetToolInstaller@1
19+
20+ - task : NuGetCommand@2
21+ inputs :
22+ restoreSolution : ' $(solution)'
23+
24+ - task : VSBuild@1
25+ inputs :
26+ solution : ' $(solution)'
27+ msbuildArgs : ' /p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"'
28+ platform : ' $(buildPlatform)'
29+ configuration : ' $(buildConfiguration)'
30+
31+ - task : VSTest@2
32+ inputs :
33+ platform : ' $(buildPlatform)'
34+ configuration : ' $(buildConfiguration)'
You can’t perform that action at this time.
0 commit comments