Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions dotnet-maui/DittoMauiTasksApp/DittoMauiTasksApp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst;net9.0-windows10.0.19041.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>DittoMauiTasksApp</RootNamespace>
<UseMaui>true</UseMaui>
Expand All @@ -20,6 +20,8 @@

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">23.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
</PropertyGroup>

<ItemGroup>
Expand All @@ -41,7 +43,9 @@
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
</ItemGroup>

<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250310001" />
</ItemGroup>
<ItemGroup>
<!-- See the README for instructions on creating this file, if it doesn't exist -->
<EmbeddedResource Include="../../.env" />
Expand Down
2 changes: 1 addition & 1 deletion dotnet-maui/DittoMauiTasksApp/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private static Ditto SetupDitto()
AppId,
PlaygroundToken,
false, // This is required to be set to false to use the correct URLs
authUrl));
authUrl), Path.Combine(FileSystem.Current.AppDataDirectory, "ditto"));

ditto.TransportConfig.Connect.WebsocketUrls.Add(websocketUrl);
// Optionally enable all P2P transports if using P2P Sync
Expand Down
Loading