Bug 1946 - Binding projects should use Native References
Summary: Binding projects should use Native References
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: Lowest enhancement
Target Milestone: (C7)
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2011-11-08 13:52 UTC by Mikayla Hutchinson [MSFT]
Modified: 2016-01-28 18:48 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2011-11-08 13:52:25 UTC
iPhone binding projects currently use *.linkwith.cs "codebehind" files for referenced native libraries, which has the following issues:

a) the *.linkwith.cs it doesn't update when the library file is changed
b) the build targets can't validate the values of the LinkWith attributes against the library
c) it's not consistent with the "NativeReference" feature of iPhone projects
d) it's not as user friendly the "NativeReference" feature of iPhone projects

It would be ~trivial to improve this by using the existing UI for "NativeReference" items and have the built targets convert the NativeReference items to Compile and EmbeddedResource items before CoreCompile.
Comment 1 Jeffrey Stedfast 2016-01-28 18:48:29 UTC
Implemented :)