Zepeto
Zepeto
Explore posts from servers
CC#
Created by Zepeto on 1/19/2024 in #help
Add private nuget package
Hello I'm trying to add a private nugget package, I can successfully install it but when I start my app I have this error :
Method not found: 'System.IServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)'.
Method not found: 'System.IServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)'.
Can someone help me please ^^'
3 replies
CC#
Created by Zepeto on 1/19/2024 in #help
Dependency issue
Hello, I imported a private package to my project and now I can't start the project, I have this error at startup The assembly with display name 'Microsoft.Extensions.Logging.Abstractions' failed to load in the 'Load' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=' or one of its dependencies I've tried to find solutions on the Internet but none of them have solved my problem. If anyone has a clue how to solve this problem, I'd love to hear from you.
10 replies