|
| Visual Studio 2005 hangs |
 |
Mon, 24 Mar 2008 10:45:59 +000 |
Hi.
I have a .ascx file, and when I open that file , my VS2005 hangs.
So I started to figure out why, and found out:
This is the line that causes VS to hang:
<a href="http://de.msn.com"><img
src="http://estc.msn.com/br/gbl/lg/1/m/msft.gif" alt="gehe zu
MSN.de – Nachrichten, Unterhaltung, Geld & Finanzen, Auto und mehr bei
MSN" width="118" height="35" /></a>
and more specifically, when I remove - after MSN.de its ok. Put - back after
MSN.de and try to save file in VS and it hangs.
|
| Post Reply
|
| Re: Visual Studio 2005 hangs |
 |
Thu, 27 Mar 2008 02:09:39 +000 |
Hi valmar,
When you open the web user control in design view, Visual Studio tries to render
all the control in it. Since the img element’s src attribute is point to the
gif file which exists in the external internet web site, the render process
would be time consuming.
To solve this issue, please copy the gif file from
http://estc.msn.com/br/gbl/lg/1/m/msft.gif to the local project’s folder. For
example, in the “images” folder:
<a href="http://de.msn.com"><img
src="images/msft.gif" alt="gehe zu MSN.de – Nachrichten,
Unterhaltung, Geld & Finanzen, Auto und mehr bei MSN"
width="118" height="35" /></a>
In addition, I should mention that I have pasted your original code into my
.ascx file for test, but I didn't encounter the hang issue whatever I opened or
saved the .ascx file. Hence, I would like to know whether you applied service
pack 1 for Visual Studio 2005.
Microsoft® Visual Studio® 2005 Team Suite Service Pack 1
http://www.microsoft.com/downloads/details.aspx?FamilyId=BB4A75AB-E2D4-4C96-B39D
-37BAF6B5B1DC&displaylang=en
|
| Post Reply
|
|
|
|
|
|
|
|
|
|