WinAppSdkGenerateAppxPackageRecipe Error

MiNie98 1 Reputation point
2022-09-17T14:06:58.31+00:00

Hi,

New Visual Studio 2022 Installation.
New .Net Maui Projekt without changes.

It don't start and throwing folling error:

Schweregrad Code Beschreibung Projekt Datei Zeile Unterdrückungszustand
Fehler MSB4018 Unerwarteter Fehler bei der WinAppSdkGenerateAppxPackageRecipe-Aufgabe.
System.IO.FileNotFoundException: Die Datei oder Assembly "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
Dateiname: "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed"
bei Microsoft.VisualStudio.Telemetry.MachinePropertyBag.ParseIn(String filepath)
bei Microsoft.VisualStudio.Telemetry.MachinePropertyBag.LoadStore()
bei Microsoft.VisualStudio.Telemetry.WindowsIdentityInformationProvider.<>c.<.cctor>b__12_0()
bei System.Lazy1.CreateValue() \--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Lazy1.get_Value()
bei Microsoft.VisualStudio.Telemetry.IdentityInformationProvider.SchedulePostPersistedSharedPropertyAndSendAnyFaults(TelemetrySession telemetrySession, ITelemetryScheduler scheduler)
bei Microsoft.VisualStudio.Telemetry.TelemetrySession.InitializeSession()
bei Microsoft.VisualStudio.Telemetry.TelemetrySession.HardwareIdCalculationCompleted(Object sender, EventArgs e)
bei Microsoft.VisualStudio.Telemetry.TelemetrySession.DisposeStart()
bei Microsoft.VisualStudio.Telemetry.TelemetrySession.DisposeManagedResources()
bei Microsoft.VisualStudio.Telemetry.TelemetryDisposableObject.Dispose()
bei Microsoft.Build.Msix.AppxPackagingTaskHelper.PostTelemetryFault(Exception e)
bei Microsoft.Build.Msix.AppxPackagingTaskHelper.Execute(String file)
bei Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
bei Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

Found nothing to this error.
Someone can help, what is missing?

Regards
Michael

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,542 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.