I am developing a Silverlight C # application and I added a link to the Microsoft DLL and received the following message:
Type exists in both DLLs.
Since I use a control that is defined in both DLLs (one is associated with the SDK, the other I added myself).
After doing some research on the Internet, I tried to alias both DLLs and import them using extern alias <alias_name> . This approach solved some of the problems in the xaml.cs code behind, but did not really solve the problem in xaml. After that, Visual Studio complained that one of the controls (from the added DLL) was not specified in the namespace.
So I'm wondering if there is a way to specify a namespace in XML using an alias?
Thanks.
source share