Today while working on one of my Silverlight Project, I did some changes in the user control and built the Project and all of sudden I got the compile time error saying:
Whitespace is not allowed after end of Markup Extension.
I tried finding where exactly the whitespace has come. Initially I thought while giving name to any of control I gave white space in it but was wrong and then I could find what was the issue. Check the image you will understand what mistake I did and I thought of writting this blog.
Happy Coding!!!!

Was of great help!
ReplyDeleteThanks...Express Blend could do a better job of pin pointing the exact line rather than just referring to the UserControl.
I have a 12000 line XAML in which I had to locate it
Thanks for pointing that....I made the same mistake.......
ReplyDeleteHelped me out too - thanks!
ReplyDeleteThanks it was helpful.
ReplyDeleteHello,
ReplyDeleteThanks a lot for this nice tricks! I can't understand why Visual Studio don't give me a row number !
Thank u very much...
ReplyDeleteHi! What an annoying error from Visual Studio! Hope they fix this in the next release. Thanx.
ReplyDeleteReally helpful; XAML editor was not at all clear where the issue is, but I found it right away from this post!
ReplyDeleteThanks man...very helpul..saved me a lot of time..
ReplyDeleteThanks.
ReplyDeleteMany and Many thanks!
ReplyDeleteIt helped me so much that I also posted about this issue with a direct link to you.
http://digitallighthouse.net/?p=40
Hope you don't mind.
@Ricardo Figueiredo: no problem but just make one change in your post. Change his to her.. :)
ReplyDeleteThank you. This information saved my week :)
ReplyDeleteThaaaaaaaaaaaaaaaaaank you very very very much
ReplyDelete