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

[891 byte] By [YogeshKarira] at [2008-1-7]
# 1

i think you need to run the compiler manually to detect the real problem below is how you can do this

  1. open the Visual Studion 2005 Command Prompt
  2. 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

  1. Look for the problem in the output–
  2. 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

TamerFathy at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio MSBuild...
# 2

I think you need to run compiler manually to detect the real problem or error you can do this as follow

  1. open the Visual Studion 2005 Command Prompt
  2. 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

  1. Look for the problem in the output–
  2. 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

TamerFathy at 2007-10-2 > top of Msdn Tech,Visual Studio,Visual Studio MSBuild...

Visual Studio

Site Classified