Bug 37271 - Image from class library not copied when adding Nuget package Microsoft.Bcl.Build
Summary: Image from class library not copied when adding Nuget package Microsoft.Bcl.B...
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal blocker
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-12-23 20:08 UTC by Eric Goulet
Modified: 2016-08-19 10:56 UTC (History)
7 users (show)

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


Attachments
Project to reproduce the bug (94.99 KB, application/zip)
2015-12-23 20:09 UTC, Eric Goulet
Details


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:
Status:
VERIFIED FIXED

Description Eric Goulet 2015-12-23 20:08:16 UTC
# Steps to reproduce
Build the project in attachment.

# Expected behavior
Compile and load the image in runtime.

# Actual behavior
Xamarin 3 : UIImage.FromFile returns null
Xamarin 4 : Build error FileNotFoundException

For both: if I remove the package Microsoft.Bcl.Build, it works

# Supplemental info (logs, images, videos)


# Test environment (full version information)
Xamarin 3 :
Microsoft Visual Studio Professional 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01055
Installed Version: Professional
Visual Basic 2015 
Microsoft Visual Basic 2015
Visual C# 2015  
Microsoft Visual C# 2015
Xamarin  3.11.1589.0 (f119127)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android  5.1.7.12 (53fce3730830417896a42f365a5ba35f1ee58d9d)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.Forms Intellisense  1.0
Provides intellisense for Xamarin.Forms in the XML editor.
Xamarin.iOS  9.1.0.0 (a49a79c0e30fc5f9acf323008a9e44be2f0c1bd2)
Visual Studio extension to enable development for Xamarin.iOS.
Xamarin.iOS Unified Migration  1.0
Automated migration for Xamarin iOS Classic projects to Unified
Xamarin.TestCloud.Integration  1.0
Early preview of Xamarin Test Cloud integration

Xamarin 4 :
Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00081
Installed Version: Professional
Visual C# 2015   00322-40000-00000-AA258
Microsoft Visual C# 2015
Xamarin   4.0.0.1717 (1390b70)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android   6.0.0.35 (d300845)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS   9.3.99.33 (ea30b32)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Eric Goulet 2015-12-23 20:09:21 UTC
Created attachment 14395 [details]
Project to reproduce the bug
Comment 2 Naqeeb 2016-01-08 17:03:50 UTC
I have tried to reproduce this issue with Project given in bug description but not able to reproduce it. I am able to build and deploy application successfully. Here is the screencast for the same: http://www.screencast.com/t/1Axx2lWxBGWp

Could you provide Ide log from VS and Environment info of Mac. So we can reproduce this issue at our end.

You can get Ide log on VS from Help -> Xamarin -> Zip Logs and Environment info of Mac from Xamarin Studio -> About Xamarin Studio 

Environment info on Windows: https://gist.github.com/NaqeebAnsari/72a4c1c24a0e173455d5
Environment info on Mac: https://gist.github.com/NaqeebAnsari/6c46f780f925f9d5e051
Comment 3 Alexandre Pepin 2016-02-04 14:21:17 UTC
It seems to be fixed in Xamarin 4.0.1
Comment 4 Jose Gallardo 2016-08-18 13:57:39 UTC
As per Comment 2 and Comment 3. Changing the status to Fixed.

Thanks!
Comment 5 Naqeeb 2016-08-19 10:56:05 UTC
As per comment 3  closing this issue.