Add server projects. Packaging with WinUI server doesn't work. Payload contains two or more files etc.

This commit is contained in:
Burak Kaan Köse
2024-07-21 02:17:11 +02:00
parent 1f472d78e0
commit f112f369a7
29 changed files with 186 additions and 153 deletions

View File

@@ -17,6 +17,7 @@ using Wino.Core.Synchronizers;
using Wino.Messaging;
using Wino.Messaging.Enums;
using Wino.Messaging.Server;
using Wino.Server.NET8;
namespace Wino.Server
{
@@ -107,13 +108,13 @@ namespace Wino.Server
public async Task TestOutlookSynchronizer()
{
var accountService = App.Current.Services.GetService<IAccountService>();
var accountService = ServerApp.Current.Services.GetService<IAccountService>();
var accs = await accountService.GetAccountsAsync();
var acc = accs.ElementAt(0);
var authenticator = App.Current.Services.GetService<OutlookAuthenticator>();
var processor = App.Current.Services.GetService<IOutlookChangeProcessor>();
var authenticator = ServerApp.Current.Services.GetService<OutlookAuthenticator>();
var processor = ServerApp.Current.Services.GetService<IOutlookChangeProcessor>();
var sync = new OutlookSynchronizer(acc, authenticator, processor);
@@ -212,10 +213,5 @@ namespace Wino.Server
}
#endregion
}
}