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:
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.
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.
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.