[Core] Preserve the sln deploy flag

Partially fixes 8183 - Solution created in MonoDevelop
does not run in Visual Studio