Closed Jean-PhilippeGoerke closed 2 years ago
I believe the problem is that the System.Windows.Point
type is only defined for net5.0-windows
not the more general net5.0
TFM.
https://apisof.net/catalog/77322091-fc17-3d51-6123-16b1bcfd7087
This particular project doesn't have the OS specific reference assemblies included, it uses only the more general TFM
Hi,
I am trying to add runtime compilation to a project but am struggling a bit with setting up the references to the framework assemblies.
My code currently looks like this:
Here the project file:
The error is 'Type System.Windows.Point or namespace cannot be found ...'. I can verify that the containing assembly (WindowsBase) is in the list created by Net50.All. When manually adding a reference to the list, the error disappears and the compilation succeeds.
Am I missing something here?