Hello,
I installed the GHI NETMF v4.1 and .NET Gadgeteer Package on Windows 8 Consumer Preview.
If I only make a simple console application and I start it with F5 I get an error message in
visual Studio c#
Tell me a bit more about your install. Is this on Visual Studio 2010? Did you do an upgrade install of Windows 8 or a clean install?
By “Simple Console Application” are you talking a non-NETMF application?
I’ve had no issues with Visual Studio 2010 on Win8 CP
When in doubt, do a repair install of Visual Studio.
@ dobova
After installing VS11, you’ll need to reinstall the NETMF and Gadgeteer stuff as I recall. Installing VS11 beta does some things to mess up that install.
@ Stepan Bechynsky - I’m running my Gadgeteer stuff on Windows 8 RP just fine.
Looking at your install order there, it’s conceivable you may have some issues from installing VS 2010 after VS 2012 RC. While I can’t say for sure that’s your issue, as a rule if I’m installing multiple versions of Visual Studio, I always install the older version first, just in case.
YES I can confirm you MUST install VS 2010 first before VS 2012 I made this mistake as well but its a test bed so I just rebuilt but installed in the correct order. As a side note I was bummed to find you can not run the 2012 blend in windows 7 I understand why and can work with it.
If I understood you properly, you get that error in a clean Win 8 RP + VS 2010 when just creating a simple console application… is that correct?
What version of the .NET Framework are you targeting? Do you see the error with both 2.0 and 4.0?
Could you please share the exact complete error? Do you see any related error on the Event Viewer when this happens?
I just did a clean install of Windows 8, and only installed VIsual C# Express 2010, NETMF, and the GHI Installer, and got this error. I was able to fix it by manually installing the .NET 3.5 runtime from http://www.microsoft.com/en-us/download/details.aspx?id=21
You don’t have to install VS2010 first. In fact, in my demo machine, I installed VS2010 last. In fact, for straight NETMF development, that works better, as you’d probably have to reinstall the NETMF and Gadgeteer SDKs after installing VS2012 over a VS2010 installation.
VS2010 doesn’t rely on .NET 3.5, so I’m surprised you’d get any errors there.
Also, please note that I did not do an upgrade install on any of these machines. They’ve all been clean installs. My machines get really polluted with tons of interim/beta stuff for demos, so I use OS upgrades as a good place to clean that up.