0

I have downloaded the XPGK .zip archive to be able to upload my component to the Xamarin Store. I have done so by following the first step of this guide.

But when I click the .exe file a command prompt file just appears and disappears? What's the issue?

Demitrian
  • 3,200
  • 1
  • 24
  • 41
Saravanan
  • 45
  • 1
  • 10

1 Answers1

0

Did you follow the guide? It doesn't mention that you should click the .exe file to open it. Instead, the .exe file is used to generate the directory structure required for your component.

Use the xamarin-component.exe to create the base structure by typing the following into the console/terminal where is the base folder for your component.

Note: you will need to change the path to the location where you extracted the ".exe” file.

This means that you should first extract the .exe file to a directory where you want your solution to be placed (most likely your workspace).

Then, using a console/terminal, navigate to the directory in which you extracted the .exe file and type the following:

For Windows:

xamarin-component.exe create <foldername>

for OS X:

mono xamarin-component.exe create <foldername>

Where <foldername> is the name you want your directory to be.

Demitrian
  • 3,200
  • 1
  • 24
  • 41