org.gradle.ide.visualstudio

## Interface VisualStudioSolution

- All Superinterfaces:
    Buildable, BuildableComponentSpec, ComponentSpec, Named

      @Incubating
      public interface VisualStudioSolution
      extends BuildableComponentSpec

  A visual studio solution, representing one or more `NativeBinarySpec` instances from the same `NativeComponentSpec`.

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

        apply plugin: "visual-studio"
        model {
            visualStudio {
                solutions.all {
                    solutionFile.location = "vs/${name}.sln"
                    solutionFile.withContent { TextProvider content ->
                        content.asBuilder().insert(0, "# GENERATED FILE: DO NOT EDIT\n")
                        content.text = content.text.replaceAll("HideSolutionNode = FALSE", "HideSolutionNode = TRUE")
                    }
                }
            }
        }

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.gradle.api.Named

      `Named.Namer`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `NativeComponentSpec` | `getComponent()` The component that this solution represents.
    `Set<VisualStudioProject>` | `getProjects()` The set of projects included in this solution.
    `TextConfigFile` | `getSolutionFile()` Configuration for the generated solution file.

    - ### Methods inherited from interface org.gradle.api.BuildableComponentSpec

      `builtBy, getBuildTask, hasBuildDependencies, setBuildTask`

    - ### Methods inherited from interface org.gradle.api.Buildable

      `getBuildDependencies`

    - ### Methods inherited from interface org.gradle.platform.base.ComponentSpec

      `getDisplayName, getProjectPath`

    - ### Methods inherited from interface org.gradle.api.Named

      `getName`

- - ### Method Detail

    - #### getProjects

          Set<VisualStudioProject> getProjects()

      The set of projects included in this solution.

    - #### getComponent

          NativeComponentSpec getComponent()

      The component that this solution represents.

    - #### getSolutionFile

          TextConfigFile getSolutionFile()

      Configuration for the generated solution file.