public XamariniOSAppProject(string assemblyName, string appName, string bundleIdentifier, Guid assemblyGuid, XamariniOSPlatform targetFrameworkVersion, NugetPackage xamarinPackage, string rootNamespace = "") : base(assemblyName, assemblyGuid, "Exe", targetFrameworkVersion, rootNamespace) { // project specific fields _appName = appName; _bundleIdentifier = bundleIdentifier; SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Ad-Hoc", "Any CPU")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Ad-Hoc", "iPhone")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Ad-Hoc", "iPhoneSimulator")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("AppStore", "Any CPU")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("AppStore", "iPhone")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("AppStore", "iPhoneSimulator")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Debug", "Any CPU")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Debug", "iPhone")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Debug", "iPhoneSimulator")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Release", "Any CPU")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Release", "iPhone")); SupportedBuildConfigurations.Add(new SupportedBuildConfiguration("Release", "iPhoneSimulator")); WithNugetPackage(xamarinPackage); AddDefaultAssemblyReferences(); AddDefaultFoldersAndFiles(); }
public XamariniOSAppProject(string assemblyName, string appName, string bundleIdentifier, XamariniOSPlatform targetFrameworkVersion, NugetPackage xamarinPackage, string rootNamespace = "") : this(assemblyName, appName, bundleIdentifier, new Guid(), targetFrameworkVersion, xamarinPackage, rootNamespace) { }