Do universal window assemblies work with the console .net application?

I am working on building Universal Windows and cannot add a link to it from the C # console application project in the same solution. The console application will be a simple test slot for interactive use of a universal dll.

Can universal window builds not work with console applications with direct access? When I try to add a link to a universal project, VS.NET shows a very uninformative message "I can not add a link to the project."

+6
source share
1 answer

They do not do this. But if you want to share assemblies between different platforms, you have to move the logic to a new assembly and configure it as PCL (portable class library), installing the platforms you want to support.

This is because Universal Windows Apps does not use the same β€œbinary” formats with classic .NET Framework applications. They do not even have the same CLR.

+6
source

All Articles