Bug 12894 - Native library linking fails
Summary: Native library linking fails
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.1.x
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Vinicius Jarina
Depends on:
Reported: 2013-06-26 08:22 UTC by Sami M. Kallio
Modified: 2013-07-17 12:09 UTC (History)
5 users (show)

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 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:

Description Sami M. Kallio 2013-06-26 08:22:51 UTC
Project has a folder for native .a libraries called Lib. When compiling from Visual Studio Mac Server gives an error about missing file. It is looking for the file in ~/Library/Caches/Xamarin.mtbs/builds/{Application Name}/{guid}/Lib when it is in ~/Library/Caches/Xamarin.mtbs/builds/{Application Name}/{guid}/sources/Lib

Creating a symlink from ./sources/Lib to ./Lib creates a temporary workaround.
Comment 1 Vinicius Jarina 2013-06-27 18:33:27 UTC
Hi Sami

What is the build Action of the .a file?

Try to set the build action to EmbeddedResource, and add set the logical name.
This might help:


Thank you.
Comment 2 Vinicius Jarina 2013-07-17 12:09:04 UTC
No response.