From 52927595f6aa55ba373720834d5331278f8f7fc1 Mon Sep 17 00:00:00 2001 From: Donnie Goodson <49205731+donnie-msft@users.noreply.github.com> Date: Thu, 16 Jun 2022 13:13:23 -0400 Subject: [PATCH] Add solution filter for VS projects (#4672) --- NuGet-VS.slnf | 23 +++++++++++++++++++++++ docs/workflow.md | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 NuGet-VS.slnf diff --git a/NuGet-VS.slnf b/NuGet-VS.slnf new file mode 100644 index 00000000000..f3f16f08e1d --- /dev/null +++ b/NuGet-VS.slnf @@ -0,0 +1,23 @@ +{ + "solution": { + "path": "NuGet.sln", + "projects": [ + "src\\NuGet.Clients\\NuGet.Console\\NuGet.Console.csproj", + "src\\NuGet.Clients\\NuGet.Indexing\\NuGet.Indexing.csproj", + "src\\NuGet.Clients\\NuGet.PackageManagement.PowerShellCmdlets\\NuGet.PackageManagement.PowerShellCmdlets.csproj", + "src\\NuGet.Clients\\NuGet.PackageManagement.UI\\NuGet.PackageManagement.UI.csproj", + "src\\NuGet.Clients\\NuGet.PackageManagement.VisualStudio\\NuGet.PackageManagement.VisualStudio.csproj", + "src\\NuGet.Clients\\NuGet.SolutionRestoreManager\\NuGet.SolutionRestoreManager.csproj", + "src\\NuGet.Clients\\NuGet.Tools\\NuGet.Tools.csproj", + "src\\NuGet.Clients\\NuGet.VisualStudio\\NuGet.VisualStudio.csproj", + "src\\NuGet.Clients\\NuGet.VisualStudio.Client\\NuGet.VisualStudio.Client.csproj", + "src\\NuGet.Clients\\NuGet.VisualStudio.Common\\NuGet.VisualStudio.Common.csproj", + "src\\NuGet.Clients\\NuGet.VisualStudio.Contracts\\NuGet.VisualStudio.Contracts.csproj", + "src\\NuGet.Clients\\NuGet.VisualStudio.Implementation\\NuGet.VisualStudio.Implementation.csproj", + "src\\NuGet.Clients\\NuGet.VisualStudio.Internal.Contracts\\NuGet.VisualStudio.Internal.Contracts.csproj", + "src\\NuGet.Clients\\NuGet.VisualStudio.Interop\\NuGet.VisualStudio.Interop.csproj", + "src\\NuGet.Clients\\NuGet.VisualStudio.OnlineEnvironment.Client\\NuGet.VisualStudio.OnlineEnvironment.Client.csproj", + "src\\NuGet.Clients\\NuGetConsole.Host.PowerShell\\NuGetConsole.Host.PowerShell.csproj", + ] + } +} diff --git a/docs/workflow.md b/docs/workflow.md index 2a3c1e1df3a..5437e14c106 100644 --- a/docs/workflow.md +++ b/docs/workflow.md @@ -58,7 +58,7 @@ The recommended pattern for release branches is slightly different. We should pr ### Solution and project folder structure and naming The NuGet.Client repo currently has only one solution file named `NuGet.sln`. We do not want/need to have more than one solution file. -If deemed necessary by the team, we can consider solution filters at a future point. +We have some Solution Filters (.slnf files), currently for projects specific to working with NuGet's Command line, VS, or UnitTests directly, and can consider more based on team and community feedback. - Every project in the NuGet.Client repo should be [PackageReference-based](https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files) based and if possible (read this as not .NET Framework WPF), an [SDK-based](https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-use-project-sdk) one. - The production source code is under the `src` folder.