Visual Studio 2010 web.config transformations (TransformWebConfig target)
Posted
by Jeff D
on Stack Overflow
See other posts from Stack Overflow
or by Jeff D
Published on 2010-04-05T15:35:37Z
Indexed on
2010/04/21
13:33 UTC
Read the original article
Hit count: 776
I am trying to write unit tests for my transformations, so I am running:
msbuild migrated-project.csproj /p:Configuration=Release /T:TransformWebConfig.
This works for a new project I create in VS2010, but doesn't in this project. I'm assuming it's because it was originally a 2008 project. I know this is supposed to run in a webplatformbuild whatever, but what I'm trying to do, is just run the transform, so I can grab the transformed web.config, and run some unit tests to make sure the right values exist.
I don't see TransformWebConfig referenced as a target in either project, so I'm not sure what I'm looking for.
© Stack Overflow or respective owner