Ошибка при открытии файла шейдера Unity в Visual Studio - PullRequest
0 голосов
/ 30 сентября 2018

Всякий раз, когда я открываю файл шейдера Unity в Visual Studio, я получаю сообщение об ошибке ниже

enter image description here

В ActivityLog.xml ошибка говорит:

LegacySitePackage failed for package [Visual C++ Package]Source: 
'Microsoft.VisualStudio.VC' 
Description: Could not load file or assembly 'Microsoft.VisualStudio.VisualC.Utilities, 
Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one 
of its dependencies. The system cannot find the file 
specified.System.IO.FileNotFoundException: Could not load file or assembly 
'Microsoft.VisualStudio.VisualC.Utilities, Version=15.0.0.0, 
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its 
dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.VisualC.Utilities, Version=15.0.0.0, 
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at 
Microsoft.VisualStudio.VC.ManagedInterop.Initialize(IServiceProvider 
serviceProvider) WRN: Assembly binding logging is turned 
OFF. To enable assembly bind failure logging, set the registry value 
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind 
failure logging. To turn this feature off, remove the registry value 
[HKLM\Software\Microsoft\Fusion!EnableLog]. 

1 Ответ

0 голосов
/ 02 октября 2018

Я решил проблему, перейдя на Tools -> Get Tools and Features и установив "Разработка рабочего стола с C ++" "

enter image description here

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...