Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Problem upgrading to Feb CTP

Closed Thread
 
Thread Tools Display Modes
Old 02-24-2006   #1 (permalink)
Jason Dolinger
Guest


 

Problem upgrading to Feb CTP

Hi all,

I tried to upgrade from the Dec CTP to the Feb CTP. After successive
attempt, I finally removed Visual Studio as well, then installed
everything in the following order:

- WinFX runtime
- Visual Studio
- Windows SDK
- Visual Studio extensions

I can at least open my projects, but any build results in the following:

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 the <UsingTask> declaration
is correct, and that the assembly and all its dependencies are available.

Is anyone else experiencing this?

Jason

Old 02-24-2006   #2 (permalink)
Jason Dolinger
Guest


 

Re: Problem upgrading to Feb CTP

Jason Dolinger wrote:
> Hi all,
>
> I tried to upgrade from the Dec CTP to the Feb CTP. After successive
> attempt, I finally removed Visual Studio as well, then installed
> everything in the following order:
>
> - WinFX runtime
> - Visual Studio
> - Windows SDK
> - Visual Studio extensions
>
> I can at least open my projects, but any build results in the following:
>
> 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 the <UsingTask> declaration is correct, and that the
> assembly and all its dependencies are available.
>
> Is anyone else experiencing this?
>
> Jason
>


I think the problem is tied to the fact that when I try to create a new
project, I get this message:

"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.
Old 02-24-2006   #3 (permalink)
Leo Xue
Guest


 

Re: Problem upgrading to Feb CTP

You should remove the reference of PresentationBuildTasks the reload it.
As I noticed, the location of the assembly(s) is changed in the new SDK.

Hope this help.


"Jason Dolinger" <jdolinger@lab49.com>
??????:OLUcMjMOGHA.1360@TK2MSFTNGP10.phx.gbl...
> Hi all,
>
> I tried to upgrade from the Dec CTP to the Feb CTP. After successive
> attempt, I finally removed Visual Studio as well, then installed
> everything in the following order:
>
> - WinFX runtime
> - Visual Studio
> - Windows SDK
> - Visual Studio extensions
>
> I can at least open my projects, but any build results in the following:
>
> 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 the <UsingTask> declaration
> is correct, and that the assembly and all its dependencies are available.
>
> Is anyone else experiencing this?
>
> Jason
>



Old 02-24-2006   #4 (permalink)
GooberDLX
Guest


 

Re: Problem upgrading to Feb CTP

I have the same exact problem... I had the January CTP installed, used the
uninstall tool, and installed the other tools as instructed.

I am seeing the exact same error messages.

I've tried repairing twice and reinstalling 3 times. No luck.
Jake

"Leo Xue" wrote:

> You should remove the reference of PresentationBuildTasks the reload it.
> As I noticed, the location of the assembly(s) is changed in the new SDK.
>
> Hope this help.
>
>
> "Jason Dolinger" <jdolinger@lab49.com>
> ??????:OLUcMjMOGHA.1360@TK2MSFTNGP10.phx.gbl...
> > Hi all,
> >
> > I tried to upgrade from the Dec CTP to the Feb CTP. After successive
> > attempt, I finally removed Visual Studio as well, then installed
> > everything in the following order:
> >
> > - WinFX runtime
> > - Visual Studio
> > - Windows SDK
> > - Visual Studio extensions
> >
> > I can at least open my projects, but any build results in the following:
> >
> > 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 the <UsingTask> declaration
> > is correct, and that the assembly and all its dependencies are available.
> >
> > Is anyone else experiencing this?
> >
> > Jason
> >

>
>
>

Old 02-24-2006   #5 (permalink)
Jason Dolinger
Guest


 

Re: Problem upgrading to Feb CTP

GooberDLX wrote:
> I have the same exact problem... I had the January CTP installed, used the
> uninstall tool, and installed the other tools as instructed.
>
> I am seeing the exact same error messages.
>
> I've tried repairing twice and reinstalling 3 times. No luck.
> Jake
>
> "Leo Xue" wrote:
>
>> You should remove the reference of PresentationBuildTasks the reload it.
>> As I noticed, the location of the assembly(s) is changed in the new SDK.
>>
>> Hope this help.
>>
>>
>> "Jason Dolinger" <jdolinger@lab49.com>
>> ??????:OLUcMjMOGHA.1360@TK2MSFTNGP10.phx.gbl...
>>> Hi all,
>>>
>>> I tried to upgrade from the Dec CTP to the Feb CTP. After successive
>>> attempt, I finally removed Visual Studio as well, then installed
>>> everything in the following order:
>>>
>>> - WinFX runtime
>>> - Visual Studio
>>> - Windows SDK
>>> - Visual Studio extensions
>>>
>>> I can at least open my projects, but any build results in the following:
>>>
>>> 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 the <UsingTask> declaration
>>> is correct, and that the assembly and all its dependencies are available.
>>>
>>> Is anyone else experiencing this?
>>>
>>> Jason
>>>

>>
>>


Well, I got fed up and restored my system... I've now done two
upgrades, Nov CTP -> Dec CTP, Dec CTP -> Feb CTP. In terms of success
rate it's 0 for 2 for me (exactly following the directions from the
winfx site and using the uninstall tool).

Jason
Old 02-25-2006   #6 (permalink)
Vanya
Guest


 

RE: Problem upgrading to Feb CTP

I solved this problem, but don't know exactly how.

There was Dec CTP on my computer.
I uninstall Dec [VS Extensions and RC Components] and install Feb (without
SDK).

Error about Microsoft.Build.Tasks.Windows.GetWinFXPath (above).

I uninstall Dec SDK and tried install Feb SDK (minimum). After ~100 Mb
downloading through my 56k modem installation stoped with Uknown Fatal Error.

I removed all this stuff

After that i install Feb RC Components again, Dec SDK, Feb VS Extensions.
And recieved another error about versions 3.0.51116.0 vs 6.0.5070.

I removed RC Components, RENAME C:\Program Files\Reference Assemblies folder
and install RC Components again. Now it's work.

Maybe this helps.

Old 02-27-2006   #7 (permalink)
Nick Howell
Guest


 

Re: Problem upgrading to Feb CTP

I'm getting the same problem. Also, all of my WPF-related references are
marked as not loading in VS, even if I add them by browsing to them. The
only "Presentation" dlls showing up in my GAC are CFFRasterizer,
Framework.Royale, and UI.

Nick

Jason Dolinger wrote:
> Hi all,
>
> I tried to upgrade from the Dec CTP to the Feb CTP. After successive
> attempt, I finally removed Visual Studio as well, then installed
> everything in the following order:
>
> - WinFX runtime
> - Visual Studio
> - Windows SDK
> - Visual Studio extensions
>
> I can at least open my projects, but any build results in the following:
>
> 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 the <UsingTask> declaration is correct, and that the
> assembly and all its dependencies are available.
>
> Is anyone else experiencing this?
>
> Jason
>

Old 02-27-2006   #8 (permalink)
Nick Howell
Guest


 

Re: Problem upgrading to Feb CTP

Also, the WindowsBase library *is* in my GAC, but VS still marks it as
missing when I reference it.

Nick

Nick Howell wrote:
> I'm getting the same problem. Also, all of my WPF-related references are
> marked as not loading in VS, even if I add them by browsing to them. The
> only "Presentation" dlls showing up in my GAC are CFFRasterizer,
> Framework.Royale, and UI.
>
> Nick
>
> Jason Dolinger wrote:
>> Hi all,
>>
>> I tried to upgrade from the Dec CTP to the Feb CTP. After successive
>> attempt, I finally removed Visual Studio as well, then installed
>> everything in the following order:
>>
>> - WinFX runtime
>> - Visual Studio
>> - Windows SDK
>> - Visual Studio extensions
>>
>> I can at least open my projects, but any build results in the following:
>>
>> 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 the <UsingTask> declaration is correct, and that the
>> assembly and all its dependencies are available.
>>
>> Is anyone else experiencing this?
>>
>> Jason
>>

Old 02-28-2006   #9 (permalink)
Nick Howell
Guest


 

Re: Problem upgrading to Feb CTP

I think I might have found part of the problem: the Windows SDK contains
version 3.0.51116.0 of the various files, but the WinFX RC Feb CTP
contains version 3.0.50727.38...

Could this be causing the issue? Most of my Presentation files
(including PresentationFramework and PresentationBuildTasks) are marked
3.0.50727.38, but Visual Studio (and XAMLPad) complain that they can't
find version 3.0.51116.0.

Could somebody on the WPF team tell me if I'm right about this, and if
so, how I would go about fixing it?

Thanks,
Nick
Old 02-28-2006   #10 (permalink)
Nick Howell
Guest


 

Re: Problem upgrading to Feb CTP

OK, I found the problem and fixed it. Assuming that everybody else has
the same problem as me (instead of just the same symptoms), here's what
I did:

Uninstall WinFX SDK.
Move "C:\Program Files\Reference Assemblies" to a different folder (I
renamed it to "_Reference Assemblies").
Repair WinFX RC Feb.

The problem is (apparently) that some old assemblies get left behind in
the Reference Assemblies folder, and the new RC CTP doesn't overwrite
them. So, the new assemblies are not copied to the folder, and thus
can't be registered in the GAC.

By removing the folder (or renaming it) and reinstalling the RC, you get
it to install the new assemblies.

You have to uninstall the SDK so that you can reinstall it after
removing the Reference Assemblies folder.

I hope this helps all you guys having this problem.

Nick Howell
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem upgrading from XP SP2 to Vista Vinny Merc Vista installation & setup 1 03-28-2007 11:10 PM
problem with upgrading Libor T. Vista installation & setup 0 03-21-2007 02:58 AM
A Problem I've had In Upgrading Vista Manok Vista General 0 03-03-2007 10:46 PM
Problem upgrading to RC2 from RC1 David Vista installation & setup 1 10-10-2006 11:07 AM
WindowsFormIntegration.DLL problem after upgrading to Feb CTP Lei Jiang Avalon 1 02-24-2006 04:11 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50