Comments (6)
Are you on the latest version of VS? please check the additional requirements for developing windows apps with Flutter.
from flutterfire_desktop.
Are you on the latest version of VS? please check the additional requirements for developing windows apps with Flutter.
I use Visual Studio Community 2022 17.2.6(latest) and include all of default components for "Desktop development with C++".
Before I add firebase_core_desktop, I can build the project to windows app.
from flutterfire_desktop.
Have you installed nuget ??
from flutterfire_desktop.
yes, NuGet Version: 6.2.1.2
Have you installed nuget ??
Yes, NuGet Version: 6.2.1.2
from flutterfire_desktop.
I believe this might be related to an issue I can reproduce now:
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(378,5): error MSB3491: Could not write lines to file "x64\Debug\desktop_webview_auth_DEPENDENCIES_DOWNLOAD\desktop_.29304C0E.tlog\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.lastbuildstate". Path: x64\Debug\desktop_webview_auth_DEPENDENCIES_DOWNLOAD\desktop_.29304C0E.tlog\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.lastbuildstate exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\mais\Desktop\flutterfire_desktop\packages\firebase_auth\firebase_auth_desktop\example\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
Exception: Build process failed.
from flutterfire_desktop.
I have similar issue.
Visual Studio 2022 17.3.2
nuget - v6.2.1
The error:
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: The command "setlocal [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: C:\nuget\nuget.exe install Microsoft.Windows.ImplementationLibrary -Version 1.0.211019.2 -ExcludeVersion -OutputDirectory C:/MyUser/Projects//FlutterProject/src/build/windows/packages [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: C:\nuget\nuget.exe install Microsoft.Web.WebView2 -Version 1.0.1108.44 -ExcludeVersion -OutputDirectory C:/MyUser/Projects//FlutterProject/src/build/windows/packages [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: :cmEnd [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: :cmErrorLevel [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: exit /b %1 [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: :cmDone [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(149,5): error MSB3073: :VCEnd" exited with code 1. [C:\MyUser\Projects\Peat\SP\My_project\FlutterProject\src\build\windows\plugins\desktop_webview_auth\desktop_webview_auth_DEPENDENCIES_DOWNLOAD.vcxproj]
Exception: Build process failed.
dependencies:
#firebase
firebase_auth: ^3.6.2
firebase_core: ^1.21.0
firebase_core_desktop: ^1.0.2
firebase_auth_desktop: ^1.0.2
firebase_core_platform_interface: ^4.5.0
flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.19043.1889], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.3.2)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.70.0)
[√] Connected device (4 available)
[√] HTTP Host Availability
• No issues found!
from flutterfire_desktop.
Related Issues (20)
- 🐛 [firebase_auth_desktop] For recaptcha its asking to upgrade supported browser HOT 2
- 🐛 [firebase_auth_desktop-1.0.1]Multiple Errors HOT 1
- 🐛 [firebase desktop auth]Recaptcha issue HOT 5
- 🐛 [firebase_auth] type 'DateTime' is not a subtype of type 'int' when trying to read IdTokenResult.expirationTime HOT 4
- 🐛 Error when building linux application HOT 3
- [📚] Your documentation feedback title (CHANGE ME)
- 🐛 [firebase_core_desktop] Update dependences due crashlitycs update
- 🐛 [firebase_auth_desktop] Update dependences due crashlitycs update HOT 1
- Dependency Issue while installing firebase_auth_desktop HOT 2
- 🐛 [firebase_core_desktop] No implementation found HOT 1
- firebase_auth_desktop throws UnimplementedError on tenantId
- 🐛 firebase auth throw UnimplementedError
- 🐛 [firebase_auth_desktop: ^1.0.2] reCAPTCHA failed in windows HOT 1
- 🐛 [firebase_auth_desktop] Dependency issues HOT 10
- 🐛 [FIREBASE_CORE_DESKTOP] Not compatible with firebase messaging
- 🐛 [flutter_fire_auth] The method 'FallThroughError' isn't defined for the class 'ActionCodeInfo'
- 🐛 firebase_auth_desktop signIn error on Windows: Bad state: No element HOT 1
- 🐛 [firebase_auth_desktop] Unable to run `pod install` for macOS example HOT 1
- 🐛 [firebase_auth_desktop] project has build error because of new Firebase updates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutterfire_desktop.