Skip to content

Build fails on windows when I use *25.2.5 #1890

Closed
@richard457

Description

Bug description

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'D:\a\flipper\flipper\apps\flipper\build\windows\x64\CMakeFiles\083e6a85e3a644d59acbf5e1be804eba\flutter_windows.dll.rule;D:\a\flipper\flipper\apps\flipper\build\windows\x64\CMakeFiles\7ea1013b22b154002d4dcfb27b53f779\flutter_assemble.rule;D:\a\flipper\flipper\apps\flipper\windows\flutter\CMakeLists.txt' exited with code 1. [D:\a\flipper\flipper\apps\flipper\build\windows\x64\flutter\flutter_assemble.vcxproj]
Build process failed.

#0 ProcessResultExtensions.exitOnError (package:msix/src/method_extensions.dart:61:7)
#1 WindowsBuild.build (package:msix/src/windows_build.dart:33:18)

#2 Msix._buildMsixFiles (package:msix/msix.dart:107:31)

#3 Msix._createMsix (package:msix/msix.dart:102:5)

#4 Msix.create (package:msix/msix.dart:59:5)

#5 main (file:***C:/Users/runneradmin/AppData/Local/Pub/Cache/hosted/pub.dev/msix-3.16.7/bin/create.dart:4:3)

Steps to reproduce

Build fails on windows when I use *25.2.5 change all dependencies to use 25.2.5 and build windows

Code sample

Code sample
[Add your code here]

Screenshots or Video

Build fails on windows when I use *25.2.5

Stack Traces

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'D:\a\flipper\flipper\apps\flipper\build\windows\x64\CMakeFiles\083e6a85e3a644d59acbf5e1be804eba\flutter_windows.dll.rule;D:\a\flipper\flipper\apps\flipper\build\windows\x64\CMakeFiles\7ea1013b22b154002d4dcfb27b53f779\flutter_assemble.rule;D:\a\flipper\flipper\apps\flipper\windows\flutter\CMakeLists.txt' exited with code 1. [D:\a\flipper\flipper\apps\flipper\build\windows\x64\flutter\flutter_assemble.vcxproj]
Build process failed.

#0 ProcessResultExtensions.exitOnError (package:msix/src/method_extensions.dart:61:7)
#1 WindowsBuild.build (package:msix/src/windows_build.dart:33:18)

#2 Msix._buildMsixFiles (package:msix/msix.dart:107:31)

#3 Msix._createMsix (package:msix/msix.dart:102:5)

#4 Msix.create (package:msix/msix.dart:59:5)

#5 main (file:***C:/Users/runneradmin/AppData/Local/Pub/Cache/hosted/pub.dev/msix-3.16.7/bin/create.dart:4:3)

On which target platforms have you observed this bug?

Windows

Flutter Doctor output

flutter 3.22.1

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions