Vb.net CSV import error-VBForums
Results 1 to 3 of 3

Thread: Vb.net CSV import error

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    16

    Question Vb.net CSV import error

    Hi,

    I just took over and application, and I am getting the following error:

    Message=Could not load file or assembly 'CSVLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

    Any ideas what I can do?

    Some of the things that I have tried:
    After researching on line I tried the following:
    1) I discovered that my CSV.pfx file was not there so I created it and signed it.
    2) In my release folder I removed the CSV dll and pdb files, rebuild, which always comes back successful, and it recreates these files with no problem.

    Thanks you

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    97,711

    Re: Vb.net CSV import error

    If your EXE has a strong name then all DLLs it references must also have strong names. If CSVLibrary.dll doesn't have a strong name then it cannot be loaded by an EXE that does.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2006
    Posts
    16

    Re: Vb.net CSV import error

    Hi,
    I found that this had another project that had to be linked in.
    Thanks

Tags for this Thread

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width