Is it possible to browse and run the .NET Framework assembly from the .NET Core application?
I was able to add and compile reference settings by specifying DLLs directly, but I couldn't execute them.
Example)
x86
Program.cs
var channel = new IpcServerChannel ("SampleChannel");
Debugging does not display any error messages, but the application exits immediately.
c# .net .net-core
I didn't understand the details, and I looked for them only with keywords, but there is a Q&A like this.
.net core class library calling.net framework class library
It's old two years ago, but there is a mark that it has been resolved, so it might be helpful.Below is machine translation.
Sharing code between a regular .NET library and a Core project did not work just by using a shared project.This is because it cannot be viewed from the Core project.
But with a little trick, I can make it work.
This is what was introduced in the other answer in the same Q.
Sharing code across platforms
There are other Q&A's.
Calling a.Net Framework 4(or Mono) assembly from a.Net Core application
Also, this is the Q&A that may have something to do with it in Japan.
Exception occurs when you browse to dll in the console app of .NET Core and use the class of contents
I hope I can help you.
© 2024 OneMinuteCode. All rights reserved.