Results 1 to 5 of 5

Thread: Riderunner and C# .Net 4.5 and Visual Studio Express 2012

  1. #1
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265

    Riderunner and C# .Net 4.5 and Visual Studio Express 2012

    Yesterday I converted all of my development to Visual Studio Express 2012 and changed to .Net 4.5 (from 3.5), all in preparation for some new work.

    I changed the .Net target on all of my RR code (8 plugins and 15 applications) to .Net 4.5 and recompiled.

    Everything worked from first time I ran Riderunner except for 2 plugins.

    Both of them simply don't start but the other plugins do.

    There are no debug.txt messages except as follows (which I expected) and neither of their log file contain anything.

    Code:
    10:32:53.203: Plugin Manager: Plugin Found: RRMyPI(.NET)
    10:32:53.203: Plugin Manager: Plugin loaded (Global): RRMyPI
    I have re-registered both, checked structure of the code, and insured they build with no error.

    The plugins have basically the same structure as another one that works and I can see no obvious difference.

    Anyone have any thoughts?

    Regards,
    Jim

  2. #2
    Maximum Bitrate
    Join Date
    May 2012
    Location
    Grandville, MI
    Posts
    662
    Are these all things that you wrote? It is likely they are using code that has been replaced and no longer available. You will need to pull up the code and maybe do some code analysis and that sort of thing.

    I am not familiar enough to know if there is an easy way to detect if you are using old methods that have changed but I am sure there is a way to check. My guess is you may be using code that has been replaced or upgraded in 4.5 compared to 3.5.

    Have you tried to compile back in 3.5 on your new vs to ensure that it is a problem with .Net and not VS?

    We tinkered around a little bit with code analysis this past semester but I suspect if you are able to compile in 3.5 still and they run but not with 4.5 you may have compatibility issues with the newer .Net. If they compile and no change in symptoms then your VS 2012 might have something to do with it.

    Please excuse me if your version of VS doesn't have code analysis. As a student I get the ultimate version for free and I am unfamiliar with what is different between the ultimate version and the express version.

  3. #3
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,173
    Blog Entries
    53
    RR will typically attempt to load a compatible library provided it references the RR SDK regardless if its registered or not provided it's in the plugins folder. If not registered or another error occurs before the plugin has been fully initialized you will get an error in RR debug that says something like "plugin found but not loaded (likely not registered)". If RR doesn't see the plugin at all its likely a .net issue or the RR SDK is not properly referenced.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  4. #4
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    Actually in my case, RR loaded the DLL and told me it was loaded but didn't appear to call Initialize.

    ProcMon also said they were loaded successfully.

    But I did work around the problem for now by recompiling the two plugins at the .Net 3.5 level.

    I don't have the time right now to figure out the problem was but I may try later.

    Regards,
    Jim

  5. #5
    Maximum Bitrate
    Join Date
    May 2012
    Location
    Grandville, MI
    Posts
    662
    Just realize that as new .net versions come out some older versions have functions that are depreciated and no longer fully supported. They may also have incorporated slightly different functions/methods that act slightly different than the old ones. Although the vast majority of stuff should work fine you may find some of the more specialized stuff hiccups. We had a couple of examples of this sort of thing in class where we used an older .net version and a function had a bug you had to work around. In the newer .net the bug was fixed and the workaround no longer worked so it did not work well.

    Good luck.

Similar Threads

  1. Building the Addin in Visual Studio
    By ssteger in forum VaultWiki
    Replies: 0
    Last Post: 02-11-2010, 11:56 AM
  2. visual basic(studio) 2008 & windows media player
    By fischb22 in forum Coders Corner
    Replies: 7
    Last Post: 11-11-2009, 09:24 PM
  3. FS: Visual Studio 6.0 Enterprise
    By fenderbender in forum Classified Archive
    Replies: 0
    Last Post: 03-17-2005, 11:59 PM
  4. WTS: Microsoft Visual Studio.net 2003 Professional
    By BiohazrD in forum Classified Archive
    Replies: 7
    Last Post: 03-17-2005, 05:08 AM
  5. FS: Visual Studio .NET (new!)
    By W6-Ryan in forum Classified Archive
    Replies: 0
    Last Post: 10-24-2002, 10:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •