Publishing using Visual Studio

I need a mechanism to deploy code to production on an IIS server.   I was looking at the publish function in Visual Studio.  I'm using VS 2010.   The publish function seems to always copy all files, and it prompts me that it will delete all files in the target location.   I want just changed files to be deployed.  Is this a limitation of VS 2010?   Do I need a later version?
LVL 1
HLRosenbergerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Randy DownsOWNERCommented:
It's easier to just copy your files into the IIS folder.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
käµfm³d 👽Commented:
Out of curiosity, why wouldn't you just copy everything? If it's because of versioning, then that's what source control and assembly versions are for.

AFAIK, "Publish" outputs all files necessary for the application to run, regardless of which files were changed. You might look into XCopy deployment.
0
HLRosenbergerAuthor Commented:
I was not sure just copying all the files was the way to go.  but that's what I ended up doing.  I'm using a utility called FreeFileSync, which I really like, and in my opinion me much better than SyncToy.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.