You can, in fact, still use .Net 3.5 on Windows 8

Was looking at a problem last week, trying to get 3.5 running on W8.

Turns out, it is an “optional” thingie.

http://msdn.microsoft.com/en-us/library/hh848079%28v=vs.85%29.aspx

This will be a problem in case you run your apps (that require 3.5) on a machine with a clean install of Windows 8.

Solution quoted from the url above

Mitigation

To enable .NET Framework 3.5 on only a few machines with clean installs of Windows 8 Consumer Preview:

 

  1. Copy \sources\sxs\ from the mounted operating system build ISO image to dotnet35 or similar folder. For example:
    xcopy e:\sources\sxs\*.* c:\dotnet35 /s
  2. Execute the following command line using admin privileges:
    Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\dotnet35 /LimitAccess

and

To enable .NET Framework 3.5 for EEAP builds and for apps that do not have access to Windows Update:

 

  1. Copy \sources\sxs\ from the mounted operating system build ISO image to the dotnet35 or similar folder. For example:
    xcopy e:\sources\sxs\*.* c:\dotnet35 /s
  2. Set the regkey:
    [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Servicing] “LocalSourcePath”=”c:\dotnet35”

I hope this gets you started.

Advertisements
This entry was posted in Computers and Internet. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s