# VisualStudioProject

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:

     plugins {
         id 'cpp'
         id '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}")
                 }
             }
         }
     }

Content copied to clipboard

## Functions

getBuildDependencies
Link copied to clipboard
@Incubating
abstract fun getBuildDependencies(): TaskDependency
getFiltersFile
Link copied to clipboard
@Incubating
abstract fun getFiltersFile(): XmlConfigFile
Configuration for the generated filters file.
getName
Link copied to clipboard
abstract fun getName(): String
getProjectFile
Link copied to clipboard
@Incubating
abstract fun getProjectFile(): XmlConfigFile
Configuration for the generated project file.