If you explicitly say PlatformTarget=AnyCPU but take dependencies on native assets from netframework app, nothing will be resolved as native-copy-local and the app is likely to fail. We should at least warn in this case:
Complication: We have to pass RIDs to restore to reason about native assets from project.assets.json. AnyCPU would imply that we're concerned if there are native assets for any RID, but that would bloat project.assets.json and slow down restore.
If you explicitly say PlatformTarget=AnyCPU but take dependencies on native assets from netframework app, nothing will be resolved as native-copy-local and the app is likely to fail. We should at least warn in this case:
Complication: We have to pass RIDs to restore to reason about native assets from project.assets.json. AnyCPU would imply that we're concerned if there are native assets for any RID, but that would bloat project.assets.json and slow down restore.