-
Notifications
You must be signed in to change notification settings - Fork 521
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
Trouble with getting started #73
Comments
Did you open the DistroLauncher-Appx/MyDistro.appxmanifest file with Visual Studio? The packaging tab only shows up when you open it. |
You need to open the solution first. First, open the DistroLauncher.sln file with Visual Studio. Second, double click on DistroLauncher-Appx (Universal Windows). It should be on the right side of the screen. Third, double click on the MyDistro.appxmanifest file that appeared below DistroLauncher-Appx (Universal Windows). |
That's a lot for this tuto. I'll give a trial and let you known if I manage to get it work. Best |
OK thanks it helps but I still cannot figure out the whole process. What I don't ketch is step 2):
and mostly step 6):
These must be some really dummy questions. I really wish to understand the process. |
The DistributionInfo.h file contains information specific to your distribution. To change the name of the distro, you would change The line MyDistro.appxmanifest is an xml document which can be opened with a text editor such as notepad. |
I'm mixed up with step 4) |
I don't know if they both need to be the same, but to be safe, it's probably best that they are. |
Here what I get for the attached manifest:
|
Did you rename anything that was once DistroLauncher-Appx? If something is named DistroLauncher-Appx, it needs to stay as that. |
I did follow step5 which is not needed then? |
Please ignore that last message, it's actually launcher which should not be renamed and that doesn't seem to be the problem here. Could you make sure that the value of |
ok I'll give it a trial tomorrow... I've just erased everything to restart from scratch... |
I think I might know what's going wrong. If you still have them, could you please attach the MyDistro.appxmanifest and the DistroLauncher-Appx.vcxproj files. |
I manage to build the project with the names I pickup. Indeed ``TargetName Is this problem related to the git-lfs message? (seems like VS does not support git-lfs) Here are my config files for the project: |
Hi @Trophime - I am the maintainer for Debian WSL. The latest version can be found here: I always do Git + LFS outside of Visual Studio. To build the latest tar.gz you can either use a Debian based WSL2 (Debian & Ubuntu should work) and you should install prerequisites:
qemu-user-static is only needed for the ARM build and qemu will only run in WSL2 not WSL1. Deploying the build app on your local machine might clash with already installed version of the Debian app from the store. I would recommend testing the appbundle on a virtual machine. I hope this was helpful. If not, just send me a message. |
Thanks for the tip. Unfortunately, right now I have a very low band connection. Downloading the VM would take more than 3 days according to my browser... |
You can test it by enabling WSL in the VM. If the VM is running on Hyper-V, you can use WSL2 by running this command in an elevated powershell window: |
I finally manage to get it to work ;)) @rhaist I still have a question for you about Next how can I actually package mydistro to distribute on an other machine? Many thanks for your helps and tips. |
There is a guide for packaging your distro here. |
The Readme.md does not reflect ANY of this and is exceedingly difficult to follow even for seasoned Microsoft Stack developers let alone Linux Devs. The above referenced "guide" is an early preview and is outdated, nothing looks like those screenshots anymore. It is expected that you understand how to setup a Visual Studio Environment (which most who care about this won't). And how to setup Windows 10 "correctly" as both an x64 and ARM64 Developer. These are very poor assumptions when your audience is a foreign dev community. This is NON-Trivial to setup as an ARM64 Developer, even for side-loading, especially in a Domain where you may have to override Group Policies. I'll be writing up several issues that arise out of this project and solutions to all of them. I have a working x64 Distro not represented and will be submitting it to the store after permission is granted from the Distro in a few days and I fix/finish the ARM64 release. There are also some considerations that should be updated for WSL2 such as Kernel replacement. |
Please, we need youtube tutorial, thanks. |
Hi,
this must be a pretty dumb question from a newbie but I cannot figure out to complete 1st step of Getting started. More precisely I cannot find the "Packaging tab"?
I'm using Visual studio 2019 community Edition (in French :( on top of that).
Do I need some specific extensions?
Thanks for your help.
I really wish to build my own distrib.
Best
The text was updated successfully, but these errors were encountered: