Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

249
Vistas
Could not load file or assembly - dll from class library is not copied over to asp.net project bin folder

I added new nuget packages to a class library that is a project reference to an asp.net wep api project (4.6.2 version). When I start the api project an exception is thrown and I see this error message naming the packages I added.

  • Could not load file or assembly

I used the Fusion Log Viewer to see logs for binding failures. I was able to see more log information of what was happening but nothing to point me to a solution. I also used this tool which made it easier to view the log file Fusion++. I tried different package versions, changing the copy local property for the specific reference from true to false and then back to true and cleaning bin folders. No luck! The .dll for the packages I added are in the class library bin folder but not in the bin folder of the web api project. The other .dll files are there for other references, just not the new ones I added. Some process is copying the dll files over to the other project, except the new ones I added.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

I solved the problem by finding references to the dlls that had been copied to the other project inside the properties view of the project where the packages had been installed. There were Post-Build Events using xcopy to copy the files to the api project. For reference this post explains what I found and what I had to do to get the dlls copied over. Post-Build Events and xcopy

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda