1

I tried to republish my WCF solution in Visual Studio and unchecked the checkbox "Leave extra files on destination (do not delete)". Now my whole solution has gone bad. Visual Studio can't find any of my files. Does anybody know a solution to this stupidity of mine? Any help would be MUCH appreciated!!

I found the solution. The files were also stored at '/Libraries/Documents/IIShosted'.

Brad Larson
  • 170,088
  • 45
  • 397
  • 571
Ger
  • 25
  • 7
  • If you solved your problem you should post the solution as an answer; you'll get a shiny new SO badge and your answer may help someone searching for the same problem. – Dour High Arch May 10 '12 at 18:37

1 Answers1

1

See #7 on MSDN under Creating a Publish Profile.

The publish process deletes files on the destination server under the following circumstances:

  1. You clear the Leave extra files on destination option.

  2. The files already exist on the destination server in the publish location or in any subfolders.

  3. The same files do not exist in the same folders in the Web application project.

Community
  • 1
  • 1
SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173