Friday, November 16, 2012

Problems running applications using older dotnet framework on W8

When trying to download dotnet 3.5 automaticly the download fails. Oddly enough, using an previous offline package installer for dotnet3.5 this package also tells me that it needs the dotnet package.

Chew on that for a minute. The actual install package for dotnet 3.5 requires some older version of dotnet (that is included in this dotnet3.5 package) to installa on Windows 8.

Anyways, if you have a W8-disc you can use solution below.

Solution: This is using a w8 installationsdisc or image.

  1. From elevated cmd
  2. /> dism /online /enable-feature /featurename:netfx3 /all /limitaccess /source:x:\sources\sxs

Where x:\ is your mountpoint or discdrive.

/all enables all parent features of dotnet

/limitaccess prevents dism from contacting Windows Update

/source specifies location of files.

References:

http://msdn.microsoft.com/en-us/library/hh506443.aspx

No comments: