Msbuild error: doesn't contain the Configuration and Platform combination of BuiltWithUnrealBuildTool|Win32

I have a UE4 plugin which compiles and runs fine if I build the plugin from within VS2015. However, I am trying to set up on my build server so I use msbuild command and it fails. The command that I use:
“msbuild.exe path_to_my_plugin.sln /p:configuration=“Development Editor” /p:platform=Win64 /verbosity:normal”. If I run this command from MSBuild command line:

The error says:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(349,5): error MSB8013: This project doesn’t contain the Configuration and Platform combination of BuiltWithUnrealBuildTool|Win32. [path_to_my_plugin_root\Intermediate\ProjectFiles\UE4.vcxproj]
Done Building Project “path_to_my_plugin_root\Intermediate\ProjectFiles\UE4.vcxproj” (default targets) – FAILED.

I have no idea why I encounter this error. Could someone shed some light?

Thank you!

Hello,

Based on the error message, try changing platform=Win64 to platform=Win32 and seeing if that makes any difference in your build.

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