VisualStudioProject

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 'visual-studio'
 }

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

Functions

Link copied to clipboard
Returns a dependency which contains the tasks which build this artifact.
Link copied to clipboard
Configuration for the generated filters file.
Link copied to clipboard
abstract fun getName(): String
The object's name.
Link copied to clipboard
Configuration for the generated project file.