I try to use maui template to create demo project , when I run dotnet build
It show that
/Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.Maui. No packages exist with this id in source(s): nuget.org
/Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.iOS.Runtime.iossimulator-x64. No packages exist with this id in source(s): nuget.org
/Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.Android.Runtime.android-arm64. No packages exist with this id in source(s): nuget.org
/Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.Android.Runtime.android-x86. No packages exist with this id in source(s): nuget.org
/Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.MacCatalyst.Runtime.maccatalyst-x64. No packages exist with this id in source(s): nuget.org
I try to use maui template to create demo project , when I run dotnet build
It show that
/Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.Maui. No packages exist with this id in source(s): nuget.org /Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.iOS.Runtime.iossimulator-x64. No packages exist with this id in source(s): nuget.org /Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.Android.Runtime.android-arm64. No packages exist with this id in source(s): nuget.org /Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.Android.Runtime.android-x86. No packages exist with this id in source(s): nuget.org /Users/lokinfey/Desktop/Demo/DemoApp/DemoApp.csproj : error NU1101: Unable to find package Microsoft.MacCatalyst.Runtime.maccatalyst-x64. No packages exist with this id in source(s): nuget.org
but I try to run https://github.com/dotnet/net6-mobile-samples , it is okay .... I don't know why