SolutionWrapperProject.Generate(String, String, BuildEventContext) Method

Definition

Given the full path to a solution, returns a string containing the v3.5 MSBuild-format wrapper project for that solution.

public:
 static System::String ^ Generate(System::String ^ solutionPath, System::String ^ toolsVersionOverride, Microsoft::Build::Framework::BuildEventContext ^ projectBuildEventContext);
public static string Generate (string solutionPath, string toolsVersionOverride, Microsoft.Build.Framework.BuildEventContext projectBuildEventContext);
static member Generate : string * string * Microsoft.Build.Framework.BuildEventContext -> string
Public Shared Function Generate (solutionPath As String, toolsVersionOverride As String, projectBuildEventContext As BuildEventContext) As String

Parameters

solutionPath
String

Full path to the solution we are wrapping

toolsVersionOverride
String

May be null. If non-null, contains the ToolsVersion passed in on the command line

projectBuildEventContext
BuildEventContext

An event context for logging purposes.

Returns

A string containing the path to the solution.

Applies to