Skip to main content

Microsoft Silverlight

Intellisense, ability to create events, controls etc. stops working when assembly not specifiedRSS Feed

(0)

jpsscott
jpsscott

Member

Member

51 points

84 Posts

Intellisense, ability to create events, controls etc. stops working when assembly not specified

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

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities