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()
{
InitializeComponent();
Bitmap template = Properties.Resources.XButton;
mXBitmap = template.Clone(new Rectangle(0, 0, template.Width, template.Height), template.PixelFormat);
mXBitmap.MakeTransparent(Color.White);
}
I’m pretty sure I followed the guide to the letter. What could be wrong?