https://learn.microsoft.com/en-us/ Xamarin/Android/Get-Started/Installation/Android-Emulator/Geräte-Manager? Tabs = Windows & Pivots = Windows
Ich habe auch die 'Maui ausgeführt -Con 'CLI Tool und alles prüft, aber wenn ich eine neue .NET MAUI -App mit Visual Studio 2019 V16.11.0 Preview 2.0 (ausgeführt unter Windows 10 Home 20H2) erstelle Im aktuellen Kontext "Erstellen Sie Fehler. Es findet auch nicht die Verweise auf Kontrollen auf der Form, z. 'Der Name' Gegenlabel 'existiert nicht im aktuellen Kontext. Hinzufügen und Entfernen von Dateien, Änderungen vornehmen und sie zurückziehen Was ich zeige, dass die Namespaces korrekt sind: < /p>
app.xaml:
...
< /code>
app.xaml.cs
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific;
using System;
using Application = Microsoft.Maui.Controls.Application;
namespace MauiApp1
{
public partial class App : Application
{
public App()
{
InitializeComponent();
MainPage.xaml:
ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MauiApp1.MainPage"
BackgroundColor="{DynamicResource PageBackgroundColor}">
...
< /code>
MainPage.xaml.cs
using System;
using Microsoft.Maui.Controls;
namespace MauiApp1
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
Ich habe versucht, mit .NET MAUI zu spielen und meine Entwicklungsumgebung eingerichtet, die in den Schritten folgen, wie in: [list] [*] https: // lern.microsoft.com/en-us/dotnet/maui/get-started/first-app?pivots=windows [*]https://learn.microsoft.com/en-us/s/ Windows/Apps/Project-Reunion/Setup-your-Development-Environment#forders-Workload--and-components [*]https://learn.microsoft.com/en-us/ Xamarin/Android/Get-Started/Installation/Android-Emulator/Geräte-Manager? Tabs = Windows & Pivots = Windows [/list] Ich habe auch die 'Maui ausgeführt -Con 'CLI Tool und alles prüft, aber wenn ich eine neue .NET MAUI -App mit Visual Studio 2019 V16.11.0 Preview 2.0 (ausgeführt unter Windows 10 Home 20H2) erstelle Im aktuellen Kontext "Erstellen Sie Fehler. Es findet auch nicht die Verweise auf Kontrollen auf der Form, z. 'Der Name' Gegenlabel 'existiert nicht im aktuellen Kontext. Hinzufügen und Entfernen von Dateien, Änderungen vornehmen und sie zurückziehen Was ich zeige, dass die Namespaces korrekt sind: < /p> app.xaml: [code] ...
< /code> app.xaml.cs using Microsoft.Maui; using Microsoft.Maui.Controls; using Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific; using System; using Application = Microsoft.Maui.Controls.Application;
namespace MauiApp1 { public partial class App : Application { public App() { InitializeComponent(); MainPage.xaml: ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MauiApp1.MainPage" BackgroundColor="{DynamicResource PageBackgroundColor}">
...
< /code> MainPage.xaml.cs using System; using Microsoft.Maui.Controls;
namespace MauiApp1 { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent();
Ich habe eine .NET MAUI Blazor Hybrid- und Web -App -Lösung mit den vier mobilen, Web-, gemeinsam genutzten und Client -Projekten.
Der größte Teil der Anwendung befindet sich im gemeinsam genutzten...
Wie zerstöre ich ein GameObject dauerhaft? Das heißt, ich möchte, dass das GameObject nur einmal vorhanden ist, wenn ich es in der aktuellen Szene zerstöre, und wenn ich dann dieselbe Szene neu lade,...
Körper:
Ich entwickle eine einfache .NET 8 WPF -Anwendung mit Visual Studio -Code unter Windows mit der C# Dev -Kit -Erweiterung. Im aktuellen Kontext ) in meinem Mainwindow.xaml.cs Datei für:...