The project requires user input

4

I am working with a VB.net project that was converted from c#. When I open the project, I see the message:

The project requires user input. Reload the project for more information

When I choose Project Reload, I get the message

The operation could not be completed. Unspecified error

Any idea what this means?

The project builds just fine. But when I run the project and press the Login button, I get

File Load Exception Handled

at the line:

((ThreadStart)t._start)();

In the Output window I see:

A first chance exception of type 'System.IO.FileLoadException' occurred in TIProData.dll.

In the error dialog it also says:

Additional information: Could not load file or assembly 'zlib.net, Version=1.0.3.0, Culture=neutral, PublicKeyToken=47d7877cb3620160' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

c#
vb.net
asked on Stack Overflow Apr 18, 2015 by user3229570 • edited Apr 18, 2015 by Saagar Elias Jacky

5 Answers

3

The project requires user input. Reload the project for more information

Try running visual studio as an Administrator then open your project

answered on Stack Overflow Jul 6, 2018 by veejay grateja
1

The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Normally this error happens when the version of a referenced assembly differs from what you have in your machine.

Search your machine to see what version of zlib.net file you have in your machine. The project found zlib.net, Version=1.0.3.0, but it's not the referenced version and you need to have the same version which is referenced in your machine. Make sure you have the same version of the assembly file available in your machine. This is one solution where you probably might not want to make any other changes to the project.

Another option is to remove the existing reference and add a new reference to zlib.dll, which will be the version you have in your machine. But this might require code change if there is substantial difference or changes are made to the assembly between versions.

answered on Stack Overflow Apr 18, 2015 by Saagar Elias Jacky • edited Apr 18, 2015 by Saagar Elias Jacky
1

The moving/copying the assembly and updating the reference manually in the project works, but there is a better way.

You should use NuGet package manager to manage external libraries. You can even control which version of the library is used with the project.

About NuGet

When you use NuGet to install a package, it copies the library files to your solution and automatically updates your project (add references, change config files, etc.). If you remove a package, NuGet reverses whatever changes it made so that no clutter is left.

For example, the zlib library can be installed and reference in a project with a simple command in Package Manager Console.

using the package install command

answered on Stack Overflow Apr 18, 2015 by Black Frog • edited Apr 18, 2015 by Black Frog
0

The error means you're missing a dependency.

Download and install zlib: http://www.zlib.net/

Then in your VB project, add zlib in the dependencies.

If you still have the problem, you'll have to use Fusion Log Viewer to pinpoint the problem, info is here: How to enable assembly bind failure logging (Fusion) in .NET

answered on Stack Overflow Apr 18, 2015 by Joe • edited May 23, 2017 by Community
0

I manged to fix this issue by simply running VS in Admin mode. It had to do with permissions for IIS. Only after I moved one of the unopened project to separate folder and tried opening it by itself was I able to to see the IIS issue and the "run as admin" suggestion

answered on Stack Overflow Jul 2, 2020 by Shlomi Segal

User contributions licensed under CC BY-SA 3.0