views:

114

answers:

3

I'm using v.s 2008 with c#. I have a windows service. I stoped that service and do some changes in the codes. I want to build my project but the visual studio open "save as" window. How can i build my project again?

A: 

a not really good solution to this problem might be saving that file to some location other than where the current project is, than close & restart visual studio again. If your file is not in the project, you can easily add it.

A: 

It is probably due to one of two reasons.

  1. The file in question is read only - this can be due to it being checked in if under source control.
  2. The service file being in use.

Use InstallUtil from the VisualStudio command prompt to uninstall the service before building and reinstalling it.

ChrisBD
A: 

Hello, taken from: http://stackoverflow.com/questions/1415834/save-file-as-dialog-problem-in-visual-studio-2008

Make sure you are running Visual Studio as an Adminstrator. To do this, create a Desktop Short cut for Visual Studio 2008. Right click on it, and select Properties. Then select the Compatibility tab. At the bottom under Priviledge Level, make sure Run the program as an adminstrator is checked. Select the OK button. Start Vis Studio again

Also, try this

1) Open the Visual Studio command prompt 2) Then run the following : devenv /ResetSettings

Regards,

EL

lecocqe