All Questions
266
questions
1
vote
2
answers
404
views
New Error on Azure Deployment: error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found
Randomly a couple of days ago my continuous integration builds stopped working with the error error MSB3644: The reference assemblies for .NETFramework,Version=v8.0 were not found.
But I hadn't made ...
0
votes
0
answers
615
views
Java upgraded to version 17 still having issues with SonarScanner in Azure pipeline
Recently we are having an issue with the Sonarscanner in our .net project, the error indicated that we needed to upgrade the java from 11 to 17 which we did and set the envionment variables, but ...
0
votes
1
answer
122
views
Invoke the Powershell Script during local testing with MSBuild
I am trying to call a powershell script for local testing
<Target Name="RunPowerShellScript" BeforeTargets="Build" Condition="'$(LocalBuild)' == 'true'">
<Exec ...
0
votes
2
answers
322
views
Unable to Deploy .NET Core Application with Microsoft.Office.Interop.Word via Azure DevOps Pipeline
I'm encountering an issue deploying my .NET Core application that uses Microsoft.Office.Interop.Word via an Azure DevOps pipeline. Locally, I managed to compare Word documents using Interop Word ...
1
vote
1
answer
588
views
Azure Pipeline .NET Core Build task uses higher MSBuild version than specified in global json SDK
I have used "Use .Net Core" task in azure to install SDK using below global json.
{
"sdk": {
"version": "6.0.410",
"rollForward": "...
0
votes
1
answer
404
views
Azure pipeline MsBuild parameter/property define constant not working for precompiling directive
I'm trying to create a build step with a build directive parameter, so that we can decide, inside a class, which code to use depending on the precompiler directive. It works when building on my local ...
3
votes
1
answer
521
views
Build Xamarin.Android azure pipeline getting error XA0000: Could not determine API level for $(TargetFrameworkVersion) of 'v13.0'
Getting error while build azure pipeline. It was working fine till compile target api level v12.0. Now I updated compile target to v13.0 and it stop building Xamarin.Android azure pipeline and gives ...
1
vote
0
answers
133
views
Unable to build VueJS project in Azure Pipeline build
I have a large .NET website solution that has more than 30 projects in it, with some of them including VueJS. We have no problem building in any development environment, once we install all of the ...
0
votes
2
answers
2k
views
Self-hosted agent (for Azure pipelines) using incorrect version of MSBuild
When building a solution using Azure's self-hosted build agents, I am explicitly setting the MSBuild version to be used, both in the MSBuild task in the pipeline, but also as part of the build ...
1
vote
1
answer
600
views
Azure pipelines builds started failing recently due to a new image/MSBuild
We have an Azure build pipeline that has been working flawlessly for quite a while. About a week ago builds on some agents started failing and now they all are. Even builds on release branches that ...
3
votes
1
answer
463
views
Specifying MSBuild version for Azure App Service build
I am trying to deploy two web apps from the same Git repo to two different Azure App Service apps. I am using the Deployment Console in each App Service app to build and deploy the apps. To select ...
0
votes
1
answer
701
views
MSBuild or VSbuild task is not working after I updated it to Visual Studio Build tools 2022 from 2019
I updated my VS build tools 2019 to 2022. Upgraded it for dotnet6. After I updated it to latest one, the pipelines build for dot net framework and dot net 5 failing and throwing error like below
##[...
0
votes
0
answers
322
views
There was a conflict between "System.Threading.Tasks.Extensions, Version=4.2.0.0
Getting the below error from the build pipeline. It is complaining about the conflicts between "System.Threading.Tasks.Extensions, Version=4.2.0.0" and "System.Threading.Tasks....
0
votes
1
answer
3k
views
msbuild argument /p:OutDir="$(build.artifactstagingdirectory)" causing some projects to miss "bin/release" folder
I am working with a classic Azure build pipeline which is using the following MsBuild arguments for creating a package and zipping it:
/p:DeployOnBuild=true /p:WebPublishMethod=Package
/p:...
2
votes
1
answer
943
views
MSBuild failure: IsOsPlatform not found
One of our developers has created a project which builds successfully using Visual Studio 2017 on his PC. I want to build the project on an Azure virtual machine, from an Azure Pipeline. Since it will ...