VS2019: Choose - When Condition=" '$(Configuration)'=='MyConfig' " not...
I have a configuration named "local". This configuration compiles and links all my custom libraries with my application: <Choose> <WhenCondition="'$(Configuration)' == 'Local'">...
View Articlelink.exe error after retargetting to Visual Studio 2019
I've started to retarget our projects to Visual Studio 2019. I had no issues with projects in a couple of our smaller Solutions. The current project I'm building is generating this...
View ArticleVisual Studio 2015 not launching. devenv.exe Suspended and terminated...
After re-installing Visual Studio 2015, the studio refuses to launch, even after trying to run as Administrator. On inspecting Task Manager, Devenv.exe starts and runs for a few sec, then is suspended...
View ArticleBuild keeps on failing with Exception Message: The file exists
I have a build which keeps on failing on build server with the exception message as below. Any pointers on where to look for the issue. This started happening from yesterday, previous to that build...
View ArticleVS2019 C++ post build event command failing
HiMigrated an old working C++ solution from VS2013 to VS2019, the post build event commands that (still) work in VS2013 are failing in VS2019 with exit code 1. They simply copy some dlls to the target...
View ArticleDid MSBuild make $(TargetName_OutDir) property?
Hi all, I'm a new developer on Windows 10 with visual studio 2019 community. I have developed for my self a program run with my own libraries, all outputs will be put in the same directory. Few days...
View ArticleHow do I set up the MFC SDI Tab view?
It succeeded in creating MFC application projects with SDI (CFormVirew -- Basic Class) and creating multi-view windows such as MDI. But what I want to do is not the format in which a new window is...
View ArticleHo to pass additional conditional compilation symbols on msbuild commandline
Hi, I want to add some conditional compilation symbols when invoking msbuild to a solution file.I tried to use msbuild /p:DefineConstants:MY_DEFINE file.sln, but the problem is that instead of adding...
View ArticleHow can I debug MSBuild 16.2
For the old MSBuild I could activate debuging for MSBuild in the Registry.I have a projekt with the new project template "<Project Sdk="Microsoft.NET.Sdk">", so I can't debug msbuild with the old...
View ArticleLot of Unnecessary Visual Studio Rebuilds - Tracking Log problem?
Hi - I'm getting an awful lot of unnecessary Visual Studio (2017) rebuilds. Mine is a big Visual C++ project and all these builds are hitting my productivity badly so all help much appreciated.I can't...
View ArticleHow to Build Open Source Library .Dll Generation
I am using development environment of windows 8.1 64Bit + Visual Studio 2013 + Qt Creator 5.4.2.Qt Creator wants to run a project developed as CMakeList.txt. When I run CMakeList, I get an error that...
View ArticleSystem.ArgumentException Upon Configuring a Service Reference
So I've been having some trouble with re-coding some of my works Service Processors in order to point from WCF to a Dell Boomi Endpoint for a recent website migration we are under-going, and the...
View ArticleSystem.ArgumentException Upon Configuring a Service Reference in VS?
So I've been having some trouble with re-coding some of my works Service Processors in order to point from WCF to a Dell Boomi Endpoint for a recent website migration we are under-going, and the...
View ArticleBuild automation for Xbox
Hey guys, How do we create an appxbundle and an appxupload file from a Visual Studio solution (.sln file) by using CLI.? I am trying to automate the process using gulp/shell commands.
View ArticleString substitution in the expanded value of %(RecursiveDir) metadata.
Let me preface this by saying that I have almost no experience in hacking on MsBuild. Usually Visual Studio just does what I need. So, it is entirely possible that I am barking up the wrong tree and...
View ArticleError creating assembly manifest: access is denied
Hello,I'm having problems running a Team Build when I give my assemblies a strong name. The team build works great unless I sign my assemblies. When I do that I get a "vbc : error BC30140: Error...
View ArticleMake Boolean true available to whole application
My form application open to one of two forms, depending on a Boolean value queried from Program.cs I have public static Boolean object; in multiple forms.If true, I assign in Program.csobject=...
View ArticleMSBuild task: 'ItemGroup' has invalid child element 'SolutionFiles'
Hi,In a .proj file I have specified a "SolutionFiles" element to the "ItemGroup" element. I got the info fromhere. And it works - but VS2010 complains that the element isn't in the definition. I get...
View ArticleVS 2019 build error: Cannot find wrapper assembly for type library MSHTML.
I am trying to build a VB.NET project in the Visual Studio 2019, which has a reference to the Microsoft HTML Object Library. The referenced file is located in "C:\Program Files (x86)\Microsoft Visual...
View ArticleStrong Name Signing Keyset does not exist
Something broke on my development machine as I can not longer create Strong Name Key files and use them in my projects, existing projects that are signed still build fine.If I create a new console...
View Article