Angry[Help]Build & Publish Issues[solved]

Posts 1–6 of 6 · Page 1 of 1
[Help]Build & Publish Issues[solved]
I went to debug my project and it gives me an error - Error while trying to run project: Could not load file or assembly "MyProgramName" or one of its dependencies. The given assembly name of codebase was invalid. (Exception from HRESULT: 0x80131047) Oh and btw yes it's an injector and it's like all the other injectors out there, & I'm also using DotNetBar. Oh and it's Visual Studio Ultimate - VB; I'm using Framework 3.5 :P
Did you edit the assembly file by any chance?
Change Framework version mid development?
Modify assembly file for dotnetbar accidentally?

Using the new highlights tag

[highlight=vbnet]
<Assembly: AssemblyTitle("HtmlParse")>
<Assembly: AssemblyDescription("N/A")>
<Assembly: AssemblyCompany("Innovators_World_Wide")>
<Assembly: AssemblyProduct("HtmlParse")>
<Assembly: AssemblyCopyright("Copyright © Innovators_World_Wide 2011")>
<Assembly: AssemblyTrademark("§")>
<Assembly: ComVisible(False)>
[/highlight]

Also, Any name changes from App in bin /Release /Debug?

Anything like that?
Nah man I didn't change any of that.
If you haven't change any assembly information then there's a chance that visual studio's hosting process is causing the problem. There's also a chance that you need Visual Studio to revise your license file since you are using 3rd party control. Follow the following step:

Goto Project Menu and click Project Properties. Then click Debug tab. There you'll see Enable the Visual Studio hosting process checkbox. If it is checked, un-check it. Then goto Build Menu and click Clean Project or Clean Solution. After that try re-running the project.

If that doesn't solve it, try following:

Goto Project Menu and click Show All Files. This will display all hidden files from the solution explorer. Now find the license.licx file from the solution explorer. Right click it and select Exclude From Project. This will allow Visual Studio to recollect information about the 3rd part DLL and create new license file automatically. Try running the project again.

If that doesn't solve it either, try following:

You can delete obj and bin folder from your project directory. This will create fresh files for you. But be sure to copy Local Assemblies from the Bin folder first, such as DotNetBar as you are using. You can then add it again from the Project Properties and then going to References Tab.

Right now, I can just think of these ways as these two solve the problem for me when I am using any 3rd party control. I will think about more if these doesn't solve your problem.
/Solved; thank you [MPGH]NextGen1 & Born2Amuse for both of you taking your time to answer with useful stuff that will be useful to other members in the future also both rep'd and thanked.
Marked Solved

Avoid posting unless absolutely necessary (by the OP) and < 7 days.

Bumping posts older then 7 days will result in a ban
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us