Bug 57247 - Native Static Reference (.a) source file ends up with 0 Kb after build
Summary: Native Static Reference (.a) source file ends up with 0 Kb after build
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.4.0 (15.1)
Hardware: PC Windows
: High normal
Target Milestone: 15.3
Assignee: Emanuel
Depends on:
Reported: 2017-06-07 15:14 UTC by Emanuel
Modified: 2017-07-12 07:41 UTC (History)
4 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 Emanuel 2017-06-07 15:14:03 UTC
This bug is based on the following comments of bug 43316:
- https://bugzilla.xamarin.com/show_bug.cgi?id=43316#c17
- https://bugzilla.xamarin.com/show_bug.cgi?id=43316#c19

Steps to reproduce:
1) Create an iOS project.
2) Add a Native Static Reference (*.a file)
3) Build your project while connected to a Mac server.

Expected Result:
- Project builds and *.a source file is not modified.

Actual Result:
- Project builds successfully, but *.a source file is replaced by a 0 Kb file.

Source file meaning the *.a file added to the project ({ProjectDir}\Native References\*.a).
Comment 1 xamarin-release-manager 2017-06-07 20:15:50 UTC
Fixed in version (master)

Author: Emanuel
Commit: 2640712181e049482b31cebf7ab83c3c7f7d17cf (xamarin/XamarinVS)