For those of you who are getting either one of the following errors:
During your Build Process of a WinFX Project:
Error 1 The "Microsoft.Build.Tasks.Windows.GetWinFXPath" task could not
be loaded from the assembly PresentationBuildTasks, Version=3.0.51116.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not load file or
assembly 'PresentationBuildTasks, Version=3.0.51116.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system
cannot find the file specified. Confirm that thedeclaration
is correct, and that the assembly and all its dependencies are available.
or
During creation of a new WinFX Project:
"Package Load Failure"
Package "PresentationDesignVisualStudio has failed to load properly (
GUID = {E582A8B-BCC4-4559-AD59-D62EB6D58A22} ). Please contact package
vendor for assistance. Application restart is recommended, due to
possible environment corruption. Would you like to disable loading this
package in the future? You may use 'devenv /resetskipppkgs' to
re-enable package loading.
Check out the following post to the newsgroups (I posted GooberDLX): post
The process seems to be simple to fix:
- Uninstall WinFX SDK.
- Move “C:Program FilesReference Assemblies” to a different folder (I renamed it to “_Reference Assemblies”).
- Repair WinFX RC Feb.
Try it out, let me know how it goes… I’m doing it currently and so far it’s working smoothly.
UPDATE
All I had to do was uninstall everything, delete the reference assemblies folder, and reinstall everything. Worked like a charm. In case you accidentally hit “Yes, I want to skip loading these packages” when you were recieving errors, just start Visual Studio 2005 from the command line with the /resetskippkgs parameter…