473,421 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 software developers and data experts.

VS2005: edit-and-continue when running within IIS

I am developing an assembly that can be used either by a Windows Forms
application or from within an ASP.NET web site.

When running within the Forms app, I can break into the code while it is
running and use edit-and-continue to modify the sourcecode and then
immediately execute the modifications.

When running within the web site, the source-code is all read-only when I
break into it. The little padlock icon appears in the tab for each of my
source files, and when I try to make a change the IDE beeps and displays
"Cannot currently modify this text in the editor. It is read-only."

Does anyone know why edit-and-continue doesn't seem to work in this
configuration? I have tried using both IIS and also the ASP.NET Development
Server, but in each case all my source was read-only...

Many thanks,

--

(O)enone
Nov 23 '05 #1
2 4882
Hi,

The same happens when you are debugging a DLL which is an add-in: you can
not use Edit and Continue. I guess that when an assembly is used by other
process (a second VS instance, IIS, etc.) you can not use E&C.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Oenone" <oe****@nowhere.com> escribió en el mensaje
news:nw***************@newsfe6-gui.ntli.net...
I am developing an assembly that can be used either by a Windows Forms
application or from within an ASP.NET web site.

When running within the Forms app, I can break into the code while it is
running and use edit-and-continue to modify the sourcecode and then
immediately execute the modifications.

When running within the web site, the source-code is all read-only when I
break into it. The little padlock icon appears in the tab for each of my
source files, and when I try to make a change the IDE beeps and displays
"Cannot currently modify this text in the editor. It is read-only."

Does anyone know why edit-and-continue doesn't seem to work in this
configuration? I have tried using both IIS and also the ASP.NET
Development Server, but in each case all my source was read-only...

Many thanks,

--

(O)enone

Nov 23 '05 #2
It's too bad that Edit and Continue won't work with ASP apps. But is
there still a way to edit source files while running the debugger?
This was possible with VS2003.

Thanks, Dave.
Carlos J. Quintero [VB MVP] wrote:
Hi,

The same happens when you are debugging a DLL which is an add-in: you can
not use Edit and Continue. I guess that when an assembly is used by other
process (a second VS instance, IIS, etc.) you can not use E&C.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Oenone" <oe****@nowhere.com> escribió en el mensaje
news:nw***************@newsfe6-gui.ntli.net...
I am developing an assembly that can be used either by a Windows Forms
application or from within an ASP.NET web site.

When running within the Forms app, I can break into the code while it is
running and use edit-and-continue to modify the sourcecode and then
immediately execute the modifications.

When running within the web site, the source-code is all read-only whenI
break into it. The little padlock icon appears in the tab for each of my
source files, and when I try to make a change the IDE beeps and displays
"Cannot currently modify this text in the editor. It is read-only."

Does anyone know why edit-and-continue doesn't seem to work in this
configuration? I have tried using both IIS and also the ASP.NET
Development Server, but in each case all my source was read-only...

Many thanks,

--

(O)enone


Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Kai Rohrbacher | last post by:
Hi all, does someone know a good resource which describes the differences between MS' new "Express" editions vs. the full-fledged VisualStudio2005? -I didn't find a good in-deep comparison on...
2
by: cody | last post by:
How can I build an application with VS2005 to be comptible with Framework 1.1? In VS2003 there was an option to compile an application to run on Framework 1.1 oder 1.0. Is there something similar...
16
by: clintonG | last post by:
I haven't installed VS2005 B2 yet. My main concern is installing VS2005 B2 on the XP Pro machine where VSN2003 already exists. Am I asking for trouble? Your comments... <%= Clinton Gallagher
2
by: Curtis Conner | last post by:
Hi, not sure if this is the right group - if not please point me in the right direction New to vs2005. Trying to build a form using the data objects built by vs2005. In my data Source window i...
0
by: Agbeko | last post by:
I have been trying to port my existing VS2003 code to VS2005 Beta 2 (Ver 8.0.50712.6 lab23df .050712-0600), the VS2005 IDE crashes without warning. My question is VS2005 beta 2, stable enough for...
3
by: Bob Hanson | last post by:
Hi All, Anybody using Virtual PC for development in VS2005. I am just checking to get some views on speed, integrity before I spend time on this. Thanks in advance, Bob Hanson *** Sent...
2
by: _R | last post by:
I've tried generating a couple console apps under VS2005 b2. The debugger brings up a window, but no output from WriteLine. ReadLine also seems to hang. Programs run fine outside of VS2005. ...
0
by: Hareth | last post by:
In VS2003: I open Form1.cs w/ the "open with" menu, then open the file w/ notepad, it works fine but after installing VS2005, "open with" doesnt function correctly. If I try to open with...
3
by: José Joye | last post by:
Hello, In 1 of my PCs where VisualStudio (prof. Edition) is installed, the "search box" in the toolbar is missing. I spend quite some time trying to get it displayed? Does anyone know if...
8
by: Dennis | last post by:
How do you comment out a block of VB.Net code in VS2005? It seems to me in an earlier version of VS I just ran the CommentRegion macro from the Macro Explorer. But in VS2005 that does nothing. ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.