Download

Cannot generate Visual Studio Project

So I copied the Source folder from the engine in my main project root, and then I tried to generate the VS project. I got these errors:


Discovering modules, targets and source code for game...
Errors detected while compiling D:\MercyEp1Demo\Intermediate\Build\BuildRules\MercyEp1DemoProjectFileGeneratorModuleRules.dll:
d:\Demo\Source\Developer\Android\AndroidDeviceDetection\AndroidDeviceDetection.Build.cs(5,14) : error CS0101: The namespace '<global namespace>' already contains a definition for 'AndroidDeviceDetection'
d:\Demo\Source\Developer\Android\AndroidPlatformEditor\AndroidPlatformEditor.Build.cs(5,14) : error CS0101: The namespace '<global namespace>' already contains a definition for 'AndroidPlatformEditor'
d:\Demo\Source\Developer\Android\AndroidTargetPlatform\AndroidTargetPlatform.Build.cs(5,14) : error CS0101: The namespace '<global namespace>' already contains a definition for 'AndroidTargetPlatform'
d:\Demo\Source\Developer\Android\Android_ATCTargetPlatform\Android_ATCTargetPlatform.Build.cs(5,14) : error CS0101: The namespace '<global namespace>' already contains a definition for 'Android_ATCTargetPlatform'
d:\Demo\Source\Developer\Android\Android_DXTTargetPlatform\Android_DXTTargetPlatform.Build.cs(5,14) :

There must be about 500 of those errors, all with the same namespace problem. What did I do wrong?

SOLVED: Add a class to your project, and it will work.