'The referenced component could not be found' spurious warning on Windows builds using nugets that contain native references #12741
Labels
bug
If an issue is a bug or a pull request a bug fix
iOS
Issues affecting Xamarin.iOS
low-priority
This is a low priority issue or pull request
Milestone
Builds on Visual Studio for Windows using libraries with native references may produce the following warning:
'The referenced component 'PATH' could not be found.'
This is a false warning, the component was successfully linked (unless you have a mtouch warning\error later).
This is due to the unfortunate choice of "NativeReference" in project files for Xamarin dependencies, which clashes with an existing Windows target.
It would be rather difficult to fix this in an backwards compatible way.
Steps to Reproduce
Expected Behavior
No warnings
Actual Behavior
Not a build warning in the log, but you will get a warning in the IDE of 'The referenced component 'PATH' could not be found.'
Environment
Latest stable
The text was updated successfully, but these errors were encountered: