xpTarget error

9 views (last 30 days)
Michael Hasenfratz
Michael Hasenfratz on 22 Jun 2012
New install R2012a Can anybody give me a hint as to why I get the following?
>> tg = xpc;
Error using targets.targets (line 36) Message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Source: mscorlib HelpLink:
Error in xpc (line 17) tgs = xpctarget.targets;
>>

Answers (1)

Kaustubha Govind
Kaustubha Govind on 22 Jun 2012
It seems that this error might occur if you have a corrupt installation of .NET Framework. R2012a requires v4.0: <http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=17718>
  1 Comment
Rajiv Ghosh-Roy
Rajiv Ghosh-Roy on 26 Jun 2012
Sometimes the .NET framework appears to be installed, though the installation is corrupt. Best bet is to uninstall and reinstall the .NET 4.0 framework.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!