madskristensen / FileNesting

Nest files in Solution Explorer
Other
117 stars 59 forks source link

Visual Studio 2022 Support #99

Open scottkuhl opened 3 years ago

scottkuhl commented 3 years ago

Installed product versions

Description

Make the extension available in Visual Studio 2022.

Steps to recreate

  1. Download the extension installer.
  2. Run the installer.

Current behavior

Message that it is already installed to all applicable products appears even though it is not installed in Visual Studio 2022. It is also not listed in Online Extensions in Manage Extensions Visual Studio 2022.

Expected behavior

Installs and works in Visual Studio 2022.

Note: Sorry for the all the extra details. I probably could have stopped with the title on this one.

kieronlanning commented 2 years ago

This would be a great addition - I didn't realise that File Nesting in 2022 is only supported on ASP.NET Web projects.

objecttothis commented 2 years ago

@madskristensen any plans to port this extension to VS2022?

glittle commented 2 years ago

it would be great if someone could at least extract the manual nesting feature into a new extension for VS 2022. Hopefully that would be quick. I wish I had time to do it!

DarthSonic commented 2 years ago

Even if there is file nesting for Core projects and automatic file nesting, I would appreciate if there would be some manual nestung feature like this extension in VS2022 because I have needs where automatic file nesting is not working in non Core project.

dmetzgar commented 2 years ago

In VS2022 adding a .filenesting.json file to a project does work for customizing beyond the automatic nesting. Here's the documentation for setting the rules: https://docs.microsoft.com/visualstudio/ide/file-nesting-solution-explorer

In projects where file nesting is not enabled by default, we've had luck adding this to the proj file:

  <ItemGroup>
    <ProjectCapability Include="ConfigurableFileNesting" />
    <ProjectCapability Include="ConfigurableFileNestingFeatureEnabled" />
  </ItemGroup>
DarthSonic commented 2 years ago

I really would appreciate to have a choice in the GUI as with this extension to nest files, instead of adding and editing new files. I can do that in .csproj file also, but I would like the comfort of GUI.

scascalespAV commented 1 year ago

Hello is it supported or not? This message comes out image