Git Product home page Git Product logo

Comments (6)

pr-Mais avatar pr-Mais commented on September 26, 2024

Are you on the latest version of VS? please check the additional requirements for developing windows apps with Flutter.

from flutterfire_desktop.

Ruisi-Lu avatar Ruisi-Lu commented on September 26, 2024

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.

venky9885 avatar venky9885 commented on September 26, 2024

Have you installed nuget ??

from flutterfire_desktop.

Ruisi-Lu avatar Ruisi-Lu commented on September 26, 2024

yes, NuGet Version: 6.2.1.2

Have you installed nuget ??

Yes, NuGet Version: 6.2.1.2

from flutterfire_desktop.

pr-Mais avatar pr-Mais commented on September 26, 2024

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.

romantitov avatar romantitov commented on September 26, 2024

I have similar issue.
Visual Studio 2022 17.3.2
image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.