Problem with remote development using cmake on Visual Studio Professional, version 17.4.2

Laurie Brown 11 Reputation points
2022-12-01T15:37:46.123+00:00

I have been using Visual Studio for remote development on an external Linux box using ssh. This has worked great until I did the latest update of VS to 17.4.2, I have verified using the connection manager that the connection is still valid but now I get the following error when I start up that project:

07:50:42:889	1> Method not found: 'Void libcmake.CMakeParameters..ctor(System.String, System.String, libcmake.CMakeConfiguration)'.  
07:50:42:894	Method not found: 'Void libcmake.CMakeParameters..ctor(System.String, System.String, libcmake.CMakeConfiguration)'.  
07:50:42:894	   at libcmake.Linux.RemoteCMakeParameters..ctor(String daemonDirectory, String cmakeListsDirectory, Func`1 remoteSourceFilesDirectoryResolver, Func`1 remoteCMakeListsTxtDirectoryResolver, CMakeConfiguration config)  
07:50:42:894	   at Microsoft.VisualStudio.CMake.Linux.Project.RemoteCMakeParserProvider.GetCMakeParameters(String cmakeListsFileOrDirectory, CMakeWorkspaceConfiguration cmakeConfiguration, String workspaceDirectory)  
07:50:42:894	   at Microsoft.VisualStudio.CMake.Project.Utils.<GetCMakeParametersAsync>d__35.MoveNext()  
07:50:42:894	--- End of stack trace from previous location where exception was thrown ---  
07:50:42:894	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()  
07:50:42:894	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
07:50:42:894	   at Microsoft.VisualStudio.CMake.Project.ExternalBuildProject.ProjectProvider.<ParseProjectAsync>d__46.MoveNext()  
07:50:42:894	--- End of stack trace from previous location where exception was thrown ---  
07:50:42:894	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()  
07:50:42:894	   at Microsoft.VisualStudio.CMake.Project.ExternalBuildProject.ProjectProvider.<ParseProjectAsync>d__46.MoveNext()  
07:50:42:894	--- End of stack trace from previous location where exception was thrown ---  
07:50:42:894	   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()  
07:50:42:894	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
Developer technologies Visual Studio Setup
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. PavelK 0 Reputation points
    2023-03-02T09:42:20.3833333+00:00

    Any updates about this issue, is it fixed in the latest 17.5.1?

    0 comments No comments

  2. PavelK 0 Reputation points
    2023-06-02T08:15:23.7033333+00:00

    I've updated to latest of Visual Studio 17.6.2, the issue is no more reproducible.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.