Error while building a Web Deployment Project
hi.
I am getting an error while building a web deployment project. I am wondering if anybody can help me out.
The following is the exact description of my activity and the error.
1. I installed the webdeploymentsetup.msi for adding this feature to my visual studio 2005 environment.
2. After installing this feature, i have the option of adding Web Deployment Project to my solution. I select and create it.
3. When i build it, i get a dialog pop up stating "Unable to find a version of Runtime to Run this application".
4. I click on Ok. and in the error list window it shows the error message - "aspnet_compiler.exe" exited with code -2146232576."
I have also browsed thru a couple of Threads in this forum and else where. But invain..
Can somebody help me resolve this issue.
Thank you.
Yogesh
i think you need to run the compiler manually to detect the real problem below is how you can do this
- open the Visual Studion 2005 Command Prompt
- Run the aspnet_compiler.exe with the errorstack flag on your project (where c:\My_Project is the location of your project)
Ex:
aspnet_compiler.exe -errorstack -v /PROJECT -p c:\My_Project
- Look for the problem in the output–
- After fixing the problem, re-run the complier to ensure the problem is solved. After that, you will be able to compiler your Web Deployment Project.
Thanks
Tamer Fathy
I think you need to run compiler manually to detect the real problem or error you can do this as follow
-
open the Visual Studion 2005 Command Prompt
- Run the aspnet_compiler.exe with the errorstack flag on your project (where c:\PROJECT is the location of your project)
EX:
aspnet_compiler.exe -errorstack -v /PROJECT -p c:\PROJECT
- Look for the problem in the output–
- After fixing the problem, re-run the complier to ensure the problem is solved. After that, you will be able to compiler your Web Deployment Project.
Thanks,
Tamer fathy