public NetCoreConsoleApplicationProject(string assemblyName, NetCorePlatform targetFrameworkVersion, string rootNamespace = "") : base(assemblyName, "Exe", targetFrameworkVersion, rootNamespace) { SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Debug", "Any CPU")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Release", "Any CPU")); }
public NetCoreProject(string assemblyName, string outputType, NetCorePlatform targetFrameworkVersion, string rootNamespace = "") : this(assemblyName, Guid.NewGuid(), outputType, targetFrameworkVersion, rootNamespace) { }
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); }
public NetCoreProject(string assemblyName, Guid assemblyGuid, string outputType, NetCorePlatform targetFrameworkVersion, string rootNamespace = "") : base(assemblyName, assemblyGuid, outputType, targetFrameworkVersion, rootNamespace) { }
public static SolutionWizard With_NetCoreClassLibrary(this SolutionWizard wizard, string assemblyName, NetCorePlatform targetFrameworkVersion) { Project newProj = new NetCoreClassLibraryProject(assemblyName, targetFrameworkVersion); newProj.AddFileToFolder(new ProjectFile(SolutionWizard.CreateEmpty_NetFramework_ClassFile(assemblyName))); wizard.WithProject(newProj); return(wizard); }