Skip to content

Commit

Permalink
fix for launching an application outside the ide
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryymerryy committed Jul 31, 2024
1 parent e3858b1 commit 7e1dbe5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CherryMerryGram.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<RootNamespace>CherryMerryGram</RootNamespace>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
<RootNamespace>CherryMerryGram</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x86;x64;ARM64</Platforms>
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) &gt;= 8">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
Expand Down
3 changes: 2 additions & 1 deletion Properties/launchSettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"profiles": {
"CherryMerryGram (Package)": {
"commandName": "MsixPackage"
"commandName": "MsixPackage",

},
"CherryMerryGram (Unpackaged)": {
"commandName": "Project"
Expand Down
4 changes: 2 additions & 2 deletions Views/Chats/Chat.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async void UpdateChat(long chatId, string Title)
await foreach (var message in messages)
{
var messageEntry = new ChatMessage();
messageEntry.UpdateMessage(message: message);
//messageEntry.UpdateMessage(message: message);
MessagesList.Items.Add(messageEntry);
}
}
Expand All @@ -43,7 +43,7 @@ public async void UpdateChat(long chatId, string Title)

foreach (var message in messages.Messages_)
{
yield return message;
yield return messages;
}
}

Expand Down

0 comments on commit 7e1dbe5

Please sign in to comment.