PDA

View Full Version : VS C# and Sims 3 resources


ShideKnight
22nd Oct 2011, 11:31 PM
So in the tutorial here:
http://www.modthesims.info/wiki.php?title=Sims_3:Creating_a_game_compatible_Visual_Studio_project

it says we need 10 reference files:

automation.dll, mscorlib.dll, ScriptCore.dll, SimIFace.dll, Sims3GameplayObjects.dll, Sims3GameplaySystems.dll, Sims3Metadata.dll, System.dll, System.Xml, and UI.dll.

I've managed to locate all of them but automation.dll, can anyone point me to where it is or if it's still needed? Also, the tutorial says to reference mscorlib.dll that came with sims3, but to make sure to check the box "do not reference mscorlib.dll". So my version is not letting me reference a specific mscorlib.dll file. Is it okay to leave the box unchecked then?

Thank you ^_^

Sims MX
23rd Oct 2011, 12:32 AM
You don't need it. In fact, I had not heard of it and I've been modding for a while.

Check the box and reference the mscorlib.dll you extracted. Sometimes VS 2010 can't handle this, so it's better to stick with VS 2008.

Maeldor
24th Oct 2011, 07:51 PM
Check the box and reference the mscorlib.dll you extracted. Sometimes VS 2010 can't handle this, so it's better to stick with VS 2008.VS 2010 thinks it needs to hold our hands and prevents us adding a custom mscorlib.dll. However, you can easily add it manually by editing the .csproj file and adding the reference location. As it's just an XML file when it comes down to it, it's very easy!

<Reference Include="mscorlib">
<HintPath>path to your mscorlib.dll</HintPath>
<Private>False</Private>
</Reference>Make sure you remember to do Step 3: Set the project to not reference mscorlib.dll (http://www.modthesims.info/wiki.php?title=Sims_3:Creating_a_game_compatible_Visual_Studio_project#Step_3:_Set_the_project_to_not_reference_mscorlib.dll) in the tutorial first!