|
|
@ -425,7 +425,7 @@ public abstract class ProjectCreationCommandBase |
|
|
{ |
|
|
{ |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var isWebassembly = projectArgs.UiFramework == UiFramework.Blazor; |
|
|
var isWebassembly = projectArgs.UiFramework == UiFramework.Blazor; |
|
|
var message = isWebassembly ? "Generating bundles for Blazor Wasm" : "Generating bundles for MAUI Blazor"; |
|
|
var message = isWebassembly ? "Generating bundles for Blazor Wasm" : "Generating bundles for MAUI Blazor"; |
|
|
Logger.LogInformation(message + "..."); |
|
|
Logger.LogInformation(message + "..."); |
|
|
@ -440,7 +440,7 @@ public abstract class ProjectCreationCommandBase |
|
|
{ |
|
|
{ |
|
|
path = Path.Combine(path, "apps"); |
|
|
path = Path.Combine(path, "apps"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var directory = Path.GetDirectoryName( |
|
|
var directory = Path.GetDirectoryName( |
|
|
Directory.GetFiles(path, isWebassembly ? "*.Blazor.csproj" : "*.MauiBlazor.csproj", SearchOption.AllDirectories).First() |
|
|
Directory.GetFiles(path, isWebassembly ? "*.Blazor.csproj" : "*.MauiBlazor.csproj", SearchOption.AllDirectories).First() |
|
|
); |
|
|
); |
|
|
@ -455,7 +455,7 @@ public abstract class ProjectCreationCommandBase |
|
|
{ |
|
|
{ |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (projectArgs.TemplateName == MicroserviceProTemplate.TemplateName && projectArgs.UiFramework is UiFramework.Blazor) |
|
|
if (projectArgs.TemplateName == MicroserviceProTemplate.TemplateName && projectArgs.UiFramework is UiFramework.Blazor) |
|
|
{ |
|
|
{ |
|
|
return true; |
|
|
return true; |
|
|
@ -907,5 +907,10 @@ public abstract class ProjectCreationCommandBase |
|
|
{ |
|
|
{ |
|
|
public const string Long = "theme-style"; |
|
|
public const string Long = "theme-style"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static class NoOpenWebPage |
|
|
|
|
|
{ |
|
|
|
|
|
public const string Long = "no-open"; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|