azure-pipelines-build-task Questions

2

Solved

I need guidance in generating code coverage report of Asp.net unit tests in azure build pipeline. My project is based on .Net Framework 4.6. I am able to run all the unit tests using "visual studi...

1

Solved

I have used a dll to my project which gets added to my project file as a COMReference like following <COMReference Include="GENERALCREDITREQUESTMANAGER450Lib"> <Guid>{BDB6DDB...
Curie asked 13/4, 2021 at 8:32

6

Running a automated test against a desktop WPF application works fine on my local machine and on Azure VM Windows Server 2012R2 when accessed via RDP. However, when the VM is used as build machin...

1

i have one solutions with multiple projects. DSS.DMN.Client project dependens on other projects(have references) This is how my yaml files looks like - task: MSBuild@1 displayName: 'Build solu...

12

Solved

I am using the "Azure Web App Deployment" build step in VSTS to publish an ASP.NET Core API to an Azure Web App: Occasionally, this step breaks with the following error: [error]Microsoft.Web....

1

Solved

I am trying to understand the difference between the two nuget restore commands in Azure build pipeline: - task: NuGetCommand@2 inputs: restoreSolution: '$(solution)' and - task: DotNetCoreCLI@2...

2

Solved

I have an .exe file of my console app in a repository and I want to run it on a pipeline. I tried using a cmd task but it kept failing, saying it's not finding my .exe file. Basically I tried the s...

3

I require something from the output of a running release task in order for it to complete (an authenticate code). But the console is now not updating. All I get is "Waiting for console output from ...

4

Solved

I'm getting a failed builds due to the Visual Studio Test step failing in my Build Pipeline. I have a simple .NET Core v2.1 class library and associated MS Test library. I have 2 steps in my pipe...
Galligan asked 14/11, 2018 at 16:24

2

Solved

How I can add Bindings in a "IIS web app manage" task using yaml? I tried putting the bindings like classic pipeline and doesnt work

2

Solved

I have an existing Azure CI pipeline for a WebAssembly Blazor application, that works with .NET Core 3.1. I upgraded the application to use .NET 5 RC, and the pipeline doesn't work anymore. Followi...
Murex asked 6/10, 2020 at 19:52

1

I am attempting to do file transforms on my Web.config depending on each environment I publish to. Mostly, everything looks fine until I deploy to my UAT stage on the release pipeline. In my build ...

3

Solved

I have a DACPAC deployment task which is failing, because for some reason the value of the $(Build.ArtifactStagingDirectory) pipeline variable is changing between the build pipeline and the release...

2

Solved

As a continuation to Azure DevOps - Handling single release for separate code repositories for UI and Dotnet API layer I am trying to proceed with checking out multiple repos in my yaml by defining...

2

Solved

For an Azure Pipelines yaml file I want to run a set of tasks once on every agent in a certain pool. When I looked at jobs strategy matrix, it looked as a good solution for this, but it currently c...
Juliettejulina asked 6/11, 2018 at 12:12

2

Solved

I have separate existing code repositories- One for Angular UI and one for .NET 4.7 API layer. In the manual process, The compiled UI code is placed in wwwroot folder after dotnet publish is execut...

5

I'm using Azure Pipelines with hosted builds to build a web project. Our build times were hitting 10-15 minutes, with most (5-10 minutes) of the time spent doing npm install. To speed this up, I'm ...
Nightrider asked 6/12, 2019 at 22:29

2

Solved

I just noticed on Visual Studio Build task the following: To have parameters for common settings such as the solution file seems like a good idea to me, given that some parameters are used in mo...

3

Solved

I'm working on a set of VSTS extensions. Each extension is its own little Node project with its own package.json and its own node_modules folder. The folder structure is as follows: - MyExtension...

1

I'm building an Ionic 4 application in Azure build pipeline. When I try to run pipeline that has other cordova dependencies I'm getting the errors below during the Xcode archive step. ❌ error: AppA...

3

I want to fail the build pipeline if a single test failed with azure pipelines. Azure can successfully detect that my tests entered a failed state however it gives a success state to the entire bu...
Panhellenic asked 13/10, 2018 at 4:48

2

Trying to create a build configuration in Azure DevOps, using the new YAML build feature, however I can't seem to get NuGet restore to work when referring to a NuGet.config file (places in the root...
Scissor asked 25/9, 2018 at 17:42

2

Solved

We have implemented Jacoco in our Android Kotlin project which we can call locally via ./gradlew clean build jacocoTestReport However, when we deploy to VSTS/Azure DevOps it errors with: 2019-02-...

2

Solved

I was wondering if it is possible to conditionally set the name of my build artifact in my Azure DevOps build pipeline "publish artifact" task? I want to produce different artifacts based on the in...
Covariance asked 17/5, 2019 at 22:53

2

Solved

Approx 50% of my hosted builds are failing with npm error 134. I am building the same commit with the same build definition using hosted vs2017. I am building an Angular Application using the Angul...

© 2022 - 2024 — McMap. All rights reserved.