473,651 Members | 2,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4897
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
1194
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 the web till now, so I hope for your analysis. tnx, Kai
2
1294
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 in VS2005?
16
1770
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
1217
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 have a dataset called FlyDataSet which contains a table called Sales. I have successfully used this to display data with fields on the screen but now i wish to add a record to the Sales table. All the documents i can find on this states that i...
0
1228
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 development or am I having problems because of my installation.?
3
1061
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 via Developersdex http://www.developersdex.com ***
2
1451
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. A program as simple as this exhibits the problem: static void Main(string args) { Console.WriteLine("Test"); Console.ReadLine();
0
1001
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 notepad, it forces an open to VS2005 Bug maybe? any ideas ppl........
3
1675
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 there is a (hidden) menu to get it back? Thanks a lot!
8
1529
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. -- Dennis
0
8277
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8803
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8700
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8581
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7298
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4285
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1588
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.