开发者

Web transformation files get copied to root + bin

I recently upgrade my project to vs 2010.

One of the main reasons for doing so is the addition of web transformation files.

With my existing project upgraded : i clicked Add Config Tran开发者_如何学JAVAsforms, i updated a simple value from my config for testing purposes and i published my project to the file system.

What i expected was to find 1 transformed web.config in my root folder.

What i found was 1 transformed web.config + all my config transformation files as well:

Web.Debug.config , web.Release.config and web.Test.config

Also strange : all these files were outputted to my bin folder as well.

Does anyone know what i'm doing wrong? It seems to work fine if i create an entirely new web project but i want to fix my existing upgraded project.


Kind of a dumb cause but the property Copy to output directory affects all of the versions for that web.config.
Changing it to Do Not copy resolves my issue.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜