Visual Studio 2017 References - reference

Why are System dlls at version 4.0.0.0 when the .Net Framework of is 4.7.1?
Link to screenshot of VS project references

Related

MSM files for the Visual C++ redistributable for Visual Studio 2015 not found?

I have been using visual studio 2010 for long time now and just upgraded to VS 2015 (installed with default options). But I'm not able to find MSMs such as Microsoft_VC140_CRT_x64.msm
Where are the MSM files for the 2015 VC runtime?
The VC++ 2015 MSMs are located in %ProgramFiles(x86)%\Common Files\Merge Modules.
From Redistributing Visual C++ Files / Locate the redistributable files:
Another deployment option is to use redistributable merge modules (.msm files). In Visual Studio 2019, these files are part of an optional installable component named C++ 2019 Redistributable MSMs in the Visual Studio Installer. The merge modules are installed by default as part of a C++ install in Visual Studio 2017 and Visual Studio 2015. When installed in the latest version of Visual Studio 2019, you'll find the redistributable merge modules in %VCINSTALLDIR%Redist\MSVC\v142\MergeModules. In both Visual Studio 2019 and Visual Studio 2017, they're also found in %VCToolsRedistDir%MergeModules. In Visual Studio 2015, they're found in Program Files [(x86)]\Common Files\Merge Modules.
It is important that the VC++ runtimes be installed with proper version checking, since the major version and file names have stayed the same between VC++ 2015, 2017 and 2019.
From C++ binary compatibility between Visual Studio 2015, 2017, and 2019:
We've kept the Microsoft Visual C++ Redistributable major version number the same for Visual Studio 2015, 2017, and 2019. That means only one instance of the Redistributable can be installed at a time.

Visual Studio System.ValueTuple assembly error when creating a NodeJS project

I am running Visual Studio 2017 (15.8.0) with .NET Framework 4.6.01055 on Windows 10 Enterprise 2015 LTSB 64-bit (10.0, Build 10240).
Upon creating a new NodeJS project, for example: New->Javascript->Node.js->Blank Node.js Console Application
When the .njsproj file opens, I get this error:
Microsoft Visual Studio
Could not load file or assembly 'System.ValueTuple, Version=4.0.2.0,
Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)
I've uninstalled and reinstalled .NET Core and Visual Studio, yet I'm getting the same error. How can I resolve this error?
Installing .NET Framework 4.7.2 fixed this issue for me

npm - Error: The specified procedure could not be found

Error:
module.js:347
' for module ' + JSON.stringify(this.id));
^
Error: The specified procedure could not be found.
c:\Users\Artur\workspace\xxx\node_modules\gulp-sass\node_modules\node-sass\vendor\win32-x64\binding.node
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (c:\Users\Artur\workspace\xxx\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:211:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
System:
OS: Windows 8.1 (64-bit)
node: v0.12.0
npm: 2.5.1
Background:
Yesterday I was trying to start a new project. And tried to use yeoman generator generator-gulp-angular and got a bunch of visual basic errors. So I installed Microsoft Windows SDK and a bunch of other stuff from Microsoft. So now I have a lot of Microsoft entries in my installed applications listing and I'm lost when I look at these:
These might be relevant for the problem:
Microsoft Visual C++ x64 Libraries
Microsoft Visual C++ x86 Libraries
Microsoft Visual C++ 2005 Redistributable
Microsoft Visual C++ 2005 Redistributable
Microsoft Visual C++ 2005 Redistributable
Microsoft Visual C++ 2005 Redistributable (x64)
Microsoft Visual C++ 2005 Redistributable (x64)
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.4148
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4974
Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219
Microsoft Visual C++ 2010 Express - ENU
Microsoft Visual C++ 2012 x64 Additional Runtime - 11.0.61030
Microsoft Visual C++ 2012 x64 Minimum Runtime - 11.0.61030
Microsoft Visual C++ 2012 x86 Additional Runtime - 11.0.61030
Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.61030
Microsoft Visual C++ 2013 32bit Compilers - ENU Resources
Microsoft Visual C++ 2013 Core Libraries
Microsoft Visual C++ 2013 x64 Additional Runtime - 12.0.21005
Microsoft Visual C++ 2013 x64 Debug Runtime - 12.0.21005
Microsoft Visual C++ 2013 x64 Minimum Runtime - 12.0.21005
Microsoft Visual C++ 2013 x86 Additional Runtime - 12.0.21005
Microsoft Visual C++ 2013 x86 Debug Runtime - 12.0.21005
Microsoft Visual C++ 2013 x86 Minimum Runtime - 12.0.21005
Microsoft Visual C++ 2013 x86-x64 Compilers
Microsoft .NET Framework 2.0 SDK (x64) - ENU
Microsoft .NET Framework 4 Multi-Targeting Pack
Microsoft .NET Framework 4.5 Multi-Targeting Pack
Microsoft .NET Framework 4.5 SDK
Microsoft .NET Framework 4.5.1 Multi-Targeting Pack
Microsoft .NET Framework 4.5.1 Multi-Targeting Pack (ENU)
Microsoft .NET Framework 4.5.1 SDK
I have no idea what I really need/don't need or if anything is conflicting.
I didn't get anything to work yesterday so I finished right there.
So today I found out that I had an old version of npm (1.4.28) and upgraded it to version 2.5.1. I just downloaded a new x64 installer from nodejs.org.
After that everything was broken. I can't even run gulp serve anymore to launch my existing/working application. For hours I tried to download/repair/uninstall/install Windows SDK, nodejs etc. Tried a bunch of commands which I still don't fully understand and I'm still lost.
Few things from the top of my head which I tried:
npm cache clean
deleted node_modules folder and ran npm install
tried some commands I found with node-gyp
tried to set the msvs_version attribute to something
restart
The error makes me think that something is wrong with some kind of a compiler.
But I have no idea what's really going on. So I'm trying to understand what could be the cause of the problem? What should I try next to fix the error?
If any addition information is needed let me know.
EDIT (APRIL 2ND, 2015):
Node-sass has since fixed the issue. You can safely use Node v0.12, just make sure to install the latest version of Node-sass and also update your local AND global version of Gulp (https://github.com/gulpjs/gulp/issues/873). I'll leave the original response below for archiving purposes.
Uninstall Node v0.12 and install Node v0.10.28
http://nodejs.org/dist/v0.10.28/
You'll want the .msi installer
That fixed the issue for me.
Apparently it's an issue with node-sass that won't be fixed until they update:
https://github.com/sass/node-sass/issues/653

This version of Visual Studio does not have the following project types installed or does not support them

I have installed Visual Studio 2012, and I have developed a WindowsPhone8 Application in Worklight 6.1.
Now I am trying to open that .csproj into studio 2012 will prompt me an error
"This version of Visual Studio does not have the following project types installed or does not support them"".
Can any one help me ? How do I resolve this?
In order to open a project WP8 on Visual Studio, you must have :
Windows 8 or Windows 8 Pro
VS2012 or 2013
WP SDK 8
source : http://go.microsoft.com/fwlink/?LinkId=265773

Visual C++ Runtime Distributable 2010 in Visual Studio 2012

I need to be able to distribute Visual C++ Runtime Distributables 2010 in Visual Studio 2012 using ClickOnce. How do I get the 2010 C++ bootstrapper to appear in the VS 2012 Prerequisites? The 2012 bootstrapper is already there. Can I have both?
You can accomplish this by hacking your project file and copying some files. The example below is for using the Visual C++ 2012 Runtime libraries in Visual Studio 2013. You will have to change some version numbers if you are using a different version of Visual Studio or want a different version of the Visual C++ Runtime libraries.
First add the following to your project file:
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Visual.C++.11.0.x64">
<Visible>False</Visible>
<ProductName>Visual C++ 2012 Runtime Libraries %28x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
The example above is for the 64-bit version of the Visual C++ 2012 Runtime Libraries. If you want to use the 32-bit version you should replace x64 with x86. And if you want to use a different version of the C++ library you will have to change the 11.0 version number. If you open your project at this point and go to the prerequisites you will notice a warning that Visual Studio 2013 cannot find the Visual C++ Runtime Libraries. To fix this you will need to copy some files.
Go to the following folder: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages. If you want a different version of the C++ Runtime Libraries you should change the v8.0a version number.
Copy the folder vcredist_x86 to the folder that Visual Studio 2013 uses: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\Bootstrapper\Packages. Make sure you use a different name to avoid overwriting the 2013 libraries. I used vcredist_x64.2012.
At this point you can open your solution and publish your solution. When users install your application they will be asked to also install the C++ Runtime libraries. If your users already installed the application they will need to reinstall otherwise they won't get the question to install the C++ Runtime libraries.
It might be possible that you don't have the C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages folder on your system. I think you only get this folder when you install Visual Studio 2012 besides Visual Studio 2013. Feel free to edit this question if you know where you can just download the files without having to install Visual Studio 2012.

Resources