Sims 3:Creating a project using Microsoft Visual 2008 ExpressEdition

From SimsWiki
Jump to: navigation, search

Contents

Step 1: Create a New Project

Which library to select
  • Click on File>New Project
  • Use the Visual C# Class Library template.
  • Preferably prefix the name of the library with your name / handle.

Step 2: Remove all existing references

How to remove existing references
  • Select all references, this is usually System, System.Data, and System.Xml..
  • Right-click the selected references, and select Remove.

Step 3: Set the project to not reference mscorlib.dll

how to find properties tab
how to not reference mscorlib
  • Click on Project in the menu
  • Open the project properties (bottom option)
  • Change to the Build tab.
  • Scroll down and Click Advanced to open the Advanced Build Settings window.
  • Check Do not reference mscorlib.dll and click OK.

Step 4: Add references to the Sims 3 assemblies

how to add references
select from the manifest

You will need to have already extracted and decrypted the Sims 3 assemblies to do this step.

  • Right-click the References item in the Solution Explorer.
  • Select Add Reference....
  • Select the Browse tab.
  • Select all of the Sims 3 assemblies except TestGameplay and TestObjects. The assemblies you want to add are mscorlib, SimIFace, Sims3GameplayObjects, Sims3GameplaySystems, Sims3Metadata, System, System.Xml, and UI.
  • Click OK.

Step 5: Set the references to not Copy Local

how to add references
how to set Copy Local to false
  • Select all references.
  • Set the Copy Local property to False.

Step 6: Ready to Code

You're now ready for coding. :)

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox