Redth / dotnet-maui-check

.NET MAUI Check tool
MIT License
479 stars 79 forks source link

Not found in nuget #13

Closed lokinfey closed 3 years ago

lokinfey commented 3 years ago

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

lokinfey commented 3 years ago

I copy Nuget.config is okay