Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

RE: Re: Publishing puts files/folders in "bin" directory instead of "root"?

$
0
0

Hi All: I just ran into an issue where a website I'm publishing using webdeploy from VS2010 is putting certain folders/files in the bin diretory instead of the root of the website where they exist. It used to put them in the correct place...not sure what I changed to create this behavior?

The folder in question has PDFs in it...if I drag a PDF from Windows Explorer into Solution Explorer it copies it into the project, but the default "build action" for the PDF is "do not copy"...if I manually change it "copy if newer" it does upload the PDF when I publish.

my output log shows:

Copying all files to temporary location below for package/publish:
obj\Release\Package\PackageTmp.
Start Web Deploy Publish the Application/package to https://[website]:8172/msdeploy.axd?site=forms ...
Updating setAcl (forms).
Updating setAcl (forms).
Updating filePath (forms\bin\forms.dll).
Updating filePath (forms\bin\forms.pdb).
Updating filePath (forms\bin\forms.xml).
Adding child filePath (forms\bin\pdfTemplates\Kit.pdf).
Updating setAcl (forms).
Updating setAcl (forms).
Publish is successfully deployed.


the folder "pdfTemplates" is in the root of the project...but I see it now in the "bin" directory as well...what is causing it to be placed there?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>