Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 7e1dbe5

Browse files
committed
fix for launching an application outside the ide
1 parent e3858b1 commit 7e1dbe5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

CherryMerryGram.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<OutputType>WinExe</OutputType>
44
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
55
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
6-
<RootNamespace>CherryMerryGram</RootNamespace>
6+
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
7+
<RootNamespace>CherryMerryGram</RootNamespace>
78
<ApplicationManifest>app.manifest</ApplicationManifest>
89
<Platforms>x86;x64;ARM64</Platforms>
910
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) &gt;= 8">win-x86;win-x64;win-arm64</RuntimeIdentifiers>

Properties/launchSettings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"profiles": {
33
"CherryMerryGram (Package)": {
4-
"commandName": "MsixPackage"
4+
"commandName": "MsixPackage",
5+
56
},
67
"CherryMerryGram (Unpackaged)": {
78
"commandName": "Project"

Views/Chats/Chat.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public async void UpdateChat(long chatId, string Title)
2626
await foreach (var message in messages)
2727
{
2828
var messageEntry = new ChatMessage();
29-
messageEntry.UpdateMessage(message: message);
29+
//messageEntry.UpdateMessage(message: message);
3030
MessagesList.Items.Add(messageEntry);
3131
}
3232
}
@@ -43,7 +43,7 @@ public async void UpdateChat(long chatId, string Title)
4343

4444
foreach (var message in messages.Messages_)
4545
{
46-
yield return message;
46+
yield return messages;
4747
}
4848
}
4949

0 commit comments

Comments
 (0)