api / org.gradle.ide.visualstudio / VisualStudioProject

VisualStudioProject

@Incubating interface VisualStudioProject : Named, Buildable

A visual studio project, created from one or more native binaries.

The content and location of the generate project file can be modified by the supplied methods:

 apply plugin: "cpp" apply plugin: "visual-studio" model { visualStudio { projects.all { projectFile.location = "vs/${name}.vcxproj" projectFile.withXml { asNode().appendNode('PropertyGroup', [Label: 'Custom']) .appendNode('ProjectDetails', "Project is named ${project.name}") } } } } 

Functions

getBuildDependencies

abstract fun getBuildDependencies(): TaskDependency

getFiltersFile

abstract fun getFiltersFile(): XmlConfigFile

Configuration for the generated filters file.

getName

abstract fun getName(): String

getProjectFile

abstract fun getProjectFile(): XmlConfigFile

Configuration for the generated project file.