Reputation: 3044
I wrote some code for class on my desktop at home which has microsoft visual studio 2015 desktop but when I download it from google drive to my laptop for class I can't compile or test my code. I get an error in the picture below.
I have microsoft visual studio 2013 express on my laptop and emailed my teacher for help on how to solve it. She directed me to a solution in this link Visual Studio 2013 error MS8020 Build tools v140 cannot be found which I followed but does not work for me.
Is there a way to resolve this? Or do I need to write it from scratch?
Upvotes: 0
Views: 486
Reputation: 10039
You need to change the target toolset for your project (more information here). Generally newer toolset versions cannot be used in older Visual Studio versions, however, older toolsets can be used in newer Visual Studios. So, you need to set the toolset to the oldest version you will be using.
Go to the project properties for your project, and in the General
tab, change the Platform Toolset
to Visual Studio 2013 (v120)
, and your project should work in both VS2013 and VS2015.
Upvotes: 2