MSBuild target fails because _CopyWebApplication target tries to copy web.config?

If you really, really can't modify existing build targets can you just let that dev web. Config pass through and either detele to overwrite it latter, or just ignore it dependiong on deployment process? Say by making additional build target that will be invoked only in projects that need that cleanup?

I'm pretty sure that you can find several places in your build where you can do a cleanup.

If you really, really can't modify existing build targets can you just let that dev web. Config pass through and either detele to overwrite it latter, or just ignore it dependiong on deployment process? Say by making additional build target that will be invoked only in projects that need that cleanup?

I'm pretty sure that you can find several places in your build where you can do a cleanup. Alternatively you can inject a target earlier in the cycle to copy your master web. Config to where you need it - the modality depends on your actual situation - there's no universaly best way to do it.

The issue is not going to dissapear if you just say "I don't dare to touch anything". You'll have to modify something either by making new target to copy, or clean up or by copying or cleaning up before/after the build. You could also make 3 variants of the _CopyWebApplication - one that does everything like out of the box, another that does everything except trying to copy the file(s) no one wants and one empty - so you are not forcing anything but providing options.

Override the target by importing a file at the bottom of your project with This target is always a heinous pain, especially if you try and command the outdir properties. It's not that valuable in all.

This is for a >450 project solution, additionally I'm not in a position to dictate an architecture change of that size. I've only got control over my build process, should I be able to make one better than what we have. – Maslow Jul 27 '10 at 15:39.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions