Problem compiling UT source

I’m trying to compile the Unreal Tournament source code by following this guide:

When I try to build the project I get an error:

CS0103 The name ‘Properties’ does not exist in the current context UnrealControls …\UnrealTournament\Engine\Source\Programs\UnrealControls\XButton.cs 34 Active

And I get another error telling me it can’t find the UnrealControls.dll file.

This is the method in question, and it can’t resolve the Properties reference.

    public XButton()

        Bitmap template = Properties.Resources.XButton;
        mXBitmap = template.Clone(new Rectangle(0, 0, template.Width, template.Height), template.PixelFormat);

I’m pretty sure I followed the guide to the letter. What could be wrong?

Looks like you missed to run Setup.bat before running GenerateProjectFiles.bat