Question

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'.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top