Skip to content

Commit

Permalink
Merge pull request #278 from egvijayanand/working
Browse files Browse the repository at this point in the history
VS Extension updated to its corresponding CLI NuGet package
  • Loading branch information
egvijayanand authored Nov 29, 2024
2 parents 4abca4b + 05aef4b commit b5beeb4
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ And from [v6.1.0](https://www.nuget.org/packages/VijayAnand.MauiTemplates/6.1.0)

To facilitate this, the design pattern (`-dp`) parameter includes a new value called `JSHybrid`, which creates an App project using `HybridWebView` with all prerequisites set automatically, requiring no manual intervention.

In the VS2022/Rider IDE, within the Project Options page, this `Design Pattern` is available as a dropdown UI control. Select `JSHybrid` as its value.
In the VS2022/Rider IDE, within the Project Options page, this `Application Design` option is available as a dropdown UI control. Select `JSHybrid` as its value.

*Since HybridWebView is a feature introduced in .NET MAUI 9, creating a .NET MAUI 8 App with this design pattern (`-dp`) parameter value of `JSHybrid` will not result in an error; instead, it will fall back by creating an App project that corresponds to the default `Plain` value.*
*Since HybridWebView is a feature introduced in .NET MAUI 9, creating a .NET MAUI 8 App with the value of `JSHybrid` will NOT result in an error; instead, it will fall back by creating an App project that corresponds to the default `Plain` value from both the CLI and the IDE.*

```shell
dotnet new mauiapp -o MyApp -dp JSHybrid
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
<IncludeInVSIX>true</IncludeInVSIX>
<VSIXSubPath>ItemTemplates\MAUI</VSIXSubPath>
</Content>
<None Include="Assets\VijayAnand.MauiTemplates.6.0.0.nupkg" />
<None Include="Assets\VijayAnand.MauiTemplates.6.1.0.nupkg" />
<Content Include="MauiSnippets\CSharp\asyncRelayCommand.snippet">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[$RootKey$\TemplateEngine\Templates\VijayAnand.MauiTemplates\6.0.0]
[$RootKey$\TemplateEngine\Templates\VijayAnand.MauiTemplates\6.1.0]
"InstalledPath"="$PackageFolder$\ProjectTemplates"
16 changes: 14 additions & 2 deletions src/Extensions/MauiTemplates/MauiTemplates/release-notes.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
Join me on Developer Thoughts (https://egvijayanand.in/), an exclusive blog for articles on Xamarin.Forms, .NET MAUI and Blazor.

This VS extension does not gather any usage or telemetry data, even anonymously, ensuring that you can use it freely and with complete privacy assurance.
This VS extension does not gather any usage or telemetry data, even anonymously, ensuring that you can use it with complete privacy assurance.

What's new in ver. 6.0.1.0:
What's new in ver. 6.1.0.0:
---------------------------
Introduced an option to create a new project template using HybridWebView.

To know more about HybridWebView, consult this article https://egvijayanand.in/2024/10/04/exploring-dotnet-maui-9-hybridwebview-features/

To facilitate this, within the Project Options page in the IDE, this Application Design option is available as a dropdown UI control. Select JSHybrid as its value.

Since HybridWebView is a feature introduced in .NET MAUI 9, creating a .NET MAUI 8 App with this value of JSHybrid will NOT result in an error; instead, it will fall back by creating a App project that corresponds to the default Plain value.

The Application Design option with the value Hybrid will continue to generate an App project using BlazorWebView, which works on both .NET MAUI 8 and 9, the present stable channel release.

v6.0.1.0:

Templates updated to support .NET MAUI 9 Stable channel release.

The default value for the Framework parameter is now set to .NET 9.0 (STS).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ internal sealed partial class Vsix
public const string Name = ".NET MAUI Project and Item Templates";
public const string Description = @".NET MAUI Project, Item Templates, and Code Snippets for Visual Studio 2022 (.NET MAUI 8 and 9).";
public const string Language = "en-US";
public const string Version = "6.0.1.0";
public const string Version = "6.1.0.0";
public const string Author = "Vijay Anand E G";
public const string Tags = "MAUI, iOS, Android, macOS, WinUI, Windows, Desktop, Mobile, Blazor, .NET MAUI, Mac Catalyst, Templates, VS2022, Visual Studio, WinUI3, GA, Code Snippets, Unified, All-in-One, Hybrid, Tizen, Stable, .NET 7, Blazor Hybrid, BlazorWebView, C#, Handlers, Maps, MAUI Maps, MVVM, XAML, SR, WinUI, Service Release, .NET 6, Dual Screen, Foldable, Surface Duo, General Availability, Markup, Fluent, C# Markup, Media, Audio, Video, Playback, Streaming, AV, Class, .NET 8, Razor, Comet, Reactor, Compiled, Bindings, MVU, F#, Fabulous, SR1, SR2, Generic, .NET 9, CPM, NuGet, Camera";
public const string Tags = "MAUI, iOS, Android, macOS, WinUI, Windows, Desktop, Mobile, Blazor, .NET MAUI, Mac Catalyst, Templates, VS2022, Visual Studio, WinUI3, GA, Code Snippets, Unified, All-in-One, Hybrid, Tizen, Stable, Blazor Hybrid, BlazorWebView, C#, Handlers, Maps, MAUI Maps, MVVM, XAML, SR, WinUI, Service Release, Dual Screen, Foldable, Surface Duo, General Availability, Markup, Fluent, C# Markup, Media, Audio, Video, Playback, Streaming, AV, Class, .NET 8, Razor, Reactor, Compiled, Bindings, MVU, F#, Fabulous, Generic, .NET 9, CPM, NuGet, Camera, ARM64, JavaScript, JS, HybridWebView";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="MauiTemplates.20dca96a-7311-401f-84ed-980478fb319b"
Version="6.0.1.0"
Version="6.1.0.0"
Language="en-US"
Publisher="Vijay Anand E G"/>
<DisplayName>.NET MAUI Project and Item Templates</DisplayName>
Expand All @@ -15,7 +15,7 @@
<ReleaseNotes>release-notes.txt</ReleaseNotes>
<Icon>Resources\Icon.png</Icon>
<PreviewImage>Resources\Icon.png</PreviewImage>
<Tags>MAUI, iOS, Android, macOS, WinUI, Windows, Desktop, Mobile, Blazor, .NET MAUI, Mac Catalyst, Templates, VS2022, Visual Studio, WinUI3, GA, Code Snippets, Unified, All-in-One, Hybrid, Tizen, Stable, .NET 7, Blazor Hybrid, BlazorWebView, C#, Handlers, Maps, MVVM, XAML, SR, WinUI, Service Release, .NET 6, Dual Screen, Foldable, Surface Duo, General Availability, Markup, Fluent, C# Markup, Media, Audio, Video, Playback, Streaming, AV, Class, .NET 8, Razor, Comet, Reactor, Compiled, Bindings, MVU, F#, Fabulous, SR1, SR2, Generic, .NET 9, CPM, NuGet, Camera, ARM64</Tags>
<Tags>MAUI, iOS, Android, macOS, WinUI, Windows, Desktop, Mobile, Blazor, .NET MAUI, Mac Catalyst, Templates, VS2022, Visual Studio, WinUI3, GA, Code Snippets, Unified, All-in-One, Hybrid, Tizen, Stable, Blazor Hybrid, BlazorWebView, C#, Handlers, Maps, MAUI Maps, MVVM, XAML, SR, WinUI, Service Release, Dual Screen, Foldable, Surface Duo, General Availability, Markup, Fluent, C# Markup, Media, Audio, Video, Playback, Streaming, AV, Class, .NET 8, Razor, Reactor, Compiled, Bindings, MVU, F#, Fabulous, Generic, .NET 9, CPM, NuGet, Camera, ARM64, JavaScript, JS, HybridWebView</Tags>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community"
Expand Down

0 comments on commit b5beeb4

Please sign in to comment.