VS plugin crashes with NotImplementedException

38 views
Skip to first unread message

Konstantin

unread,
Nov 5, 2011, 12:47:13 PM11/5/11
to openwra...@googlegroups.com
I get the following whenever I start the VS with OW aware solution. 

 
Solution plugins starting...
Starting plugin AssemblyReferenceNotificationsPlugin.
Plugin initialization failed.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
   at EnvDTE.Project.get_FullName()
   at OpenWrap.VisualStudio.ProjectModel.DteProject.<>c__DisplayClass4.<.ctor>b__0() in c:\src\openwrap\src\OpenWrap.VisualStudio.Shared\ProjectModel\DteProject.cs:line 21
   at OpenWrap.LazyValue`1.CreateValue(LazyValue`1 lazy) in c:\src\openwrap\src\OpenWrap\LazyValue.cs:line 36
   at OpenWrap.LazyValue`1.op_Implicit(LazyValue`1 lazy) in c:\src\openwrap\src\OpenWrap\LazyValue.cs:line 28
   at OpenWrap.VisualStudio.ProjectModel.DteProject.get_OpenWrapEnabled() in c:\src\openwrap\src\OpenWrap.VisualStudio.Shared\ProjectModel\DteProject.cs:line 35
   at OpenWrap.SolutionPlugins.VisualStudio.AssemblyReferenceNotificationsPlugin.<RefreshProjects>b__5(IProject x) in c:\src\openwrap\src\OpenWrap.VisualStudio.SolutionPlugins\AssemblyReferenceNotificationsPlugin.cs:line 95
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at OpenWrap.SolutionPlugins.VisualStudio.AssemblyReferenceNotificationsPlugin.RefreshProjects() in c:\src\openwrap\src\OpenWrap.VisualStudio.SolutionPlugins\AssemblyReferenceNotificationsPlugin.cs:line 101
   at OpenWrap.SolutionPlugins.VisualStudio.AssemblyReferenceNotificationsPlugin.TryInitialize() in c:\src\openwrap\src\OpenWrap.VisualStudio.SolutionPlugins\AssemblyReferenceNotificationsPlugin.cs:line 75
   at OpenWrap.SolutionPlugins.VisualStudio.AssemblyReferenceNotificationsPlugin..ctor() in c:\src\openwrap\src\OpenWrap.VisualStudio.SolutionPlugins\AssemblyReferenceNotificationsPlugin.cs:line 36
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)
   at OpenWrap.PackageManagement.Exporters.SolutionPlugin.Start() in c:\src\openwrap\src\OpenWrap\PackageManagement\Exporters\SolutionPlugin.cs:line 30
   at OpenWrap.Commands.Core.StartSolutionPlugin.<>c__DisplayClass27.<LoadPlugin>b__25() in c:\src\openwrap\src\OpenWrap.Commands\Core\StartSolutionPlugin.cs:line 126
   at OpenWrap.Commands.Core.StartSolutionPlugin.TryDo(Action action, Action`1 onError) in c:\src\openwrap\src\OpenWrap.Commands\Core\StartSolutionPlugin.cs:line 150
Starting plugin ReSharperLoaderPlugin.
Resharper Plugin Manager: Loaded (99.99.130.53871).
ReSharper Project Reference Updater: Solution opened Internet.Bank
All solution plugins started.


Tried full reinstall of OW and r#. No luck




Konstantin

unread,
Nov 5, 2011, 3:25:11 PM11/5/11
to openwra...@googlegroups.com
Looks like WebDeploy (.wdproj) project causes it. If this type of project is removed OW loads without errors.

Forget to mention OW is latest 2.0.2 (I've updated everything before reporting)

SerialSeb

unread,
Nov 7, 2011, 10:44:05 AM11/7/11
to OpenWrap Development Mailing List
Ah, the joys of the crap DTE object model.

Can you open a github ticket, i'll fix it.

Konstantin

unread,
Nov 7, 2011, 2:18:00 PM11/7/11
to openwra...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages