Get the solution directory in visual studio 2010

Topics: Administration, Customizing Orchard, Installing Orchard
Jun 7, 2013 at 7:42 AM
Hello can anyone tell me how to get in a string the solution directory of Orchard in Visual Studio 2010 ?

Jun 7, 2013 at 6:17 PM
In what context? Post-build script, or in a module's class?
Jun 10, 2013 at 7:43 AM
the context is module's class when in global.asax app_sart() method for example
Jun 10, 2013 at 8:16 AM
The thing is, when you deploy your application, there is no solution file (unless you deploy that). Why do you need to know the solution directory, and not for example the directory of the web application itself?
Jun 10, 2013 at 8:19 AM
because i want to create a file in my src/ directory. I am customising Orchard