Modding:Setting up your Linux Development Environment: Difference between revisions

From Vintage Story Wiki
mNo edit summary
Line 25: Line 25:
* Open up MonoDevelop and and create a new solution with: '''File -> New Solution...''' (in the top left corner).
* Open up MonoDevelop and and create a new solution with: '''File -> New Solution...''' (in the top left corner).
* Choose '''.NET -> Library''' as a template.
* Choose '''.NET -> Library''' as a template.
[[File:mono_new_library.png]]
[[File:mono_new_library.png|800px]]
* Click Next.
* Click Next.
* Set your '''Project Name''', see example below, do not change the path if you want to follow along, leave it alone.
* Set your '''Project Name''', see example below, do not change the path if you want to follow along, leave it alone.
[[File:mono_new_library_2.png]]
[[File:mono_new_library_2.png|800px]]
* Click Create. You should now get a screen that looks somewhat like this: [[File:mono_new_cs_file.png]]
* Click Create. You should now get a screen that looks somewhat like this: [[File:mono_new_cs_file.png]]
* Right click on the project (the one highlighted below) and click '''Options'''.
* Right click on the project (the one highlighted below) and click '''Options'''.
[[File:mono_project_menu.png]]
[[File:mono_project_menu.png|800px]]
* Click on '''Run -> Configurations -> Default''' (highlighted below).
* Click on '''Run -> Configurations -> Default''' (highlighted below).
[[File:mono_run_config_menu.png]]
[[File:mono_run_config_menu.png|800px]]
* Set the values so they look like below but replace 'cynthia' with your username and 'MyCoolMod' with the name of your project, and click on '''OK'''.
* Set the values so they look like below but replace 'cynthia' with your username and 'MyCoolMod' with the name of your project, and click on '''OK'''.
[[File:mono_run_config.png]]
[[File:mono_run_config.png|800px]]
* Right click on the project again and click on '''Add -> New File...'''
* Right click on the project again and click on '''Add -> New File...'''
* Click on '''Misc -> Empty Text File''' and set ''launchmod.sh'' as the name, click on '''New'''.
* Click on '''Misc -> Empty Text File''' and set ''launchmod.sh'' as the name, click on '''New'''.
[[File:mono_new_file.png]]
[[File:mono_new_file.png|800px]]
* Paste the content from the '''launchmod.sh''' section of this page into the new ''launchmod.sh'' file and save it.
* Paste the content from the '''launchmod.sh''' section of this page into the new ''launchmod.sh'' file and save it.
* Right click on '''References''' and click on '''Edit References...'''.
* Right click on '''References''' and click on '''Edit References...'''.
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits