How can I use Web.debug.config in the built-in visual studio debugger server?

前端 未结 7 534
花落未央
花落未央 2020-11-27 02:34

How can I merge and make use of Web.debug.config in visual studio 2010 built-in debugger?

相关标签:
7条回答
  • 2020-11-27 03:39

    @ologesa: Your solution needs write access to the original Web.config (you must check-out in TFS). The better solution is to directly generate the Web.config in the bin folder like keitn does this. When we combine keitn's and your solution we get this one:

    <Target Name="BeforeBuild">
        <Message Text="Transforming Web.config from Web.$(Configuration).config" Importance="high" />
        <MakeDir Directories="bin" Condition="!Exists('bin')" />
        <TransformXml Source="Web.Config" Transform="Web.$(Configuration).config" Destination="bin\$(TargetFileName).config" StackTrace="true" />
    </Target>
    
    0 讨论(0)
提交回复
热议问题