I have an ASP.NET Application compiled into installation package using INNO Setup installer. When I install an application to the dedicated server I want to precompile the whole application so it runs smoothly when first user arrives.
The problem is that only thing I know is the installation path. But what I need is the virtual path of the application in IIS to run this command:
aspnet_compiler -v AppVirtualPath
In my case, the application already exists in IIS and is mapped to the installation directory. I've been trying use the appcmd.exe to get virtual path by physical path. No luck so far.
Any suggestions would be greatly appreciated.