Soft Corner

Soft Corner

  • 510
  • 2.3k
  • 794.8k

Error while adding xaml page in asp,net

Jul 19 2011 2:50 AM
Hi,
 
I am trying to add xaml page of silverlight into asp.net but while doing build it shows error :

" Project file must include the .NET Framework assembly 'WindowsBase, PresentationCore, PresentationFramework' in the reference list"

I gone thro' msdn link ,there is one solution to this problem is :
If you copied or moved an item from another project, its "Build Action" property might be set to "Page". This happened to me, and changing it to "Resource" (because that's what the item was) fixed the problem.

http://social.msdn.microsoft.com/Forums/en/msbuild/thread/7bf38ed6-43f8-492e-a304-0842e6c7c6b2

But how to do this , i mean how to create resource of xaml page in asp.net?


Answers (1)