NDepend.API Documentation
CreateBlankProject Method
NDepend.Project Namespace > IProjectManager Interface : CreateBlankProject Method
The absolute path to the project file, a project cannot be initialized without a valid project file path.
The initial name of the project.
Creates a new blank project. This method doesn't create the project file, the method SaveProject can be called for that.
Syntax

Parameters

projectFilePath
The absolute path to the project file, a project cannot be initialized without a valid project file path.
projectName
The initial name of the project.

Return Value

The blank project object.
Remarks
Once the project object is created, the project file is then accessible through project.IProject.Properties.IProjectProperties.FilePath.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IProjectManager Interface
IProjectManager Members