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

[BUG] MSIX installer with Flutter 2.8.0 #68

Closed
tonyhart7 opened this issue Dec 9, 2021 · 14 comments
Closed

[BUG] MSIX installer with Flutter 2.8.0 #68

tonyhart7 opened this issue Dec 9, 2021 · 14 comments

Comments

@tonyhart7
Copy link

MSIX Latest 2.6.3 - 2.6.5

.dart_tool/flutter_build/generated_main.dart(38,14): error G9EFD8EEC: Member not found: 'Msix.registerWith'. [C:\Development\flutter projects\arsyad bis\bus-ticket-system\build\windows\flutter\flutter_assemble.vcxproj]
.dart_tool/flutter_build/generated_main.dart:1
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\Development\flutter projects\arsyad bis\bus-ticket-system\build\windows\CMakeFiles\c65f6c3baf04baf5631eb4f9a9094ee1\flutter_windows.dll.rule;C:\Development\flutter projects\arsyad bis\bus-ticket-system\build\windows\CMakeFiles\52f3e30c4dfc32b6fb110b1cc00a56d0\flutter_assemble.rule' exited with code 1. [C:\Development\flutter projects\arsyad bis\bus-ticket-system\build\windows\flutter\flutter_assemble.vcxproj]
Exception: Build process failed.

I cant sign or install on release or debug mode on flutter latest version

Flutter 2.8.0

@YehudaKremer
Copy link
Owner

#63

@tonyhart7
Copy link
Author

#63

so is this fixed ?? what I can help

@YehudaKremer
Copy link
Owner

I need more details to try help you with this problem,
here the issue template

@tonyhart7
Copy link
Author

tonyhart7 commented Dec 9, 2021

ℹ️ Info
MSIX 2.6.3 - 2.6.5

💬 Description
when I run debug or release on flutter 2.8.0, msix register with pop a error

📜 Pubspec.yaml
msix_config:
display_name: Arsyad Bus Ticket Admin
publisher_display_name: tonyhart.dev
identity_name: arsyad.admin.ticketapp
msix_version: 1.5.0.0
certificate_path: C:\Users\Tony Hart\Pictures\bus ticket arsyad\cert key\CERTIFICATE.pfx
certificate_password: 12345
publisher: CN=arsyad, O=arsyad, L=glenmore, S=java, C=ID
logo_path: C:\Users\Tony Hart\Pictures\arsyad\logo arsyad.png
start_menu_icon_path: C:\Users\Tony Hart\Pictures\arsyad\logo arsyad.png
tile_icon_path: C:\Users\Tony Hart\Pictures\arsyad\logo arsyad.png
vs_generated_images_folder_path: C:\Users\Tony Hart\Pictures\arsyad\logo arsyad.png
icons_background_color: "#ffffff"
architecture: x64
capabilities: 'internetClient'

is this good enough ??

@YehudaKremer
Copy link
Owner

did you execute flutter build windows successfully ?
when you getting this error ?

@tonyhart7
Copy link
Author

did you execute flutter build windows successfully ? when you getting this error ?

thats the problem, I cant even run my project

@tonyhart7
Copy link
Author

did you execute flutter build windows successfully ? when you getting this error ?

Launching lib\main.dart on Windows in debug mode...
lib\main.dart:1
.dart_tool/flutter_build/generated_main.dart(38,14): error G9EFD8EEC: Member not found: 'Msix.registerWith'. [C:\Development\flutter projects\arsyad bis\bus-ticket-system\build\windows\flutter\flutter_assemble.vcxproj]

@YehudaKremer
Copy link
Owner

flutter build windows is not msix package command, its flutter command that create the .exe files.
Only after flutter build windows, you using msix package command flutter pub run msix:create to create the msix installer file:
image

maybe try removing the msix package completely and try flutter build windows again, see if msix causes this error

@YehudaKremer
Copy link
Owner

by the way, you sing msix under dependencies:, or dev_dependencies: ?

@tonyhart7
Copy link
Author

by the way, you sing msix under dependencies:, or dev_dependencies: ?

msix on depedency

@YehudaKremer
Copy link
Owner

its need to be under dev_dependencies:

@YehudaKremer
Copy link
Owner

any success ?

@tonyhart7
Copy link
Author

any success ?

will try tomorrow
already past my time to sleep

@tonyhart7
Copy link
Author

its need to be under dev_dependencies:

yeah its run hehe

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