Post: VS2010 rtm tool & dlls
08-03-2014, 12:08 PM #1
seanhellen
Are you high?
(adsbygoogle = window.adsbygoogle || []).push({}); Hi all - I have been trying to make a rtm tool and have been using the BO2Library.dll (from Mango I think). I add it as a reference and put using BO2Library; and everything is fine - I can open/close/edit, etc.

The problem comes when I try to build the solution as VS just decides that the dll reference doesn't exist and underlines BO2Library throughout the tool - even though in the solution viewer->references it is in there without a warning triangle or anything. When I add it again, everything is fine...until I build again.

I have the dll in the default vs2010/projects folder (along with a few others from another project which didn't have this problem) and have tried moving the dll to the same folder as the exe and tried moving it to desktop - it still does the same thing no matter what.

Any ideas on how to rectify this? :confused:
(adsbygoogle = window.adsbygoogle || []).push({});
08-03-2014, 06:19 PM #2
spudeeelad
I defeated!
Originally posted by seanhellen View Post
Hi all - I have been trying to make a rtm tool and have been using the BO2Library.dll (from Mango I think). I add it as a reference and put using BO2Library; and everything is fine - I can open/close/edit, etc.

The problem comes when I try to build the solution as VS just decides that the dll reference doesn't exist and underlines BO2Library throughout the tool - even though in the solution viewer->references it is in there without a warning triangle or anything. When I add it again, everything is fine...until I build again.

I have the dll in the default vs2010/projects folder (along with a few others from another project which didn't have this problem) and have tried moving the dll to the same folder as the exe and tried moving it to desktop - it still does the same thing no matter what.

Any ideas on how to rectify this? :confused:


You are referencing a different version of the .NET Framework for your project to that in which the BO2Library is built in.

If you're using VS2010, you'll be referencing .NET 4.0 at the maximum, I believe BO2Library is built using .NET 4.5. You will need to get a 4.0 version.
08-03-2014, 09:06 PM #3
seanhellen
Are you high?
Thanks for that - installed vs2013 and changed the ptoject to 4.5 and all is good Smile
08-04-2014, 07:39 PM #4
seanhellen
Are you high?
Ok...maybe not quite - a new error. When I press the CEX radiobutton, it comes up with;

Object reference not set to an instance of an object

and won't let me connect :(

This is what I have - it does it for both CEX and DEX button;

    private void radioButton1_CheckedChanged(object sender, EventArgs e)
{
BO2Library.Functions.PS3.ChangeAPI(SelectAPI.ControlConsole);
}

private void radioButton2_CheckedChanged(object sender, EventArgs e)
{
BO2Library.Functions.PS3.ChangeAPI(SelectAPI.TargetManager);
}


Now, apart from the BO2Library.Functions bit, it look exactly the same as my other project which just has the PS3.ChangeAPI (for PS3Lib.dll) and works fine. I'm confused.

Any ideas on this one? :(

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo