How can I debug code like CodeCampServer which is based on Injection Depedency?

My project structure is similar to CodeCampServer structure etc. UI.dll, Core.dll and DependencyResolution.dll, which are dependent on UI.dll and core.dll.

In web.config, I use the HttpModules from DependencyResolution.dll to instantiate all the dependencies, and therefore I can not run this application in VS2008 because the UI.dll does not have a reference to DependencyResolution.dll (I can not reference it because , as I said, DependencyResolution.dll already refers to UI.dll), so I lost the ability to debug this application in the usual way in the code.

I thought maybe I could try using the attach to process function and debug the application on local IIS (version 7 on a Windows 7 machine), but unfortunately it did not work properly. when an error occurs, VS does not highlight the code, and I cannot enter it.

My question is the best way to debug this type of application (CodeCampServer is a good example).

+3
source share
1 answer

, .dll, , . , DependencyResolution.dll, bin post-build script, .

+1

Source: https://habr.com/ru/post/1729471/


All Articles