Mehmet
Mehmet

Reputation: 2278

asp.net publish only pages

I have an ASP.Net 3.5 web project. There are lots of images on images folder. apprx. 1.5GB size.

Everytime I want to publish the project, it takes 35minutes. I dont want to publish folders. I only want to publish pages.

Im using shared web hosting.

How can I solve this problem?

Thanks.

Upvotes: 0

Views: 218

Answers (2)

Oded
Oded

Reputation: 498904

Remove the images folder from your project.

Publishing a website will publish any folders that are part of the project, so removing the folder from the project will ensure it will not be published.

This will add a burden to maintaining the site and ensuring you have all the images on your development environment.

You can still have it in source control if you wish.

Upvotes: 1

Paddy
Paddy

Reputation: 33857

Publish your site to a local directory, and then just FTP up those items that you need - exclude the images.

Upvotes: 0

Related Questions