Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 5 Update #118

Open
joemoceri opened this issue Apr 7, 2021 · 1 comment
Open

.NET 5 Update #118

joemoceri opened this issue Apr 7, 2021 · 1 comment

Comments

@joemoceri
Copy link

Hi, I tried using MediaToolkit in a .NET 5 console application, and got the following error using version 1.1.0.1 of MediaToolkit when writing

// this line when creating a new Engine in the constructor
using (var engine = new Engine())
{
// ...
}

I get this error:

"{"Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.":"System.Configuration.ConfigurationManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51"}"

with a stack trace of

" at MediaToolkit.EngineBase..ctor()\r\n at MediaToolkit.Engine..ctor()\r\n ........ "

To fix it, I installed the latest version (5.0.0) of System.Configuration.ConfigurationManager and the error went away. Just wanted to let you know.

@nicolas-gameffecive
Copy link

Same here when running a .NET CORE 3 Console app
Installing from nuget the System.Configuration.ConfigurationManager fixed it
Thanks @jmoceri34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants