All Questions
Tagged with msbuild azure-devops
533
questions
0
votes
0
answers
55
views
Azure Devops SelfHosted Agent MSBuild post build launching exe from incorrect path
We are setting up CI via Azure Dev Ops pipelines. As a proof of concept I am using the VSBuild step on a self hosted build agent. I hoped this would most closely mirror how we are currently building ...
0
votes
1
answer
130
views
MSBuild outputting all files in uppercase
We are using Azure Devops to build our .NET projects and making use of the Visual Studio build task. Our build server has decided to start outputting all files in uppercase. This is causing subsequent ...
0
votes
0
answers
70
views
Azure Pipelines that share an Agent Pool are stealing the agent from each other, cancelling builds
We are running into a strange issue with our DevOps server that I've not been able to find an answer to. We have several pipelines that are set up for different branches, all running off of a single ...
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 ...
2
votes
1
answer
827
views
Error NETSDK1045: The current .NET SDK does not support targeting .NET 8.0. Either target
I created simple ASP.NET Core project with default templates in Visual Studio 2022 using .NET 8.0 framework and pushed in to Azure repo (included the file .gitignore for Visual Studio) and created a ...
0
votes
1
answer
121
views
Azure DevOps MSBuild Task path not supported
running MS build task using wildcard search for my csproj file. File gets found but I get the following error
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\...
0
votes
1
answer
239
views
AzureDevops build pipeline gets cancelled due to time out during donet build command
I have a build pipeline that build my .net 5 solution projects in Azure Devops. It was working fine till now, but has recently started failing in the build stage due to time out. The build command ...
0
votes
1
answer
204
views
Setting up Azure DevOps Build Machine - Could not resolve SDK "Microsoft.NET.SDK.WorkloadAutoImportPropsLocator"
I'm in the process of setting up a pipeline in Azure DevOps. I went with setting up my own agent. When I initially attempted to build the pipeline, it said that it couldn't find C:\Program Files\...
0
votes
0
answers
131
views
In MSBuild, can you turn off the unresolved reference check?
I'm testing MSBuild in DevOps for building SQL Server database objects - stored procedures, functions, views, tables, etc. We're wanting to create the database project files once and not have to ...
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
1
answer
109
views
All *.sh files became CRLF in the cloudbuild drop output
The *.sh files will become windows CRLF EOF in the cloudbuild drop output.
I have set the .gitattributes with:
text= and * -text and *.sh eol=lf on master branch.
And I have added all the files in ...
0
votes
1
answer
214
views
Azure DevOps Build Pipeline using Visual Studio Build Error SQL71006
We are currently using RedGate with Azure DevOps in our build pipeline. I'm creating a new build pipeline using Visual Studio Build. The build is throwing error SQL71006 "Only one statement is ...
0
votes
0
answers
85
views
How to get Azure DevOps Build Pipeline using Visual Studio Build to build everything and ignore the .sqlproj?
We're currently using Azure DevOps to build our SQL Server database objects using RedGate. We want to move to using the Visual Studio Build task. In Visual Studio I did create a database project and ...
0
votes
0
answers
64
views
Fixing of Property Sheet UI problem causes projects from earlier solutions to be cleaned on Azure DevOps - how to fix?
Our company uses two property sheets, one main sheet at the top level of the source, then there is a subfolder representing a sub-category of the product for which there is another property sheet, and ...
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 ...