The file or assembly "... Version=1.0.0.0, Culture = neutral, PublicKeyToken = null " or a dependency on it was not found. Attempts have been made to

  • Thread starter Thread starter Interraptor
  • Start date Start date
I

Interraptor

Guest
Hello,

I have two projects in the same projectmap:

- the 1st project is an ASP.NET webforms application

- the 2nd project is a .NET console application.

The 2nd project inserted as a reference in a 1st project, so that the 1st project can use all public classes and functions of a 2nd project. (the 2nd project is an .exe and not dll).

The reference to .exe and not to .dll worked fine in VS2010.

The exe-Assembly will be saved local in a 1st project, (without GAC registry).

In VS 2017 I became an error:

"The file or assembly "2nd.exe Version=1.0.0.0, Culture = neutral, PublicKeyToken = null " or a dependency on it was not found. Attempts have been made to load a file with a wrong format. (the 2nd.exe saved in a bin-folder of a 1st project)."

It seems to be, the exe-Assembly should be registred in GAC. But I would like to save it local.

How can I solve this problem?

Thanks

Continue reading...
 
Back
Top