SolutionWrapperProject.Generate(String, String, BuildEventContext) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.
警告
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