you don't actually need a solution containing a umbraco website. Here's setup I use for most of my projects... I create a solution and all of my custom code in a class library, also referencing the umbraco assemblies.
As soon as you want to debug your custom code, add some breakpoints, attach to the w3wp.exe process in visual studio, then browse your website and your breakpoint will get hit...
Check for a .pdb file next to your applications .dll and check the date modified times are the same, if not check you have debug (under settings) selected when you publish.
This is what I did when it wasn't working for me, hope this help others.
Cant debug in visual studio
Hi.
Iwe made an solution in visual studio (2010), with a website (umbraco), and a class library with reference to umbraco and visa versa.
Iam using xslt extensions, but if i press start debugging with a breakpoint in my classlibrary visual studio dont stop and let me debug the request?
Does any one have a clue ?
Best regards
Jacob
Jacob,
you don't actually need a solution containing a umbraco website. Here's setup I use for most of my projects... I create a solution and all of my custom code in a class library, also referencing the umbraco assemblies.
As soon as you want to debug your custom code, add some breakpoints, attach to the w3wp.exe process in visual studio, then browse your website and your breakpoint will get hit...
Hope this helps.
Regards,
/Dirk
Perfect !!
Thx alot !
Check for a .pdb file next to your applications .dll and check the date modified times are the same, if not check you have debug (under settings) selected when you publish.
This is what I did when it wasn't working for me, hope this help others.
is working on a reply...