Reputation: 1848
I have a Sitecore set up where my Sitecore Website folder and my visual studio solution are separate. I run the project in full IIS, so to debug I attach to the process. But, for stepping through code the debugger wants the file from the Sitecore Website folder, not the visual studio project, making actual debugging very difficult. I assume this is some sort of visual studio setting?
Upvotes: 1
Views: 509
Reputation: 351
This is actually working as designed. Once you build your solution, it will build the solution and deploy the website to the location that you have selected. Since you are using full IIS, and you attach to the w3p process it will debug that process and not the solution itself.
One item to be cautious of is to ensure that you don't leave any files open that you have breakpoints in and make changes to them. You will want to make changes to the files in your Source Controlled files and not your IIS files.
If you are not using TDS, I would highly recommend ysing TDS also.
Upvotes: 1