I've just updated to Visual Studio 2012 and am having a new problem: every time I tell the website to debug, it rebuilds the entire site even though I made no changes to the code. It takes 5 to 10 minutes to do the build and is very frustrating. VS2010
did not do this, allowing the site to just restart in debug mode without the recompile (very quickly) as long as I did not change any code. Is there some new setting in VS2012 for this?
You can right click on your website in the Solution Explorer and select Property Pages.
Click "Bulid" at the left side of this page. Then, change the start action(F5) to No Build.
Then it won't build at all. What I want is for the pages/files that changed (and their dependencies) to build, but not everything every time. For example, while debugging I stop the debugger then re-start it again. Right now, with no changes to any files,
the whole site compiles again. I would like for it to not compile unless I make a change. And then only the files (and thier dependencies) that changed. Like VS2010 works!
ojm37
Contributor
2248 Points
832 Posts
VS2012 -- Web Site rebuilding every time I run it
Aug 20, 2012 02:47 PM|LINK
I've just updated to Visual Studio 2012 and am having a new problem: every time I tell the website to debug, it rebuilds the entire site even though I made no changes to the code. It takes 5 to 10 minutes to do the build and is very frustrating. VS2010 did not do this, allowing the site to just restart in debug mode without the recompile (very quickly) as long as I did not change any code. Is there some new setting in VS2012 for this?
TIA,
ojm37
Contributor
2248 Points
832 Posts
Re: VS2012 -- Web Site rebuilding every time I run it
Aug 21, 2012 09:15 PM|LINK
Anything? I've tried telling it to just compile the page, but that doesn't get everything that changed, only the aspx page that is set in startup.
THIS USED TO WORK in VS2010! HELP!
Markul
Member
2 Points
1 Post
Re: VS2012 -- Web Site rebuilding every time I run it
Aug 22, 2012 04:38 AM|LINK
I have the same problem !
Kenon-YGN
Member
378 Points
51 Posts
Re: VS2012 -- Web Site rebuilding every time I run it
Aug 22, 2012 07:04 AM|LINK
Hi,
You can right click on your website in the Solution Explorer and select Property Pages.
Click "Bulid" at the left side of this page. Then, change the start action(F5) to No Build.
Hope be helpful! Good Luck!
Regards!
ojm37
Contributor
2248 Points
832 Posts
Re: VS2012 -- Web Site rebuilding every time I run it
Aug 22, 2012 01:09 PM|LINK
Then it won't build at all. What I want is for the pages/files that changed (and their dependencies) to build, but not everything every time. For example, while debugging I stop the debugger then re-start it again. Right now, with no changes to any files, the whole site compiles again. I would like for it to not compile unless I make a change. And then only the files (and thier dependencies) that changed. Like VS2010 works!
Thanks,
ojm37
Contributor
2248 Points
832 Posts
Re: VS2012 -- Web Site rebuilding every time I run it
Aug 22, 2012 01:18 PM|LINK
I've created a bug report at (https://connect.microsoft.com/VisualStudio/feedback/details/759075/website-project-rebuilds-entire-project-every-time-start-debugging). Please go there and add to the "I can reproduce" so they'll pay attention to it.
Thanks,
cwsweigart
Member
2 Points
1 Post
Re: VS2012 -- Web Site rebuilding every time I run it
Nov 29, 2012 05:08 PM|LINK
Try this - Tools > Options > Projects and Solutions > Build and Run > select "Only build startup projects and dependencies on Run".
ojm37
Contributor
2248 Points
832 Posts
Re: VS2012 -- Web Site rebuilding every time I run it
Nov 29, 2012 05:10 PM|LINK
Thanks. That setting is already set.