共用方式為


/DoNotLoadProjects (devenv.exe)

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

New for Visual Studio 2019 version 16.1

Opens the specified solution without loading any projects. For more information, see Filtered solutions in Visual Studio.

Syntax

devenv /DoNotLoadProjects SolutionName

Arguments

SolutionName

Required. The full path and name of the solution to be opened.

Example

The example opens the solution MySln.sln without loading any projects.

devenv /donotloadprojects MySln.sln

See also