Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug Intellisense, ability to create events, controls etc. stops working when assembly not specified
0 replies. Latest Post by jpsscott on March 31, 2008.
(0)
jpsscott
Member
51 points
84 Posts
03-31-2008 11:22 AM |
Hi,
Spent a few hours this morning trying to figure out why I wasn't able to have my *.g.cs file auto-update the the new control I added. I also had found that Intellisense wasn't working and when I went to implement an event handler using right-click Navigate to Event Handler for Xaml code it failed as well.
Came to realize that in the <UserConrol element I was specifying another user control to re-use and I was including my clr-namespace, but not my assembly.
The assembly for the other user control is my one and only assembly so the code worked, but it created the problems above.
When I put the name of my only assembly in as clr-namespace=X;assembly=MyAssemblyName things started working much better.
Seems to be centered directly around leaving out the assembly setting that causes the problem.
Thanks,
James