First, thanks to Orich for putting the time in to make the awesome tutorials.
I thought it might be helpful to post some reference information concerning Visual Studio since Orich uses VS2012 in his tutorial. Note: I've mostly used Visual Studio Express editions for C++ projects in the past. My first introduction to C# was from Orich's tutorial.
Multiple Versions of Microsoft Visual StudioMicrosoft's RecommendationI have run into issues in the past with compatibility of multiple Microsoft Visual Studio installations on my computer. To avoid compatibility issues, I recommend following Microsoft's advice:
We recommend that you install Visual Studio versions in the order in which they were released. For example, install Visual Studio 2010 before you install Visual Studio 2012. -http://msdn.microsoft.com/en-us/library/ms246609.aspx
.NET CompatibilityWhen I downloaded Orich's sample oRune code, I noticed that his solution was saved in VS2012. Then I went back and read his post more closely and sure enough he lists the code as
I tried to open the oRune solution file and it seemed like my computer just sat there and did nothing. So I tried opening VS2010 and opening the solution file from the file->open menu and I was prompted that it was an incompatible file version. Well I wasn't going to let Visual Studio stop me from getting started. Visual Studio Solution and Project files are just text files so I opened the solution file up in Notepad++ and changed the version number from
Microsoft Visual Studio Solution File, Format Version 12.00
to
Microsoft Visual Studio Solution File, Format Version 11.00
This change tricks Visual Studio into thinking the solution file is a different version. v11 corresponds to VS2010 while v12 corresponds to VS2012.
After that change, I was able to open the solution with VS2010. Then I got a message stating that I did not have the .NET Framework 4.5 installed. Again I double checked Orich's post but this time his post for the .NET dll. Sure enough it requires .NET 4.5.
Built on .NET 4.5 (Requires 4.5)
So I set out to figure out how to get .NET 4.5 installed.
I looked into downloading VS2012 and saw that it installs .NET Framework 4.5. As a result of a couple Google searches on .NET framework compatilibity and VS2010 and VS2012, I found a good
StackOverflow post discussing that very topic. Basically, my understanding is that VS2010 can be compatible upgrading to .NET Framework 4.5 if you install VS2010 service pack 1. I checked "Windows Update" for VS2010 SP1 and was able to update. I also searched around and found
a download for VS2012 Express edition along with its
update.
After installing VS2012 with .NET Framework 4.5, I was able work through Orich's tutorial and get it working on my computer.
In summary:
1) Installing multiple versions of Visual Studio on your computer can create compatibility issues. These issues can be avoided if you follow the advice from Microsoft and install Visual Studio versions in the order of their release.
2) If you have VS2010 already and install VS2012, the .NET Framework 4.0 will be replaced by .NET Framework 4.5 and you will need to install VS2010 SP1 to make sure VS2010 can still see the .NET Framework 4.0.
Below are some helpful links to Visual Studio downloads:
2013 Express2012 Express2012 Express Update2010 Express2008 Express (C++)For the Moderators: If you think this post is in the wrong board please move it as you see fit.