Well I only just got it to compile and pass a few tests. Still haven't tried a full integration yet.
Jeff. -----Original Message----- From: "Philip Japikse" <[email protected]> Date: Saturday, Jan 24, 2009 1:54 pm Subject: MbUnit Resharper 4.5 plugin not working To: Reply- [email protected]: <[email protected]> Tried to run with R# 4.5.1163.16 and Gallio 3.0.6.639. It does add a plugin for 4.5, but when I open VS2008 SP1, I get the following error message: Could not load plugins from the "C:\Program Files\JetBrains\ReSharper\v4.5\Bin\Plugins\Gallio" folder Could not load type 'JetBrains.UI.Shell.PluginSupport.PluginTitleAttribute' from assembly 'JetBrains.Platform.ReSharper.UI, Version-4.5.1163.16, Culture=neutral, PublicToken=1010a0d8d6380325' According to Reflector, in 4.5, this is now 'JetBrains.UI.Application.PluginSupport.PluginTitleAttribute. I got the latest source, and changed the using statements in the project Gallio.ReSharperRunnerAssemblyInfo.cs (line 23) and ShowReportAction (line 26) to: using JetBrains.UI.Application.PluginSupport; I'm not familiar with how you are doing builds, so I built the project by adding the Gallio and Gallio.Loader projects, then copied the new assembly into the plugins folder. I also had to copy the Gallio and Gallio.Loader assemblies into the plugins directory. I now get the following error, so I am passing the ball back to those (like Jeff) that know a heck-of-a-lot more than me... Thanks! System.InvalidOperationException: The runtime has not been initialized. at Gallio.Runtime.RuntimeAccessor.get_Instance() at Gallio.ReSharperRunner.Provider.GallioTestProvider.Shim..ctor(IUnitTestProvi der provider) at Gallio.ReSharperRunner.Provider.GallioTestProvider..ctor() --- End of inner exception stack trace --- System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The runtime has not been initialized. at Gallio.Runtime.RuntimeAccessor.get_Instance() at Gallio.ReSharperRunner.Provider.GallioTestProvider.Shim..ctor(IUnitTestProvi der provider) at Gallio.ReSharperRunner.Provider.GallioTestProvider..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at JetBrains.Application.TypesInstantiator`2.JetBrains.Application.ITy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
