Edit and Continue

Questions about integration in Visual Studio, MSBuild or other IDEs or build tools.

Edit and Continue

Postby soren on Mon Jan 21, 2008 10:42 am

Edit and continue stops working for assemblies that are compiled with PostSharp (at least in VS 2008 -- I don't know about 2005.)

VS 2008 reports that it cannot enable edit and continue because "the assembly has been optimized".

I happen to miss edit and continue... :(
Soren Skovsboll
soren
 
Posts: 15
Joined: Sat Jan 12, 2008 4:55 pm
Full Name: Soren Skovsboll

Re: Edit and Continue

Postby renemt on Thu Jan 24, 2008 10:59 am

With later builds (I'm currently using 1.0.7.294) edit & continue is working again - but therefore there are some problems with managed resources, Gael said (see http://www.postsharp.org/tracker/view.php?id=160).

Can anybody say from which version on e&c woks?
renemt
 
Posts: 1
Joined: Wed Jan 23, 2008 6:30 pm
Full Name: ReneMT

Re: Edit and Continue

Postby gfraiteur on Thu Jan 24, 2008 11:24 pm

The bug has been solved.

With later builds (I'm currently using 1.0.7.294) edit & continue is working again


What does that mean? That you can edit a postsharped program during debugging?
Gael Fraiteur, project leader
got good support? consider donating to the project.
gfraiteur
Site Admin
 
Posts: 694
Joined: Tue Dec 18, 2007 3:09 pm
Full Name: Gael Fraiteur
Company: postsharp.org

Re: Edit and Continue

Postby zordan on Tue Feb 19, 2008 4:10 pm

Hello,
I don't understand if the Edit & Continue problem has been solved. On our version of postsharp (that just have been downloaded on this site) we can't edit and continue.
Can somebody tell me if it's solved now ?

We have notice although that building the solution is quite longer than before using PostSharp. Is there anyway to improve it ? Or is it a way to desactivate PostSharp injection when building in debug ?

Thanks for your help.
zordan
 
Posts: 1
Joined: Tue Feb 19, 2008 4:02 pm
Full Name: zordan
Company: zordan & co

Re: Edit and Continue

Postby gfraiteur on Tue Feb 19, 2008 4:19 pm

Yes, PostSharp increases build time. This is not a secret. Edit-and-Continue is not officially supported, so if it works it is "accidentally".

You can disable PostSharp in any build configuration by defining the compilation symbol SkipPostSharp.

Gael
Gael Fraiteur, project leader
got good support? consider donating to the project.
gfraiteur
Site Admin
 
Posts: 694
Joined: Tue Dec 18, 2007 3:09 pm
Full Name: Gael Fraiteur
Company: postsharp.org

Re: Edit and Continue

Postby soren on Fri Apr 25, 2008 2:03 pm

Do your plans include 1) optimizing compilation time and/or 2) supporting Edit-and-Continue in the future, Gael?
Soren Skovsboll
soren
 
Posts: 15
Joined: Sat Jan 12, 2008 4:55 pm
Full Name: Soren Skovsboll

Re: Edit and Continue

Postby gfraiteur on Fri Apr 25, 2008 4:24 pm

soren wrote:Do your plans include 1) optimizing compilation time

Yes, but don't expect miracles. The only thing that can bring significant improvements is multi-core optimization, and this is very difficult (because all jobs modify the same object graph). I will also deliver a release compiled in "release" mode.

and/or 2) supporting Edit-and-Continue in the future, Gael?

No
Gael Fraiteur, project leader
got good support? consider donating to the project.
gfraiteur
Site Admin
 
Posts: 694
Joined: Tue Dec 18, 2007 3:09 pm
Full Name: Gael Fraiteur
Company: postsharp.org


Return to Integration with IDE and Build Scripts


cron