Compiled Apps in VisualStudio 2010 will not run computers that does not have VisualStudio installed. What am I missing in the building stage?
Related
that is a visual studio is missing necessary components.
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.5)
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop
development with C++" workload, and include these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
like the error description explains, you are missing the VS 2019 C++ build tools. This is only relevant if you want to build and run your flutter project for windows.
You could follow the description on the flutter page for additional windows requirements.
Download and run the Visual Studio 2019 Community Installer.
In the Installer Window, select "Desktop development with C++", the default parameters should be fine, and install it.
After the installation you should restart your computer. Then you should be able to run flutter doctor without any errors.
I want to compile old C++ source code that I got from github and this is old apps which is need windows xp SDK and v141_xp build tools, I've tried to download manually from https://www.microsoft.com/en-us/download/details.aspx?id=8442 but this is not detected on my IDE. As you know old windows SDK as unavailable on visual studio package installer
I have made a Visual Studios CLR cpp project that requires drivers that need to be installed onto the user's PC before it can run. I have made an installer with a visual studios startup project that will download the required installers to the user's PC; however, I cannot find a way to make the VS startup project run the other installers after it is finished downloading. I've tried adding the .exe files into the custom actions section, but the installer will crash. I am running Visual Studios 2017 with the Microsoft Visual Studio 2017 Installer Projects extension added on.
So, recently I've created a program in visual studio 2010 using c++/cli. But the problem is, everytime I try to run the debug file on other computer , it just doesn't start. I tried to create another program on another computer and it worked. Can the problem be in the fact, that I have visual studio 2015 installed in this computer ? And if so, how can I fix it?
The debug build uses a different C library than the release compile does. If you want to run your program on a different machine, make sure it's the release compile, and make sure the C++ runtime redistributable is installed.
Visual Studio 2010 SP1 x86 redistributable
Visual Studio 2010 SP1 x64 redistributable
Is there anyway to install or have VC++ Debug Runtime Distributable without installing Visual Studio ?
Just to run a dll that has been compiled in debug mode using VS2013 on another machine that hasn't VS2013.
For testing purposes, you can include the Debug DLLs you need 'side-by-side' with your application. You can find them on a machine with VS 2013 installed:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\Debug_NonRedist
When you deploy your app, you must use Release mode distributions. For Win32 desktop apps, use these instructions. For Windows Store apps, you don't have to deploy the CRT as it's handled by the Windows Store.
OP was asking about 2013, but the title is general, so..
I just wanted to point out that in newer Visual Studio releases with the "select what you want" installer, for the debug runtime you need just "tools" or "build tools" (e.g. VC++ 2017 version 15.9 v14.16 latest v141 tools or MSVC v142 - VS 2019 C++ Build Tools, not to be confused with the toolset)
As for where you can find the libs, VS 2015 still has them basically in the same path outlined in Chuck's answer. From 2017, you should have something like:
<root>\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.16.27012\debug_nonredist