Jump to content
Default Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Default Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Sign in to follow this  
Feretorix

Creating your first Hello World assembly just as Developer!

Recommended Posts

First and obvious step is to have WeScript.app Loader installed.

Then you need to download Visual Studio Community from here.

After beginning the installation, choose ".NET desktop developement"

1.png

 

After it finishes installing, either login with your existing Microsoft account, create one, or choose "Not now, maybe later".

2.png

After that, choose your favorite color theme to continue.

3.png

Go back to WeScript.app Loader (you must have already installed at least one assembly in order to access the menu) and press right click > Developer > New

4.png

Type in the name of the new project you plan on working with and press OK

5.png

 

After creating it, it will be added to the list with assemblies, again right click on it, Developer > Edit (so you will edit it with Visual Studio Community)

6.png

 

After that, you can write your code (as all dependencies are already added to the project) - in this case it's "Hello World".

7.png

When you're ready, rebuild and compile so the program will check for errors in your code. (if you have any, it will prompt you to fix them and won't compile).

8.png

You can also save your project files if you want. (but by default Visual Community will save them on rebuild)

9.png

 

You should be able to read in the logs a successful build

10.png

 

Going back to WeScript.app Loader and make sure you have checked on your local test assembly you just worked on. Then press F8 (by default) to recompile and add to the Loader recent assemblies.

In the console of WeScript, you will be able to monitor which assemblies get loaded and what they're printing on the console (if there's code that prints messages).

11.png

 

And as you can see, the code which you wrote earlier in the project is now printed right after loading your "testproject" assembly! Congratulations!

The location of the source code for your assembly can be found at the folder where your WeScript.app Loader location is > LocalAssemblies > yourprojectnamehere

 

  • Like 2
  • Thanks 1

giphy.gif

Gaben strategies too OP.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...