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"));
 }
Пример #2
0
 public NetCoreProject(string assemblyName, string outputType, NetCorePlatform targetFrameworkVersion, string rootNamespace = "") :
     this(assemblyName, Guid.NewGuid(), outputType, targetFrameworkVersion, rootNamespace)
 {
 }
Пример #3
0
        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);
        }
Пример #4
0
 public NetCoreProject(string assemblyName, Guid assemblyGuid, string outputType, NetCorePlatform targetFrameworkVersion, string rootNamespace = "") :
     base(assemblyName, assemblyGuid, outputType, targetFrameworkVersion, rootNamespace)
 {
 }
Пример #5
0
        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);
        }