Skip to content

Trouble with a hot-reload #1189

@sai-404-1

Description

@sai-404-1

URL

https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/intro

Operating system

macos

More information about your system

MacOS 26.2 (25C56), ARM64

Description

I'm following the instructions on these pages, but hot-reload isn't working for me. Instead, I get a VS Code warning: "The current launch configuration "C#: MyMauiApp [My Mac]" will ignore either the startup project or debug target selection. To use the configured startup project and debug target, run the "Debug: Select and Start Debugging" command from the Command Palette and choose "C#: Launch Startup Project."

Image

I'm not sure what I did wrong...

dotnet --info

➜ MyMauiApp git:(main) ✗ dotnet --info

ПАКЕТ SDK ДЛЯ .NET:
Version: 10.0.103
Commit: c2435c3e0f
Workload version: 10.0.103
MSBuild version: 18.0.11+c2435c3e0

Среда выполнения:
OS Name: Mac OS X
OS Version: 26.2
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/10.0.103/

Установленные рабочие нагрузки .NET:
[maccatalyst]
Источник установки: SDK 10.0.100
Версия манифеста: 26.2.10197/10.0.100
Путь к манифесту: /usr/local/share/dotnet/sdk-manifests/10.0.100/microsoft.net.sdk.maccatalyst/26.2.10197/WorkloadManifest.json
Тип установки: FileBased

[maui]
Источник установки: SDK 10.0.100
Версия манифеста: 10.0.20/10.0.100
Путь к манифесту: /usr/local/share/dotnet/sdk-manifests/10.0.100/microsoft.net.sdk.maui/10.0.20/WorkloadManifest.json
Тип установки: FileBased

Настроено на использование workload sets при установке новых манифестов.

Host:
Version: 10.0.3
Architecture: arm64
Commit: c2435c3e0f

.NET SDKs installed:
10.0.103 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-tutorialsIssues related to getting started tutorialsneeds-triageIssues that haven't been triaged yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions