SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

minor GAC issue involving NUnit

Last post 09-19-2008 8:24 AM by MattWard. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-18-2008 6:15 PM

    minor GAC issue involving NUnit

    I am having an awkward issue with 3.0 build  3401, don't know if it's fixed in a newer version.

    I'm unable to see the installed NUnit dlls in the GAC.  I have to use the assembly browser to find them.

    I use VS2008 as well and I am able to get to the NUnit dlls just fine there.

    like I said, it's a  Minor thing.  But if I try to open a project that references the NUnit dlls from VS08 in #D it tells me that it can't find the reference, even though it's obviously there, since I can re-add the reference by navigating to the stupid dll file.  Once I re-add the reference it works fine in both.  I just don't understand why it works this way.

    Shukaido
    Project manager of RPGame
    A C# project to bring book RPG's onto the internet.
  • 09-18-2008 8:23 PM In reply to

    Re: minor GAC issue involving NUnit

     Are you sure NUnit is in the GAC?

    SharpDevelop's add reference dialog shows the GAC contents, VS shows the "Reference paths", which can contain assemblies not in the GAC.

    Daniel Grunwald
  • 09-18-2008 9:27 PM In reply to

    Re: minor GAC issue involving NUnit

     I figured there was a difference there.I'm not sure it is in the GAC, I have never had to explicitly add it before so when I got my new HD and re-installed everything I guess I just assumed it would be ther... and we all know what happens when you assume.

     Does NUnit not register in the GAC on install, then? I am using NUnit 2.4.3  so, even if the newer ones don't, the older one should.  I know it used to show up in SD2

    Shukaido
    Project manager of RPGame
    A C# project to bring book RPG's onto the internet.
  • 09-18-2008 10:35 PM In reply to

    Re: minor GAC issue involving NUnit

     SharpDevelop 2 installed its own copy of NUnit to the GAC, but SharpDevelop 3 doesn't do that anymore.

    The best solution would be to put NUnit.Framework.dll together with your code into source control and use assembly references. That way no installation of NUnit is required to build your project, just copy the folder / check it out from source control and you're ready.

    Daniel Grunwald
  • 09-19-2008 8:24 AM In reply to

    Re: minor GAC issue involving NUnit

    NUnit 2.4.3 does not install any assemblies in the GAC. They switched to using WiX for their install with version 2.4 and no longer install nunit.framework in the GAC. Older versions do install it into the GAC.
Page 1 of 1 (5 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.