Sims 3 Talk:Creating a game compatible Visual Studio project

From SimsWiki
Jump to: navigation, search

Is this tutorial outdated? I downloaded VS C# 2008 Express, as suggested by the Tutorials:TS3_GeneralModding tutorial and it doesn't have any of the options shown in that screenshot. - Ravensgrace 17:47, 27 January 2012 (EST)

I'm already searching for how to set the framework to 2.0 for new projects, but I'm beginning to suspect it's not possible with the Express edition of VS2008 - Ravensgrace 17:49, 27 January 2012 (EST)

I found the answer in this article on MSDN, so I'll add a note to the tutorial. - Ravensgrace 18:32, 27 January 2012 (EST)

System.dll and System.Xml.dll references degrading

One thing I've encountered after upgrading an existing project from 1.47 libraries to 1.50 libraries is that VS2010 tries to change my referenced System.dll and System.Xml.dll from the folder where I have the copies I extracted; it tries to reference them instead from my Program Files folder where VS is installed, regardless of where I copy the references from. This creates compiler warnings about being unable to locate a particular reference in the System.dll because no matching version of the System.dll exists for the version that the other DLLs in the project are compiled against. I have to go into the .csproj and change the System.dll and System.Xml.dll references manually to point to the same Sims 3 versions I extracted in order to eliminate these compiler warnings. (I don't strictly believe this is necessary, since the game references its own scripting runtime during the game and none of the system libraries should be compiled into your project (you did set Copy Local to false, right?), but "warnings are errors" is one of the things I was taught. ;-)) --JT (talk) 17:15, 8 April 2013 (EDT)

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox