Can't Extract Method in Visual Studio

Everytime if I want to extract a method , I just get this error. Someone has a idea how to fix it?

Hi,

Which script editor do you use? Visual Studio Code? Or Visual Studio?

Since the syntax highlighting does not seem to be working, I suspect that there might be a problem with the script editor.

Please follow the instruction on this website and make sure all required extensions are installed: https://code.visualstudio.com/docs/other/unity

If the issue persists, please check the console of VS Code (not Unity!). If the .NET Framework 4.7.1 (Developer Pack) is mentioned there, download and install it from the official Microsoft website. Here is the link: https://dotnet.microsoft.com/download/dotnet-framework/net471


See also:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms