Не работает Intellisense
От: ionoy Эстония www.ammyui.com
Дата: 27.09.11 13:25
Оценка:
Перевёл MVC3 проект на Немерле. Большая часть файлов в проекте на C#. Всё отлично компилируется и запускается, но не работает Intellisense.
По совету Влада запустил студию в экспериментальном режиме под отладкой и включил показ исключений.

В конце концов докопался до исключения, которое может рушить интеллисенс:

The assembly with display name 'System' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'System' or one of its dependencies. The system cannot find the file specified.

Оно возникает в файле EngineCallbackStub.n

Nemerle.Compiler.Utils.dll!Nemerle.Completion2.EngineCallbackStub.EngineCallbackStub(System.Collections.Generic.IEnumerable<string> assemblyReferences, System.Collections.Generic.IEnumerable<string> sources) Line 46 + 0x9 Unknown
Nemerle.Compiler.Utils.dll!Nemerle.Completion2.EngineCallbackStub.EngineCallbackStub() Line 16 + 0x7f bytes Unknown
[External Code]
Nemerle.VisualStudio.dll!Nemerle.VisualStudio.LanguageService.NemerleLanguageService.NemerleLanguageService(Nemerle.VisualStudio.NemerlePackage package) Line 69 + 0x1d bytes C#
Nemerle.VisualStudio.dll!Nemerle.VisualStudio.NemerlePackage.CreateService(System.ComponentModel.Design.IServiceContainer container, System.Type serviceType) Line 341 + 0x18 bytes C#



Класс этот подгружает две сборки:

public static Default : EngineCallbackStub = EngineCallbackStub(["mscorlib", "System"], []);

Но почему-то не может найти System.
www.livexaml.com
www.ammyui.com
www.nemerleweb.com
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.