Freigeben über


SolutionWrapperProject.Generate(String, String, BuildEventContext) Method

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

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

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to