WPF error message

WPF error message

Ning_Zhou
Advocate Advocate
693 Views
4 Replies
Message 1 of 5

WPF error message

Ning_Zhou
Advocate
Advocate

anyone used WPF a lot?

 

see attached image, nothing is changed and everything is working well, except this error message pops up frequently especially when i (re)build solution.

 

any way to avoid it, just too annoying that i have to click "Click here to reload the designer" everytime when it popped up.

 

thanks.

0 Likes
694 Views
4 Replies
Replies (4)
Message 2 of 5

augusto.goncalves
Alumni
Alumni

Apparently this is related to how VS handles the DLLs

 

It seems that it need to be placed on these folder C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies

 

That way VS will recognize it as expected...can you try it? Hope it helps...

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes
Message 3 of 5

Ning_Zhou
Advocate
Advocate

thanks Augusto.

 

which files to put under C:\Program Files (x86)\Microsoft Visual Studio 1x.0\Common7\IDE\PublicAssemblies? i tried both RevitAPIUI.dll and my compiled stuff but doesn't work.


 very appreciated.

0 Likes
Message 4 of 5

augusto.goncalves
Alumni
Alumni

Thanks for testing and reporting it....


Can you also try this: http://connect.microsoft.com/VisualStudio/feedback/details/728263/xaml-editor-reports-unexpected-err...

 

 

 

 

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes
Message 5 of 5

Ning_Zhou
Advocate
Advocate
thanks Augusto.

no, doesn't work -> click rebuild will have that error message popped up again.
0 Likes