Skip to content

Commit

Permalink
Sample updated to Preview 14
Browse files Browse the repository at this point in the history
  • Loading branch information
egvijayanand committed Mar 29, 2022
1 parent 1ab74a2 commit 0709b50
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 49 deletions.
2 changes: 1 addition & 1 deletion src/MauiBlazorApp/MauiBlazorApp/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using BlazorApp.Services;
using VijayAnand.MauiToolkit.Services;

namespace MauiBlazorApp
{
Expand Down
17 changes: 12 additions & 5 deletions src/MauiBlazorApp/MauiBlazorApp/MauiBlazorApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,26 @@
<TargetFrameworks>net6.0-ios;net6.0-android;net6.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks>
<OutputType>Exe</OutputType>

<!-- .NET MAUI -->
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<RootNamespace>MauiBlazorApp</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>

<!-- Project Options -->
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MauiBlazorApp</RootNamespace>

<!-- Display name -->
<ApplicationTitle>MauiBlazorApp</ApplicationTitle>

<!-- App Identifier -->
<ApplicationId>com.companyname.mauiblazorapp</ApplicationId>
<ApplicationId Condition="$(TargetFramework.Contains('-windows'))">c0e5a981-6a8b-4f3f-89ca-d2495f8a9131</ApplicationId>

<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>

<!-- Required for C# Hot Reload -->
Expand All @@ -36,19 +41,21 @@
<MauiIcon Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" Color="#512BD4" />

<!-- Splash Screen -->
<MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" />
<MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" BaseSize="128,128" />

<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />

<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui.Markup" Version="1.0.0-pre7" />
<PackageReference Include="CommunityToolkit.Maui.Markup" Version="1.0.0-pre8" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="6.0.2" />
<PackageReference Include="VijayAnand.MauiBlazor.Markup" Version="1.0.0-pre3" />
<PackageReference Include="VijayAnand.MauiBlazor.Markup" Version="1.0.0-pre4" />
<PackageReference Include="VijayAnand.MauiToolkit" Version="1.0.0-pre2" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">

<Identity
Name="c0e5a981-6a8b-4f3f-89ca-d2495f8a9131"
Publisher="CN=User Name"
Version="1.0.0.0" />
<Identity Publisher="CN=User Name" />

<Properties>
<DisplayName>MauiBlazorApp</DisplayName>
<PublisherDisplayName>Microsoft</PublisherDisplayName>
<Logo>appiconStoreLogo.png</Logo>
<PublisherDisplayName>User Name</PublisherDisplayName>
</Properties>

<Dependencies>
Expand All @@ -30,24 +25,7 @@
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
<uap:VisualElements
DisplayName="MauiBlazorApp"
Description="MauiBlazorApp"
BackgroundColor="transparent"
Square150x150Logo="appiconMediumTile.png"
Square44x44Logo="appiconLogo.png">
<uap:DefaultTile
Wide310x150Logo="appiconWideTile.png"
Square71x71Logo="appiconSmallTile.png"
Square310x310Logo="appiconLargeTile.png"
ShortName="MauiBlazorApp">
<uap:ShowNameOnTiles>
<uap:ShowOn Tile="square150x150Logo"/>
<uap:ShowOn Tile="wide310x150Logo"/>
</uap:ShowNameOnTiles>
</uap:DefaultTile >
<uap:SplashScreen Image="appiconfgSplashScreen.png" />
</uap:VisualElements>
<uap:VisualElements />
</Application>
</Applications>

Expand Down
18 changes: 0 additions & 18 deletions src/MauiBlazorApp/MauiBlazorApp/Services/AppService.cs

This file was deleted.

0 comments on commit 0709b50

Please sign in to comment.