slow-cheetah
slow-cheetah copied to clipboard
Transforming url rewrite rules will overwrite my base web.config
My base web.config does not have the <system.webServer> <rewrite xdt:Transform="Insert"> <rules> <rule name="redirectHttps" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions logicalGrouping="MatchAny"> <add input="{HTTPS}" pattern="off" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Found" /> </rule> </rules> </rewrite> </system.webServer>
when I build in release, my web.config has the
Does building you project always overwrite your base web.config? If that's the case, can you provide some steps to reproduce this from a new project? A diagnostic build would also work, so I can see if the SlowCheetah targets are doing anything weird (Run msbuild /v:diag
from the command line).
SlowCheetah shouldn't be messing with the base web.config file, but it may be possible that the latest changes have caused it to incorrectly pick it up for transformation.