Solved

Problem with Win 8 NET 3.5.

Posted on 2013-12-21
7
368 Views
Last Modified: 2013-12-26
Dear experts,

I have written a WinForm application under Net 3.5 and VS 2008. My installation program install Net 4 because I want to avoid the problem with Win 8 that have not install NET 3.5 and it is not possible my own installation to  add 3.5 As you know, this should be done via Windows – not good idea for mass-populiar application …

So under XP and Win 7 this style work fine  - I install NET 4 with my own install, but my application is compiled on NET 3.5/. But with win 8 – installation is OK, but when I run my app it show me a message that this application use Net 3.5 and I should install it. How can I avoid this ? May be with include manifest that tell the OS that run under NET 4 is fine ? .

P.S: WIn 8 look like a joke with this Metro interface and the new restristion it has, it is not for seriuos working people in any area, even in ordinary office work ...
0
Comment
Question by:dvplayltd
  • 4
  • 2
7 Comments
 
LVL 90

Expert Comment

by:John Hurst
ID: 39733658
On your Windows 8/8.1 machine, go to Control Panel, Programs and Features, and then Windows Features on the left of the window. Allow that to load.

Now select both .NET Framework 3.5 and 4.5.  Allow the changes to take place. OK out and restart the computer. Now run Windows Updates to update the above.

Then anything .NET 3.5 or better should run.

.... Thinkpads_User
0
 

Author Comment

by:dvplayltd
ID: 39733668
I know this, it is excatly what I want to avoid to tell 1000+ users to do on its computers ...

My ask is - is there is a way app compiled for net 3.5 to be delcared for WIndows as for Net4 ? With manifest file may be ?
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
ID: 39734903
No.

.NET 4 does not use the same runtime as older versions of the framework. So applications made for older versions do not work in 4.0.

Since most applications created in Visual Studio 2008 will compile properly in Visual Studio 2012 or 2013, why don't you use Visual Studio Express 2012 or 2013 to compile a 4.0 version of your application. They are free and will compile any code written in a bigger edition.

If the thing is for in-house deployment, you might also consider using ClickOnce deployment. It makes it easy to automatically install a given version of the framework before installing the application.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:dvplayltd
ID: 39735341
To Jumes

Thanks for your time and answer.

Your offer is correct, I install VS 2012, compile with NET 4 and the problem is gone. And I have 0 changes in code, so this is fine. The problem is that I use Hyper Addmin in VS 2008 which is a great time saving tool,  I use it for FAST navigation between my C# code. It do not work in VS 2010 and 2012 …

 So for now I’ll forget for Win 8,if a user get crazy and install Win 8 will add manually 3.5 . It is out of my question, but I do not see how a user for serious work will go Wit 8 which is abvoiusly target for simper task as just skype and web pages and for mobile phones, not for computers …

 I guess after few years I’ll go to VS 2012 or simple I make 2 project files – one with 2008 and one with 2012. When make a final release will compile 2012 with NET 4. My project is with WinForm, I make an test and find that changes are ONLY in project files.
0
 

Author Closing Comment

by:dvplayltd
ID: 39735343
Thanks for you short and detail answer - No way :-)
0
 
LVL 40
ID: 39735984
"I do not see how a user for serious work will go Wit 8"

I concur with you, but today, you have no choice. It's very hard to find a new PC that does not come with Windows 8 pré-installed. I bought a new one from Dell a month ago, and Windows 7 was not offered as an option. I had to go for Windows 8. Note that under the hood, if you do not use the Windows Style (Metro) interface, you end up with the same thing as Windows 7, minus the Start button.

So you should expect to see Windows 8 more and more as time goes by.
0
 

Author Comment

by:dvplayltd
ID: 39741012
Well, MS follow user asks and I'll predict the 8 will have the fate as Vista - the most users will skip it and just will go to Win 9.

P.S: My application is for seriours bussnes and need at least 1440x900, not some free or few dollars cost application with 1-2 screen so Metro interface is not useful at ALL.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now