Thread: Debug error

Results 1 to 11 of 11
  1. #1
    xBear Grylls's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Maryland
    Posts
    198
    Reputation
    14
    Thanks
    27
    My Mood
    Psychedelic

    Thumbs up Debug error

    Whenever I click debug on any project it gives me this error message, even with projects with no code! Any help is appreciated!

    Code:
    Error while trying to run project: Could not load file or assembly '"Project name"' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
    VS 2012
    Windows 8
    x64
    ------
    It worked fine yesterday, I don't know what's happened.
    Thanks. @Jorndel @Horror
    Please help
    Last edited by xBear Grylls; 06-02-2013 at 02:21 PM.

  2. #2
    Threadstarter
    Advanced Member
    xBear Grylls's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Maryland
    Posts
    198
    Reputation
    14
    Thanks
    27
    My Mood
    Psychedelic
    Please help me.

  3. #3
    atom0s's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    403
    Reputation
    139
    Thanks
    104
    Without seeing your code that fails, not much anyone can do to help. Your error refers to an assembly failing to load properly. This could due to you using the Assembly namespace and trying to invoke something like Assembly.Load, Assembly.LoadFrom, etc. Without code, not much anyone can do but tell you to make sure you are properly calling the functions that are being used to load the assembly that is failing.
    - Gone; this is another shit forum with children as administrators. Not worth contributing to.

  4. #4
    Threadstarter
    Advanced Member
    xBear Grylls's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Maryland
    Posts
    198
    Reputation
    14
    Thanks
    27
    My Mood
    Psychedelic
    Quote Originally Posted by atom0s View Post
    Without seeing your code that fails, not much anyone can do to help. Your error refers to an assembly failing to load properly. This could due to you using the Assembly namespace and trying to invoke something like Assembly.Load, Assembly.LoadFrom, etc. Without code, not much anyone can do but tell you to make sure you are properly calling the functions that are being used to load the assembly that is failing.
    That's the thing, there isn't any code! I'd open a brand new project, debug a black form and it'd do it.

  5. #5
    timiostimio's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    GB
    Posts
    454
    Reputation
    10
    Thanks
    5,090
    My Mood
    Cold
    Reinstall Vb...

  6. #6
    Threadstarter
    Advanced Member
    xBear Grylls's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Maryland
    Posts
    198
    Reputation
    14
    Thanks
    27
    My Mood
    Psychedelic
    Quote Originally Posted by timiostimio View Post
    Reinstall Vb...
    The last thing I want to do. But I guess I will.

  7. #7
    atom0s's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    403
    Reputation
    139
    Thanks
    104
    Just a standard project or did you add some theme shit to it? If is just a normal project with nothing added then yea you probably need to reinstall or run the repair thing from Add/Remote programs for VS.
    - Gone; this is another shit forum with children as administrators. Not worth contributing to.

  8. #8
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored
    I have had this problem, its cause your using vs 2012, if u ever loaded old resources from vb 8, 6, or 5 then it makes the files corrupted and then u have to either repair or replace it.

    EDIT : if this isn't the problem, then it could be that you'r using visual studio which i have heard gives many problems, i would have just d+installed everything seperate
    Last edited by lucasheer715; 06-02-2013 at 07:21 PM.

  9. The Following User Says Thank You to lucasheer715 For This Useful Post:

    xBear Grylls (06-11-2013)

  10. #9
    Nexero's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    My VB Project
    Posts
    2,530
    Reputation
    90
    Thanks
    4,801
    My Mood
    Bored
    Try edit the project name..
    I got the same problem and i changed the project name as the error says and the problem solved
    Try it

  11. The Following User Says Thank You to Nexero For This Useful Post:

    xBear Grylls (06-11-2013)

  12. #10
    swiftyspiffy's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    3
    Check the configuration and designer code for inconsistencies with the project name and the rootname space, as well as the project's assembly information, ensure there are no incompatible symbols are characters. Also, make sure there is no built instance of the application running while you debug/build it.

  13. The Following User Says Thank You to swiftyspiffy For This Useful Post:

    xBear Grylls (06-11-2013)

  14. #11
    Threadstarter
    Advanced Member
    xBear Grylls's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Maryland
    Posts
    198
    Reputation
    14
    Thanks
    27
    My Mood
    Psychedelic
    Solved! @Jorndel

Similar Threads

  1. [Help] cant create my own hack (error debug)
    By +Boss_Bing+ in forum WarRock Philippines Hacks
    Replies: 15
    Last Post: 02-22-2013, 08:32 PM
  2. [Help] Error : Can not open precompiled header file: 'Debug \ CFBR.pch': No such file or dir
    By teteu2997 in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 6
    Last Post: 09-10-2012, 10:33 AM
  3. [Help] Debugging error?
    By JimTheGreat in forum CrossFire Spammers, Injectors and Multi Tools
    Replies: 13
    Last Post: 04-29-2012, 05:55 PM
  4. [Help] Visual C++ Debug & Run Errors
    By RageKey in forum C++/C Programming
    Replies: 14
    Last Post: 04-17-2011, 10:41 AM
  5. [Help] Debugging Errors
    By Alroundeath in forum Visual Basic Programming
    Replies: 10
    Last Post: 07-29-2010, 05:53 AM