EDK2 failed to build in Win11 - windows-11

I started with Visual Studio 2019 Professional, but there were some errors. I thought it was a compiler error at first, so I changed to Visual Studio 2019 Community. Error 7000 (edk2) : Microsoft Visual Studio \2019\ Professional \VC nmake.exe failed to execute command Then I changed back to VS2019 Professional, but now it is error 7000: Failed to execute Command
D: Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133bin\Hostx86\x86\nmake.exe /nologo tbuild [c:\edk2\Build\EmulatorIA32\DEBUG_VS2019\IA32\MdeModulePkg\Library\UefiHiiLib\UefiHiiLib]

try to switch to an older stable release of edk2, like edk2-202105.
and also try to execute the compilation command from visual studio developer prompt or powershell.

Related

Error opening Node.js .SLN on Visual Studio Mac

I need to work on a Node.js project in Visual Studio 2019 for Mac.
It has been worked on with Visual Studio 2012 on a PC.
When I open the .sln there's a red cross showing the error: "Load failed: Unknown solution item type".
What could I try or should I do to resolve this?
Is it possible at all to work on Node.js projects in Visual Studio 2019 for Mac?

Error Installing Windows 10 development tools for Visual Studio 2015 RC on Windows 8.1

I am running Windows 8.1 and I have installed Visual Studio 2015 Enterprise RC with Blend.
I am trying to install the Windows 10 development tools for Visual Studio 2015 RC and getting the following error:
ExecuteError: Package (VSSecondaryInstaller_box) failed: Error Message Id: 1603 ErrorMessage: Windows 10 SDK 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294
Has anyone else gotten this error and found a solution to successfully install?
Through a quick google of the error code you provided, I found an article with the following post:
To get unblocked, go to https://dev.windows.com/downloads/windows-10-developer-tools. Scroll to the bottom of the page and install the Windows 10 SDK and Windows 10 emulators outside of Visual Studio setup.
Source:
https://social.msdn.microsoft.com/Forums/en-US/17bc9d5e-2ea7-4149-bb75-23997db8bd25/known-issue-emulators-for-windows-mobile-10010069-the-installer-failed-user-cancelled?forum=Win10SDKToolsIssues
I cannot speak for the solutions' effectiveness personally, but it was a marked answer. I hope this helps!
We've fixed this issue, and have released an update as of 7PM PDT 30 April 2015.
New installs of Visual Studio 2015 RC should expect to no longer encounter this problem, unless you lose your internet connection during installation. (That is, this error now indicates that the Windows SDK or Windows Emulator setup invoked by Visual Studio setup has lost internet connectivity and cannot download necessary files.)
To fix the issue, re-run setup and select the features "Universal
Windows App Development Tools" and/or "Emulators for Windows Mobile"
again.
If you have already installed Visual Studio and encountered this problem, you can now modify your Visual Studio installation to successfully install.
Go to Program & Features, select Visual Studio 2015 RC, and select Change.
Click Modify, then select the features "Universal Windows App
Development Tools" and/or "Emulators for Windows Mobile", and click
Update.
Note that "Universal Windows App Development Tools" will be already selected. This is expected. Keep it selected, and click Update.
An alternate solution is to install the Windows 10 SDK and Windows Emulators separately. Go to https://dev.windows.com/downloads/windows-10-developer-tools. Scroll to the bottom of the page and install the Windows 10 SDK and Windows 10 emulators outside of Visual Studio setup.
(See also this known issue: https://social.msdn.microsoft.com/Forums/en-US/17bc9d5e-2ea7-4149-bb75-23997db8bd25/)
Thanks!
-Paul Chapman (program manager with Visual Studio at Microsoft)
Installed Windows 10 installed from scratch.
Installed VS2015 from ISO.
VS2015 failed to install the Windows 10 emulators.
No loss of connectivity.
Here's my 2 cents. I tried all the methods in all the forums and the tools failed to install for me on Windows 10. Then as a last resort, I enabled 'Developer Mode' in Settings and tried installing the tools again and voila! They did.

Visual Studio 2012 platform toolset v110_xp

I'm trying to build a program using Visual Studio 2012. It's platform toolset property was set to 'v110_xp' but I changed it to 'v110'
Now I'm getting the error:
Error 2 error MSB8020: The builds tools for v110_xp (Platform Toolset = 'v110_xp') cannot be found. To build using the v110_xp build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v110_xp to build using the v110_xp build tools. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets 44
I already updated the VC++ Project and I also changed the platform toolset property to Visual Studio 2012 (v110) (it was originally set to v110_xp)
I also opened the .vcxproj file in another editor and manually changed it to use v110.
Does anybody know how to fix this error?
I updated Visual Studio 2012 to Update 4 and that seems to fix it.

The Microsoft Visual Studio Remote Debugging Monitor(MSVSMON.EXE) doesn't appear to be running on the remote computer

I don't have any kind of remote debuggers on my system. I don't know why all of a sudden I am getting this error:
The Microsoft Visual Studio Remote Debugging Monitor(MSVSMON.EXE) doesn't appear to be running on the remote computer
What could be wrong with Visual Studio 2012? I notice the Local Windows Debugger is not selectable either:
I can build projects, but can't run them from inside of Visual Studio. I'm on Windows 7 sp1 x64 and Visual Studio 2012 Ultimate.

How do I use NMAKE on the command line?

I have Microsoft Visual C++ 2012 redistributable installed on my PC, but when I try to use the NMAKE command in the cmd it says:
'nmake' is not recognized as an internal or external command,
operable program or batch file.
I went to the Visual Studio 8 folder, and I couldn't find nmake.exe or vcvars32.bat.
What should I do?
"Microsoft Visual C++ 2012 redistributable" just contains runtime libraries needed by applications developed with Visual C++ 2012. No development tools are included.
To obtain "nmake" you either have to buy "Visual Studio" or download the Windows SDK from Microsoft. When installing the SDK you'll find "nmake" in folder "\Program Files (x86)\Microsoft Visual Studio xx.x\VC\bin" (xx.x depending on SDK Version).
Visual Studio installs a couple of command-shell links under Start|Programs|Microsoft Visual Studio xx.

Resources