When I Run the flutter run -d windows
command it shows nuget is not installed error. How to solve this in windows.
I tried Manual installation of nuget.exe and updated visual studio packages.
I run flutter doctor -v
cmd no issues found.
When I Run the flutter run -d windows
command it shows nuget is not installed error. How to solve this in windows.
I tried Manual installation of nuget.exe and updated visual studio packages.
I run flutter doctor -v
cmd no issues found.
The NuGet Command Line Interface (CLI), nuget.exe, provides the full extent of NuGet functionality to install, create, publish, and manage packages without making any changes to project files.
flutter run -d windows
In my case, a library/plugin does not support Windows platform actually.
For example, in my case, https://pub.dev/packages/flutter_sharing_intent describes to support Windows. However actually it does not supports Windows.
So that, I removed flutter.plugin.platforms.windows in pubspec.yaml of flutter_sharing_intent plugin. Then the issue fixed.