Method WithDefaultAssemblies
WithDefaultAssemblies(TechnologyEnvironment, bool, ProjectId, TargetFramework, bool)
When implemented by a class, registers some most frequently used assemblies.
Specifies technology environment. Specifies whether existing assemblies should be preserved. Specifies project to add references to. Specifies target framework. In case of .NET Core, adds minimal set of referencesIRoslynSolution WithDefaultAssemblies(TechnologyEnvironment technology = TechnologyEnvironment.WindowsForms, bool keepExisting = false, ProjectId projectId = null, TargetFramework targetFramework = null, bool minimal = false)
Parameters
technology
TechnologyEnvironmentkeepExisting
boolprojectId
ProjectIdtargetFramework
TargetFrameworkminimal
bool