I'm running the following MSBuild command from PowerShell to publish a solution file: $Configuration = "Release" $slnFullPath = "...\Solution.sln"; $PublishPath
How do I need to edit a *.csproj file to add a PostBuildEvent on Mac? I am trying the following but it doesn't work: <ItemDefinitionGroup> <PostBuild
I've installed all essentials for my windows to build application with electronjs. versions: node -v v17.5.0 npm -v 8.4.1 > My dependencies "dependencies"
I want to build a tool which is capable of building C# projects. For that I did the following thing: var buildOutput = new List<string>();
I have used Microsoft.Office.Interop.Excel reference in com. And the above error is coming in deployment. Below is the com reference that is in .csproj file of
I was installing Node.js on Windows. It installed successfully, and I also selected the option to install necessary files (such as chocolatey) in the node.js in
I'm facing a problem when I want to run unit test on my c# project. I have the same behaviour using Visual Studio or command line. Here's my process: Ensure tha
I am very new to .Net6 and .Net Core in general. I understand that it is possible to publish a single file executable but I was a bit surprised to see that the
I'm trying to design a REST API Service and Client that shares a common library (set of public classes that the Service and Client both reference). This common
Intellisense has stopped working for me and whenever I run VSCode this error comes up in the OmniSharp Log. [warn]: OmniSharp.MSBuild.ProjectManager Fai
I am running a build pipeline with sonat tasks but when it arrives to the build task it fails and i got the following error : Here 'is my azure pipeline file:
I'm trying to build and run test for my solution in Github Actions. App is written in .NET Framework 4.7.2 and when I build or test it locally with the same msb
We recently ran the csproj migration tool on our solution with 156 projects: dotnet tool install --global Project2015To2017.Migrate2019.Tool This worked very w
I am having an awful time understanding how MSBuild works with NET Core project files (csproj) on Windows 11. I have 71 NET Core C# project files (executables,
enter code here enter image description here I'm having a problem when trying to compile and build an ASP.NET Web API project targeting .NET6.0. For some reason
I've a solution with three projects in it: 2 C# WPF projects and 1 WIX project to create an installer. I've set up a build pipeline on Azure DevOps that referen
I have Jenkins v2.60.3 with the MSBuild Plugin v1.27 installed on Windows. I have configured the path to my msbuild.exe in Jenkins' Global Tool Configuration.
I'm trying to write a pre-build event script that must be able to adapt the the build platform (Windows / Mac / Azure DevOps image) in my case. So far I have fo
BUILD ERROR: When I load the solution file in Visual Studio, it says file failed to load. The full error says: C:\path\to\project.csproj : error : The imported
I have a project created in Visual Studio, 2013. The project file has the following properties: ToolsVersion="12.0", PlatformToolset = v120. I have Visual