public static SolutionWizard With_NetFrameworkClassLibrary(this SolutionWizard wizard, string assemblyName, NetFrameworkPlatform targetFrameworkVersion) { Project newProj = new NetFrameworkClassLibraryProject(assemblyName, targetFrameworkVersion); newProj.AddFileToFolder(new ProjectFile(SolutionWizard.CreateEmpty_NetFramework_ClassFile(assemblyName))); wizard.WithProject(newProj); return(wizard); }
public static SolutionWizard With_NetCoreConsoleApplication(this SolutionWizard wizard, string assemblyName, NetCorePlatform targetFrameworkVersion) { Project newConsoleApp = new NetCoreConsoleApplicationProject(assemblyName, targetFrameworkVersion); newConsoleApp.AddFileToFolder(new ProjectFile(SolutionWizard.CreateDefault_NetFramework_ConsoleProgram(assemblyName))); wizard.WithProject(newConsoleApp); return(wizard); }