Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding universal_ble to pubspec.yaml results in "Nuget.exe not found" error/warning #26

Closed
BikeBr0 opened this issue Mar 18, 2024 · 6 comments

Comments

@BikeBr0
Copy link

BikeBr0 commented Mar 18, 2024

I'm not sure if this is a problem, but when I add universal_ble as a dependency to pubspec.yaml (without actually using the plugin) in my simple hello_world app and run the app through VS Code, I see:

Launching lib\main.dart on Windows in debug mode...
Nuget.exe not found, trying to download or use cached version.

This occurs when running in release mode too:

C:\Users\me.person\workspace\hello_world>flutter run -d windows --release
Launching lib\main.dart on Windows in release mode...
Nuget.exe not found, trying to download or use cached version.
Building Windows application... 

I'm not sure if this is causing a runtime problem.

@BikeBr0 BikeBr0 changed the title Adding universal_ble to pubsepc.yaml results in "Nuget.exe not found" error/warning Adding universal_ble to pubspec.yaml results in "Nuget.exe not found" error/warning Mar 18, 2024
@fotiDim
Copy link
Contributor

fotiDim commented Mar 18, 2024

I am pretty sure that it does not cause any runtime issues. I don't have nuget installed on my system and everything works fine. I have verified that with multiple computers. I am not sure if the plugin can suppress this warning somehow or if it just dependent on the development environment.

@BikeBr0
Copy link
Author

BikeBr0 commented Mar 18, 2024

Sounds good @fotiDim. It's mainly worrisome since it prints out in red:

image

@fotiDim
Copy link
Contributor

fotiDim commented Mar 18, 2024

This is how other plugins are handling it.

@fotiDim
Copy link
Contributor

fotiDim commented Mar 20, 2024

This is fixed in the latest release so closing.

@fotiDim fotiDim closed this as completed Mar 20, 2024
@BikeBr0
Copy link
Author

BikeBr0 commented Mar 20, 2024

This does seem to be resolved @fotiDim . However, the console seems extra quiet now. I'm accustomed to seeing more output while the application is being built. Now, the first output is from log statements in my own application code.

@fotiDim
Copy link
Contributor

fotiDim commented Mar 22, 2024

@BikeBr0 the only thing we removed was this line. No other logs were removed. There are other logs that will print if something goes wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants