jjxtra
jjxtra

Reputation: 21170

How do I get msbuild to put my web application in the root output folder and not in _PublishedWebsites

How do I get msbuild to just put my web application in the output path, and not in the hacky special _PublishedWebsites folder? I don't want to modify global config files, but I am willing to edit my .csproj file.

Upvotes: 2

Views: 565

Answers (1)

jjxtra
jjxtra

Reputation: 21170

You can override WebProjectOutputDir to go to whatever directory you like, however the binaries will still be in this folder as well. Still trying to figure out how to fix that...

EDIT I ended up making my msbuild output directory my output directory with '/bin' tacked on to the end, and I made my WebProjectOutputDir the real output directory.

Upvotes: 2

Related Questions