Table of Contents

Class VSProjectHelper

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll
public static class VSProjectHelper
Inheritance
VSProjectHelper

Methods

CompileProjectAssemblyAsync(string, string, ILogger, string, string, string, Dictionary<string, string>, BuildRequestDataFlags)

public static ICancellableAsyncBuild CompileProjectAssemblyAsync(string solutionFullPath, string fullProjectLocation, ILogger logger, string targets = "Build", string configuration = "Debug", string platform = "AnyCPU", Dictionary<string, string> extraProperties = null, BuildRequestDataFlags flags = BuildRequestDataFlags.None)

Parameters

solutionFullPath string
fullProjectLocation string
logger ILogger
targets string
configuration string
platform string
extraProperties Dictionary<string, string>
flags BuildRequestDataFlags

Returns

ICancellableAsyncBuild

GenerateRestoreGraphFile(ILogger, string)

public static Task<DependencyGraphSpec> GenerateRestoreGraphFile(ILogger logger, string projectPath)

Parameters

logger ILogger
projectPath string

Returns

Task<DependencyGraphSpec>

GetOrCompileProjectAssembly(string, string, ILogger, string, bool, string, string, Dictionary<string, string>, bool, BuildRequestDataFlags)

public static string GetOrCompileProjectAssembly(string solutionFullPath, string fullProjectLocation, ILogger logger, string targets, bool autoCompileProject, string configuration, string platform = "AnyCPU", Dictionary<string, string> extraProperties = null, bool onlyErrors = false, BuildRequestDataFlags flags = BuildRequestDataFlags.None)

Parameters

solutionFullPath string
fullProjectLocation string
logger ILogger
targets string
autoCompileProject bool
configuration string
platform string
extraProperties Dictionary<string, string>
onlyErrors bool
flags BuildRequestDataFlags

Returns

string

GetPlatformTypeFromProject(Project)

public static PlatformType? GetPlatformTypeFromProject(Project project)

Parameters

project Project

Returns

PlatformType?

GetProjectGuid(Project)

public static Guid GetProjectGuid(Project project)

Parameters

project Project

Returns

Guid

GetProjectTypeFromProject(Project)

public static ProjectType? GetProjectTypeFromProject(Project project)

Parameters

project Project

Returns

ProjectType?

LoadProject(string, string, string, Dictionary<string, string>)

public static Project LoadProject(string fullProjectLocation, string configuration = "Debug", string platform = "AnyCPU", Dictionary<string, string> extraProperties = null)

Parameters

fullProjectLocation string
configuration string
platform string
extraProperties Dictionary<string, string>

Returns

Project

Reset()

public static void Reset()

RestoreNugetPackages(ILogger, string)

public static Task RestoreNugetPackages(ILogger logger, string projectPath)

Parameters

logger ILogger
projectPath string

Returns

Task