Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Web One Click Publish includes files not in project / content

$
0
0

Hi!

I've got quite a few files (thousands) in the project folder of a web, but they're all excluded from the project.

Hence, they shouldn't have any content attribute, nor should they be interpreted as "needed to run the application".

The root folders are included, 'cause I've got 3-4 files in one subfolder in each, which should be deployed.

I publish using "Only files needed to run this application", File publish, and just click the button.

Why then, is VS Publishing all the files in excluded folders etc? (Seems it searches for .ascx, .aspx, .gif, .jpg, .css, .js disregarding whether they are included in the project)


Lars-Erik MCPD ASP.NET 2.0, MCTS ASP.NET 4.0



Viewing all articles
Browse latest Browse all 21115

Trending Articles



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