ERROR: Couldn't find target rules file for target '-canskiplink' in rules assembly 'testModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'

I am trying to be able to compile my project in the editor but every since I migrated my project to 4.10 I cannot compile within the editor and getting this error:
Info ERROR: Couldn’t find target rules file for target ‘-canskiplink’ in rules assembly ‘testModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.

I have tried rebuilding the solutions and have already tried the proposed solution found here:

and still nothing…

Hello,

  • Are you able to compile the project through Visual Studio?
  • Do you get this same error message when attempting to compile a clean project through the editor?

Yes and Yes

Are you using Visual Studio 2015?

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day

Exact same issue and Yes I am using Visual studio’s 2015

Bump.
Not sure if you will see my addition if I don’t comment here as well.

Have you tried the solutions listed in the linked threads in the original question?

Also, have a look at this thread to see if the proposed solution works for you, as it’s a similar issue to what you’re experiencing: Compiling Error - Programming & Scripting - Unreal Engine Forums

Finally, are you able to build a clean project, and is this only occurring when attempting to compile using the in-editor Compile button, or is it happening in Visual Studio as well?

Yes I have tried both the links in the original question neither fixed the problem.
Yes I did try that link and that didn’t help either.
Both Visual Studio and Unreal Engine can’t compile and experience the same error.
When I try to rebuild or do a clean build of the project the error is still there.

Current errors when trying to do a rebuild or clean build for any of my projects is (note building in visual studios):

Error MSB3073 The command “…..\Build\BatchFiles\Build.bat MyProjectEditor Win64 Development -waitmutex” exited with code -1. MyProject C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 37

Error Couldn’t find target rules file for target ‘MyProjectEditor’ in rules assembly ‘UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. MyProject

When doing a build of the engine only it builds without any errors.

Could you do me a favor and provide the full file path of the project’s .uproject file?

E:\UnrealEngine\4.11.2-Version\projects\plugin_test_project

Try removing the dash between 4.11.2-Version as well as the underscores from plugin_test_project and let me know if that helps. Special characters can cause issues sometimes.

Right it’s fixed now I renamed the project and had to do a fresh install of unreal engine.