How to packaging windows app for submitting microsoft store?

승훈 문 0 Reputation points
2023-03-31T00:31:23.28+00:00

Abstract

  • ✅My application is made by golang + fyne.io
  • ✅My app is only for desktop.
  • ✅Complete buiild So I have .exe build file
  • ✅Have microsoft store developer account
  • ⚠️I choosed the .appx
  • ⚠️ I failed packae my app as .appx or .msix using Visual Studio 2022

I wonder is it not possible that registering my application on microsoft store which is created by golang + fyne.io .

It seems that Microsoft store allows packaging app only C#, C++, Visual basic so my app is not supported..

Since visual studio requires entry point Main of C# Project like that.

Details

Here is the link where I described details what I tried, what type of error occurs.

I tried packaging my app as UWP but it failed

App_build_fail

Already said before, I already have .exe file so I set it as Executable and EntryPoint main my main.go

But it failed Visual Studio project requires Main of C# one.

Question Summary

  • Which is the better appropriate option between UWP and C++/WinRT
  • Which is the type package file between .appx or .msix in my case?
  • Is it possible packaing and submit my application on microsoft store even though my app is created by golang + fyne.io ? I configured AppManifest.xml but it failed since it requires entrypoint of C# one.
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
875 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
    2023-03-31T02:12:51.4566667+00:00

    Hello,

    Welcome to Microsoft Q&A!

    If you already have an EXE file, then you don't need to recreated your package in Visual Studio. There are other options that could publish your app.

    First of all, now the Microsoft Store supports publishing EXE or MSI app directly. If you've already had an EXE file, you could directly publish it. Documents here: Create an app submission for your app

    Second, if you don't want to publish your app via exe. You could also directly change your EXE file into a MSIX file which is the normal format of store app package. What you need the MSIX package tool: MSIX Packaging Tool. The MSIX Packaging Tool enables you to repackage your existing desktop applications to the MSIX format. Document here: Create an MSIX package from any desktop installer. After you've created the MSIX package, then you could publish it as a normal windows store app.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.