visual studio - How to get ASP.NET website precompilation to exclude a certain folder -


the several different environments (e.g. live, demo etc) of web app differentiated config settings in folder called environmentconfiguration. whenever update 1 of sites, delete environmentconfiguration folder precompiled site before copying website files on (i.e. in order environmentconfiguration folder in deployment location not replaced).

just save mistakes, there way can visual studio not produce environmentconfiguration folder when precompiles site me?

you try couple of things.

1) right click on folder in solution , select exclude project.

2) @ each of files in folder , set buildaction property 'none' rather 'content'


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -