This project is read-only.

Compiling for Dummies

Topics: Rawr.Base
May 9, 2010 at 4:15 AM

I've been wanting to be able to check out new Rawr updates without waiting for source code to be wrapped up in a new release version.  I know where and how to download the source code, I grabbed myself Microsoft Visual C# 2010 Express, opened 'Rawr.2010.sln'...

It tells me solution folders are not supported in this version, and solution folder 'Solution Items' will be displayed as unavailable.
Then says something about source control and asks if I want to remove the bindings.
Then says one or more projects in the solution weren't loaded correctly (Rawr-50252\Rawr.UnitTests\Rawr.UnitTests.2010.csproj).

If I shrug this off and 'Build Solution' I get hit with 24 error messages and told the build failed.

Rawr-50252\Rawr.Warlock\SpellModifiers.cs "could not be opened ('Unspecified error ')"
Rawr-50252\Rawr.Retribution\RotationParameters.cs (ditto)
Rawr-50252\Rawr.Retribution\SimulatorAbility.cs (ditto)
Rawr-50252\Rawr.Retribution\SimulatorAbility.cs (ditto)

"The type or namespace name 'CombatState' could not be found" in 20 different files within "Rawr-50252\Rawr.TankDK\DKAbilities\".

Clearly I'm doing something wrong here, but I'm not sure what.

May 9, 2010 at 9:14 AM

The UnitTests will not work properly with MSVC# 2010 Express, UnitTests just are not supported in Express version, so just answer no to that.


If any other project gives you problems, right click that project and select "unload project". Then try to compile again. What you encountered may be a temporary fault, so you might want to update your local source as well.

May 9, 2010 at 5:56 PM

Unfortunately there are a number of project files in different states with in the project. if you use the 2008 solution (rawr.sln) then all will be well except for the unit tests because they are using the built in visual studio test framework that express does not support.

Your best bet is to use the rawr.sln, do the upgrade when visual studio prompts you and set the configuration to release mode.

May 9, 2010 at 11:06 PM


Thank you. That helped a lot.

Now I get "Sgen has encountered a problem and needs to close." (Send/Don't Send error report)

"sgen2.exe Rawr.Base.dll" exited with code -532459699."

Though it at least finishes the build and I haven't (yet) found a problem with the build.

May 10, 2010 at 2:44 AM

Sorry, forgot about that step. 

Thats the step for generating xml serializers. Just helps with performance when reading and saving xml.

In the build events of the project each project/module you can change the 'post-build event' by removing the line entirely or changing it to sgen4 (the visual studio 2010 version)

May 10, 2010 at 12:25 PM

The 2010 solution was a bit out of sync the last few days. If you download the latest one it should compile fine.

May 10, 2010 at 4:06 PM

Sorry... Just got 2010 installed on the machine that I use to work on Rawr. So, moving forward, I should be all cool on that front.