I'm trying to link FastCV with Windows runtime project on Visual Studio 2013. I'm getting the following error.
LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1700' .
Please help.
1800 --> Visual Studio 2013
1700 --> Visual Studio 2013
This means that you use a dependency (probably a .dll file) that is intended for Visual Studio 2012. Revise your dependencies, and make sure they are all compatible with VS 2013, or switch to VS 2012 (uninstall 2013 first then install 2012).
Related
Before, I used Visual Studio 2017 on Windows 10, It works fine.
Now, I want to use CFormView class in MFC (not in Visual Studio 2017), so I installed the Visual Studio 2015 (now with 2 Visual Studio in my system), but Visual Studio 2015 cannot even compile a simple project (the codes like blew in a "empty console application"):
The error messages when building the solution:
TRACKER : Error TRK005: Cannot find: "cl.exe".
The first of the 408 errors show:
cannot open source file "vcruntime.h"
So I found this file in Computer Disk C:
I am confused! When I installed Visual Studio 2015, I select the Computer Disk D:
Why some important Visual Studio 2015 files is in another disk Disk C with no Visual Studio 2015 program file Disk D?
Then I check the Properties of my Visual Studio project, there is no Disk C header files address in the default include dictionary:
$(VC_IncludePath)
$(WindowsSDK_IncludePath)
I am a beginner, and would you please tell me why this happened, and how to fix my Visual Studio 2015 to make it work? Thank you very much!
I have a fully updated Visual Studio Professional 2017 installed, and I am now trying to install SQL Server 2017 Developer Edition, but receive the following error message (translated to English by me) and the installation of the SQL server aborts:
The Visual Studio-Runtime Microsoft "Visual C++ 2019 X64 Minimum Runtime - 14.22.27821" has to be repaired.
The error message points me to a guide how to repair or remove programs, so I tried reinstalling SQL Server 2017 and Visual Studio, but both does not help, the error persists.
Is there anything else I could try to fix that broken runtime library? Does it matter that I also have/had the community version of Visual Studio Code installed?
I am not exactly sure what exactly solved my problem, what I tried doing is the following
Under Apps & features within the Windows Settings, I "repaired" all apps with a similar name to the error message, i.e. everything of the kind Microsoft Visual C++ 20xx Redistributable (x86) with xxbeing a 2-digit year, or a year range such as 15-2019.
Deinstalled the Visual Studio Community Edition.
Reboot the system multiple times afterwards and inbetween.
Point 2 might have just cargo cult to ease my mind, but all of this did not solve the issue yet.
Eventually I decided to install SQL Server 2017 Express rather than SQL Server 2017 Developer which miraculously worked. I can not rule out that my IT department solved it by obtaining additional licenses, since I am not able to figure out the exact time when the new keys got active.
I also ran into this problem.
I just updated my version of Visual Studio 2017 Community edition using the Visual Studio Installer and the issue went away.
I started to play with Driver development again and I am using Visual studio Enterprise 2017.
I have something that actually gives me a headache as to now start asking why I install WDK and it does not show up in visual studio 2017. This, as far as I am concerned, has not been resolved.
Please anyone with an idea why this is impossible? I mean why WDK templates won't show in Visual studio 2017?
As recently claimed by MS that they have added Reactjs support in .JSX files but I don't get any IntelliSense and on top of that HTML in it gets errors and red squiggly lines in my Visual Studio 2015 Enterprise. So, if it is there then how to get it?
Probably need Web Essentials for 2015
I have Visual Studio 2012 and Visual Studio 2013 installed on my development machine. My SQL projects were created with VS2013 and they compile fine from Visual Studio, but they fail with the following message when I use MSBuild from the command line:
Build Error: Incompatible versions of SQL Server Data Tools and
database runtime components are installed on this computer.
Note: This same error was encountered by other developers in Visual Studio 2012. See This SO question. I have verified that my versions of SSDT are up to date. I am not dealing with the same problem.
To resolve this issue you have to make sure you are using MSBuild 12.0 which comes with Visual Studio 2013 not MSBuild 4.0 which ships with the .Net 4.0 framework.
Make sure your path does not include the .Net 4.0 framework and then add MSBuild 12.0 to your path like this:
SET PATH=%PATH%;"%ProgramFiles(x86)%\MSBuild\12.0\Bin"
Another solution is to set the VisualStudioVersion property to 12.0 like this
MSBuild.exe My.sqlproj /p:VisualStudioVersion=12.0
Note: This same error message has appeared in many different versions of SSDT. This fix is specific to Visual Studio 2013