Compiling Desktop & Silverlight Composite Application Library Error

Topics: Prism v2 - Silverlight 3
Oct 25, 2009 at 2:31 PM

Hi all,

Can someone help understand why when I try to compile the project opened by Desktop & Silverlight - Open Composite Application Library.bat I get a lot of different errors.

Before I go on can you please tell me the difference between the 2? What is Desktop & Silverlight for? I thought maybe Desktop was for WPF but a lot of the examples out there are telling you to use the libaries from the Desktop folder in silverlight applications. Which one do you recommend I use?

Back to my issues,

When I compile the Desktop project, all is ok but when I try to compile the Silverlight project, I get hundreds of errors (697 errors and 11 warnings to be exact!).

I spotted that in Composite.Silverlight.Tests project, a couple of references are missing from all the test projects that are part of the solution which are probably at the cause of my problems. I've search for them but they are no where to be found in my prism folder. The assemblies are:

Microsoft.Silverlight.Testing.dll

Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight

Anyone's got any ideas why this is happening and how can I fix this error?

One last thing here, in one of the blogs I'm reading about Prism (http://www.tanguay.info/web/index.php?pg=howtos&id=16), the gent here mentions you should include .xml file for the intellisense which is fair enough but not all of them are present in the folder, again why is that? Should I change the property in the project to generate the xml or should get them from somewhere else? The folder he recommends to take the files from is "C:\prismv2\CAL\Silverlight\Composite.UnityExtensions\bin\Debug" - Is this the right place?

Any help would be appreciated.

Thanks.

Thierry

Oct 25, 2009 at 5:01 PM

Hello,

The Desktop libraries are for developing WPF based on Prism.

The Silverlight libraries are for developing Silverlight based on Prism.

 

How did you get the source code? Through normal download for the package or through source code? I had once the same problems you are facing, and then I used the source code downloaded through "TortoiseSVN" and used "V2". All worked fine.

As for the ".xml", once you compile successfully the above library, depends on what you are developing, in case of Silverlight, you get the "dlls" and "xml" from:

"CAL\Silverlight\Composite.UnityExtensions\Bin\Debug"

 

Hope this helps,
Regards