blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Merrick Chaffer's Blog

Gotcha: Hyphens and Masterpages max out CPU in Visual Studio 2005

If you're copying from specs where the BA has the replace hyphens with dash setting selected in Microsoft Word (which is checked by default), then be careful if you copy that generated dash character into your .master page file. I've found today when you hit save on the – (Alt + 0150 in notepad) character in a .master page file your devenv.exe process is thrown into an infinite loop and will max out your CPU!

Same happens if you try and open a .master page file that another developer has checked in with this character inside it.

Smart Hyphens Setting MS Word

 Smart hyphens setting in MS Word

 

Published 21 August 2007 09:14 by merrick.chaffer

Comments

 

Keni.Barwick said:

I've also found that if you don't define the master page at the top by setting it in the web.config I get an "Unrecognized tag prefix" error...

I belive this has been fixed in Orcas Beta 2, have you tried to recreate the error in that?

August 21, 2007 10:54
Anonymous comments are disabled
Powered by Community Server (Personal Edition), by Telligent Systems