I tried adding a new web.config file to my asp.net app (I went through right click on the project -> add -> Web Configuration File).
However at the Solution Explorer the newly added file is not nested under Web.config. Any idea?
See image -
I would like Web.Staging.config to be nested just as Web.Release.config:
(Assume VS 2012 or 2013).
If all you want is nesting, you could just open your csproj file in a text editor and change this:
<None Include="Web.Staging.config" />
to this:
<None Include="Web.Staging.config">
<DependentUpon>Web.config</DependentUpon>
</None>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With