Hi all,
I’ve posted the same question on ueanswer but i didn’t receive an answer, so I really hope to find a solution here.
My problem is that I can’t open my project, if I try to do this a window alert me that there is a problem with UE4Editor-ProjectName.dll
I’ve tried to start with “generate visual studio…” but nothing is changed, a message says:
Running C:/Program Files/Epic Games/4.9/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="[Mydirectory]/Unreal Projects/[Project Name]/[ProjectName].uproject" -game -rocket -progress Discovering modules, targets and source code for game… Errors detected while compiling [Mydirectory\Unreal Projects\ProjectName\Intermediate\Build\BuildRules\RocketUE4ModuleRules.dll: [My Directory]\Unreal Projects[ProjectName]\Intermediate\Source[ProjectName].Target.cs(6,14) : error CS0101: The Namespace already contains a definition for ‘[ProjectName]Target’. UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files
on “incriminated” file:
using UnrealBuildTool; using System.Collections.Generic;
public class [ProjectName]Target : TargetRules { public [ProjectName]Target(TargetInfo Target) { Type = TargetType.Game; }
I’ve tried to: - Downgrade from 4.10 to 4.9 - Reinstall Visual Studio - Change engine version
I’m going crazy, i’m a designer, i’m not a programer, my knowledge is limited to blueprints and this problem happened when I’ve tried to localize my game.
Bye!