File tree 2 files changed +5
-3
lines changed
dotnet-maui/DittoMauiTasksApp
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks >
4
+ <TargetFrameworks >net9.0-android;net9.0-ios;net9.0-maccatalyst;net9.0-windows10.0.19041.0 </TargetFrameworks >
5
5
<OutputType >Exe</OutputType >
6
6
<RootNamespace >DittoMauiTasksApp</RootNamespace >
7
7
<UseMaui >true</UseMaui >
41
41
<PackageReference Include =" Microsoft.Maui.Controls" Version =" $(MauiVersion)" />
42
42
<PackageReference Include =" Microsoft.Maui.Controls.Compatibility" Version =" $(MauiVersion)" />
43
43
</ItemGroup >
44
-
44
+ <ItemGroup Condition =" $(TargetFramework.Contains('-windows'))" >
45
+ <PackageReference Include =" Microsoft.WindowsAppSDK" Version =" 1.7.250310001" />
46
+ </ItemGroup >
45
47
<ItemGroup >
46
48
<!-- See the README for instructions on creating this file, if it doesn't exist -->
47
49
<EmbeddedResource Include =" ../../.env" />
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ private static Ditto SetupDitto()
49
49
AppId ,
50
50
PlaygroundToken ,
51
51
false , // This is required to be set to false to use the correct URLs
52
- authUrl ) ) ;
52
+ authUrl ) , Path . Combine ( FileSystem . Current . AppDataDirectory , "ditto" ) ) ;
53
53
54
54
ditto . TransportConfig . Connect . WebsocketUrls . Add ( websocketUrl ) ;
55
55
// Optionally enable all P2P transports if using P2P Sync
You can’t perform that action at this time.
0 commit comments