2

I have created the MAUI project according to the getting started guide:

It is a default project without any changes. Now, I am trying to build my project and I get the next errors:

  • Specified AndroidManifest file does not exist: C:\***\source\repos\MauiApp\MauiApp\AndroidManifest.xml.
  • Assets file 'C:\***\source\repos\MauiApp\MauiApp\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.

I have tried to restore NuGet but it doesn't help. What did I miss? or any suggestion for fixing?

EDIT:

  • Windows 10 Pro,19043.1237
  • Visual Studio Community 2022 Preview, 17.0.0 Preview 5.0
RredCat
  • 5,259
  • 5
  • 60
  • 100
  • 1
    Which OS are you using? I had the same problem on macOS, but worked fine on windows. Also, does the file exist? – Juan Sturla Oct 19 '21 at 12:08
  • 1
    which visual studio 2022 preview version are you using. I recently downloaded Visual Studio preview 5. Not faced any problem. Can you try latest preview version . – virender Oct 19 '21 at 12:27
  • hi guys, I have added OS version and I am using latest version of VS 2022 – RredCat Oct 19 '21 at 12:28
  • I have it in VStud 17.4 OSX pre-existing project ... new Maui projects work. – kenny Oct 13 '22 at 10:30

1 Answers1

1

This issue was fixed in the Visual Studio Community 2022 Preview, 17.0.0 Preview 6.0

RredCat
  • 5,259
  • 5
  • 60
  • 100