Modding:Setting up your Development Environment: Difference between revisions

From Vintage Story Wiki
No edit summary
Line 137: Line 137:


* Create a new project
* Create a new project
* Add at least one dll Reference to the VintageStoryApi.dll (on windows its located in %appdata%/VintageStory)
* Add at least a library reference to the VintageStoryApi.dll (on windows its located in %appdata%/VintageStory)
* Open the project properties. Under debug select "Start external program" select the VintageStory.exe. Also adjust the working directory to where the VintageStory.exe is lcoated
* Open the project properties. Under debug select "Start external program" select the VintageStory.exe. Also adjust the working directory to where the VintageStory.exe is lcoated
* If you compile to a .dll file, set up a ModInfo attribute in your AssemblyInfo.cs ([https://github.com/anegostudios/vsmodexamples/blob/master/Properties/AssemblyInfo.cs example])
* If you compile to a .dll file, set up a ModInfo attribute in your AssemblyInfo.cs ([https://github.com/anegostudios/vsmodexamples/blob/master/Properties/AssemblyInfo.cs example])
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits