I am migrating a few solutions into azure devops and want to use the MSBuild Task to build them. The are currently build using devenv with the follow ...
I am migrating a few solutions into azure devops and want to use the MSBuild Task to build them. The are currently build using devenv with the follow ...
I am using VS 2019. Once the project is cloned from bitbucket, I am able to build the solution. If I try to build after cleaning the solution or rebui ...
I manually edited my MSBuild file to execute a few commands only when a certain condition is met: <?xml version="1.0" encoding="utf-8"?> <Pr ...
I'm trying to create a custom MSBuild target to automatically fetching the SVN revision number into some define, say MY_VERSION. So, my target file (g ...
I need to build and run a .NET 5 project in Mac using Visual Studio for Mac or Jetbrains Rider. In csproj file of one of the projects in the solution ...
I have a target like below. It needs to replace content of a file with new content. I have multiple files I am matching with ItemGroup. I couldn't fig ...
Is the TaskFactory attribute really optional in the <UsingTask> element ? Microsoft's Documentation states that it is optional. I played with ...
I'm wondering if there is any MSBuild feature that allows us to redirect all resources (exe | dll | conf) from bin\Release to a common output folder f ...
In an MSBuild target, I need to set the value of an XML element to a specific value. If that element does not exist I need to create it. I'm trying to ...
I want to copy an assembly (let's call it Plugin1.dll) into several different applications that can make use of this plugin. Currently I'm doing somet ...
I have a project that I'm trying to build under .NET 6 using TeamCity. The build always fails with an error message: error MSB4062: The "Transform ...
I have an old class library project that was building fine in a previous version of Visual Studio (2017 IIRC). The project contains an HLSL-based pixe ...
I have a simple project that has a custom MSBuild task. This task will run using dotnet msbuild, but fails through VS2022. I haven't found anything on ...
I want to copy some of the files from the $(Build.SourcesDirectory) to the final package in azure deployment but after the msbuild it creates a name.z ...
I have following Target: I don't know exactly how to make above <Message> only appeard if FileToDelete variable Count > 0? How to do that ...
I have a setup where I have an API (ASP.NET) project and a test project to test the API. I use NSwag to auto-generate an API client in the test projec ...
I am trying to eliminate a Visual Studio 2019 plug in which triggers a second MSBuild pass. Given: A build flow where a custom build task creates *.c ...
Wondering if there is an easy way to do what I want with Visual Studio solution. I have a solution that has 10+ VC++ projects. These projects don't ha ...
ITNOA As you can see in Web Deployment Tool (MSDeploy) : Build Package including extra files or excluding specific files and Adding Custom Files to a ...
It is easy to export the KB properties to a file with the Genexus IDE. Is it possible to do the same using MSBUILD tasks? ...