8

How do I prevent VS2015 from nesting files in an ASP.NET v5 project?

Here's what I'm getting:

enter image description here

I looked at un-nesting with Mads Kristensen's nesting extension, but he's said in an bug report on Github that it's not relevant to .NET5 projects because there is no .csproj to store the file relationships in. So it must be VS doing it itself. How do I stop it?

3
  • Did you ever find a solution to this? It bugs me! Commented Feb 4, 2016 at 9:40
  • no, i've just gotten used to it. Commented Feb 4, 2016 at 14:16
  • Haven't been able to figure this one out yet either, looked everywhere under the sun to stop it from nesting them! Commented Oct 11, 2016 at 13:39

1 Answer 1

3

If anyone is still looking for an answer to this I accomplished it by manually editing the toolSettings.json file for VS as per this discussion https://github.com/aspnet/Tooling/issues/889

If you remove the rules for .ts files in the 'extensionToExtension' section it will stop the nesting. As the discussion says this is a temporary solution.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.