Tuesday, October 6, 2015

HOW TO FIX VISUAL STUDIO 2015 "Microsoft.VCLib Version:14" ERROR


We all are moving forward to Windows 10 and latest development kits.
If you’ve recently installed the Windows 10 (any build) along with Visual Studio 15 (any build), you might encounter the following compiler error while trying to build your Blank Universal App Template:

Error MSB3774: Could not find SDK “Microsoft.VCLibs, Version=14.0″

Well, I encountered the same error and googled everything I could to solve this issue for good 6-7 hours. As of now there is no solution to this error other than re-installing your VS 2015. But, I cannot do the re-install so I started to solve it myself and checked what is happening and why I am getting the following error. I came across a solution which is written below.

I found this fix and it worked perfectly for me without any further errors or problems. I cannot guarantee that it will work for everyone but I hope it will.

 

Here are the STEP BY STEP PICTURES to solve the error :


STEP 1 : Find the Output of the Error and Go the address or file location mentioned in the Error.


As you can see it shows Build Failed and 1 error with a file location.

Go to this Directory : C:\Program Files (x86)\MSBuild\Microsoft\.NetNative and Find the file named : "Microsoft.Net.CoreRuntime.targets"

STEP 2 : IMPORTANT STEP : RENAME THE FILE FROM : "Microsoft.Net.CoreRuntime.targets" TO "Microsoft.Net.CoreRuntime -COPY.targets".



DO NOT DELETE THE FILE. IT MAY HAPPEN THIS FIX WON'T WORK FOR YOU, IN THAT CASE YOU WILL NEED THIS FILE.

STEP 3 : You are done !!! Come back to your VS Project and do a Rebuild and Deploy. It will work perfectly now.



Tell me in the comments below if this fix helped/worked for you. If you have any doubts or questions, feel free to ask me in the comments below. 

 

Don't forget to comment, subscribe and follow me on Google+ Hey24sheep Twitter : @MRKN_Destroy Youtube : Hey24sheep. 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.