开发者

How to make Visual Studio 2010 publish like 2008

I recently converted a proje开发者_如何学编程ct to Visual Studio 2010 and now I can't figure out how to get it to publish like I did in 2008. In 2008 I started a publish and told it the folder I wanted all the files dropped into. Then I zipped them myself and copied them to the server. Is that not possible in VS2010?

I tried "Build deployment Package" but that created a zip file with all my code buried down about 20 folders. Far from convenient.


Just right click on the website root in the Solution Explorer (highlighted in my partial screenshot), and choose "Publish Web Site" from the context menu.

How to make Visual Studio 2010 publish like 2008

How to make Visual Studio 2010 publish like 2008

This will bring up the Publish dialog, where you can specify the drop location.

How to make Visual Studio 2010 publish like 2008

Edit based on comments below

If this is a Web Applicaiton Project, it's slightly different, but still possible. You still right click and choose"Publish" BUT change the "Publish Method" to "File System"

How to make Visual Studio 2010 publish like 2008

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜