Broke my compiler

not sure how I did this, Ive been trying to get slateUI working and my most recent compile decided to give me these errors, as far as I know I havent actually touched these files, but they are giving me some errors I dont know how to deal with.

errors:
1>------ Build started: Project: SteamPunk, Configuration: Development_Editor x64 ------
1> Errors detected while compiling C:\Game\SteamPunk\Intermediate\BuildData\BuildRules\SteamPunkEditorModuleRules.dll:
1>c:\Game\SteamPunk\Source - Copy\SteamPunk\SteamPunk.Build.cs(5,14): error CS0101: The namespace ‘’ already contains a definition for ‘SteamPunk’
1>c:\Game\SteamPunk\Source - Copy\SteamPunk.Target.cs(6,14): error CS0101: The namespace ‘’ already contains a definition for ‘SteamPunkTarget’
1>c:\Game\SteamPunk\Source - Copy\SteamPunkEditor.Target.cs(6,14): error CS0101: The namespace ‘’ already contains a definition for ‘SteamPunkEditorTarget’
1>EXEC : error : UnrealBuildTool encountered an error while compiling source files
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ““C:\Program Files\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe” SteamPunkEditor Win64 Development “C:\Game\SteamPunk\SteamPunk.uproject” -rocket” exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

and my *.cs files:

enter code here// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;

public class SteamPunk : ModuleRules
{
	public SteamPunk(TargetInfo Target)
	{

		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine" });

    }
}

////////////////

// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

public class SteamPunkTarget : TargetRules
{
	public SteamPunkTarget(TargetInfo Target)
	{
		Type = TargetType.Game;
	}

	//
	// TargetRules interface.
	//

	public override void SetupBinaries(
		TargetInfo Target,
		ref List OutBuildBinaryConfigurations,
		ref List OutExtraModuleNames
		)
	{
		OutExtraModuleNames.Add("SteamPunk");
	}
}


////////////


// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;
using System.Collections.Generic;

public class SteamPunkEditorTarget : TargetRules
{
	public SteamPunkEditorTarget(TargetInfo Target)
	{
		Type = TargetType.Editor;
	}

	//
	// TargetRules interface.
	//

	public override void SetupBinaries(
		TargetInfo Target,
		ref List OutBuildBinaryConfigurations,
		ref List OutExtraModuleNames
		)
	{
		OutExtraModuleNames.Add("SteamPunk");
	}
}

just for the record, I tried deleting intermediate and my .proj files and it gave me similar errors when trying to generate new vs files.

also, if anyone has any idea on how I did this, I would love to know.

-Nate

yeah Ive looked through my project for class SteamPunk, class SteamPunkTarget and class SteamPunkEditorTarget and it doesnt show any duplicates.
Im using the: right click on rocket->generate VS files method.

Hi Nathan,

Have you tried searching your entire solution for those class names to make sure they only show up once? That could be the issue, also what method are you using to generate your vs files?

Thanks

k, so I figured it out, I somehow managed to delete my character baseclass, which was called SteampunkCharacter and my SteamyCharacter was inheriting from it. Not sure why those particular errors popped up, but reverting back a version via perforce and everythings working. anywho, thanks for the help.
-nate