0

The several different environments (e.g. live, demo etc) of my web app are differentiated by config settings in a folder called EnvironmentConfiguration. Whenever I update one of the sites, I delete the EnvironmentConfiguration folder from the precompiled site before copying the website files over (i.e. in order that the EnvironmentConfiguration folder in the deployment location is not replaced).

Just to save mistakes, is there a way I can get Visual Studio not to produce the EnvironmentConfiguration folder when it precompiles the site for me?

4

1 回答 1

0

你可以尝试几件事。

1)右键单击解决方案中的文件夹,然后选择从项目中排除。

2) 查看文件夹中的每个文件并将 BuildAction 属性设置为“无”而不是“内容”

于 2011-03-02T10:02:55.307 回答