Build Error "...exited with code 3"
I am new to visual studio, and i am trying to recompile an existing dll.I got the source from github, and have resolved several dependencies as far as i can see.But the build seems to be trying to make...
View Articleissue with msbuild target calling msbuild with another msbuild target
I have a msbuild process, which is split into two sections. The first analyzes nuget packages and creates some files. Since it can only analyze nuget packages after the restore it has be called after...
View ArticleHow do you correctly call TrackedVCToolTask's constructor?
Using .Net Reflector I am able to see how an MSBuildTask named ClangCompile inherits from TrackedVCToolTask. public class ClangCompile : TrackedVCToolTask { public ClangCompile() : base(new...
View ArticleGetting a .NetFramework error on Build Server but works fine on locally when...
Hi,Getting a .NetFramework error on Build Server but works fine on locally when built, "But .NET Framework version 4.6.2 exists on the Build Server".Error MSB3644 The reference assemblies for framework...
View ArticleWhat environment are Pre-Build Events run in?
I have been struggling to get my commands to run as expected for pre-build events. They seem to run just fine in 'cmd' window, but not so much in the VS17. I am specifically trying to startup bash...
View ArticleRelease build crashing often
I am building my application in release mode and its often crashing. what is the best way to fix these issues and its works well in Debug Modesaikalyan
View ArticleBlazor : Error MSB3073 on an old or new project
Hello, I just updated the Microsoft.AspNetCore.Blazor.* packages (v3.1.0-preview1.19508.20) and when compiling a project I have this error :ErreurMSB3073La commande "dotnet...
View ArticleCannot build default Angular project in VS 2019
I cannot build the default Angular project in Visual Studio 2019. 1) Installed VS 2019 with the following workloads: ASP.NET and Web Development Azure Development...
View Articlecommand line switches multiple times
I have built a custom element that uses a custom compiler. Now, if I have something like a StringProperty for my task, then I can add a "Switch" value... let's say 'Switch="/myOption [value]"' ... this...
View Articlenothing is working as expected
ok, maybe someone can explain me thisI did build a rule...This rule has a StringProperty... and I tried to use values like "Separator", "SwitchPrefix" and "Switch" ... and... I did this also on other...
View ArticlePackage version number using MSBUILD
Hi,I'm trying to build a package using MSBUILD: I'm specifying the version number in a customization file. I'm trying to use version numbers in this format: xx.x.x.0xxx.MSBUILD is giving me this...
View ArticleBuild C++/CLI targeting .NET 3.5 with Visual Studio 2015
Hi, I want to build C++/CLI project with VS2015(V140) and target framework version v3.5, at first I have a link problem "LNK2022: metadata operation failed (80131195) : Custom attributes are not...
View ArticleTypeScript error with MSBUILD
Hi,I'm getting typescript error when I try to build using MSBUILD "Developer Command Prompt for VS 2017"---------------- Error Text Begin --------------------------------Build...
View ArticleVS 2019 and .Net core 3.0 console app, how to delete a file BEFORE its published
Ok, so this is driving me nuts I suspect I will need to know more of msbuild internals.Have a .net core 3.0 console app and I want to use a publish profile to simply publish it to a folder - EXCEPT for...
View ArticleTransforming T4 template on build intermittently produces an exception
Hi all,I'm using <PropertyGroup><TransformOnBuild>True</TransformOnBuild>...
View ArticleMSBuild's referencePath option not taken into account for websites
Hi,When building a website (not a web application) with MSBuild, a metaproj file is created that contains a.o. the list of all dependencies. My understanding is that the "xxx.dll.refresh" files...
View ArticleTeam Build Process template shows hundreds of errors when opened in VS2017...
I have a customized Team Build process template that has been working just fine for years in VS2013.I am going to have to stop using VS2013 and so I opened the solution in VS2017. When I open the...
View ArticleLooking for support to re-run the failed test cases in TFS CI/CD pipeline :...
Hi Team,We developed a test automation micro service in our project. Currently, we are running test cases by calling the micro service : using Powershell script during the TFS build process.Here, I...
View ArticleProblem with heap space when compiler is called by other software.
Hello,I am calling the visual studio compiler through ANSYS Fluent and when I try to compile I get the error: The compiler is out of heap spaceIs there a compiler flag I can use to increase the...
View ArticleHow to make install package
I want to make install package for my C# project using Visual Stidio Pro 2017If I try to use Setup Project but couldn't find it.I don't see the Other Project Types from the New Project.Where do I get it?
View Article