Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wits end
Message
From
07/04/2011 14:10:39
 
 
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Title:
Environment versions
Environment:
C# 4.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01506407
Message ID:
01506414
Views:
66
WAG is there are reference in one set to specific version and in another where it is not?

>Hi,
>
>I just dusted off a WPF project I'd been working on using Prism/Unity. It was still on Prism 2 so I decided to upgrade to v4. There were a couple of changes to the namespaces used and the DLLs where they resided (details here:http://msdn.microsoft.com/en-us/library/gg430859(v=pandp.40).aspx). I refactored all the namespaces and changed to referenced DLLs. All seems fine except for *one* problem:
>
>I have a simple class defined thus:
public class ILLObjectDeletedEvent : Microsoft.Practices.Prism.Events.CompositePresentationEvent<DeleteInfo> { }
When this is referenced I get an exception:
>"Could not load file or assembly 'Microsoft.Practices.Composite.Presentation, Version=2.0.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified." so it is obviously still trying to resolve this using the v2 version of Prism (even though the namespace explicitly implies v4 - there was no such namespace in v2) I cannot find why this is so.
>
>Also - An oddity: the solution contains two potential startup apps. One give this exception but the other does not.
>
>Any suggestions of what I might try to track down the root of this problem ?


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Reply
Map
View

Click here to load this message in the networking platform