Bug 24234 - BundleResource option not visible for resource file Build Action setting
Summary: BundleResource option not visible for resource file Build Action setting
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.7
Hardware: PC Windows
: Normal normal
Target Milestone: 4.0.1 (C6SR1)
Assignee: Rajneesh Kumar
URL:
Depends on:
Blocks:
 
Reported: 2014-11-03 18:08 UTC by Kent Green [MSFT]
Modified: 2016-04-15 19:12 UTC (History)
6 users (show)

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


Attachments
Project demonstrating the bug (182.37 KB, application/zip)
2014-11-03 18:08 UTC, Kent Green [MSFT]
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:
RESOLVED FIXED

Description Kent Green [MSFT] 2014-11-03 18:08:45 UTC
Created attachment 8608 [details]
Project demonstrating the bug

---Overview:---
From this desk case:
https://xamarin.desk.com/agent/case/94683

The customer reports that they are unable to set the Build Action to BundleResource when working with their project in Visual Studio.

---Steps to reproduce---
1. Open the attached project in Visual Studio
2. Open the resources folder and select the image.
3. Open the Build Action drop-down menu, the BundleResource option isn't appearing.

I haven't determined if there's a way to reproduce the error from a new project; only the attached sample.

---Expected Results---
BundleResource should appear in the drop down menu.

---Actual Results---
It doesn't appear in the menu, even though the other options still do.

---Screenshot:---
http://screencast.com/t/6rB6XAAXr9NO 

---Workaround---
During testing, I tried cleaning and rebuilding to see if that might clear up the information, but it didn't work. However; if you add a new image to the Resources folder (even copy & paste a new copy of the image currently present) the option reappears.

This is a pretty reasonable way to deal with the issue, but it still seems pretty strange that it's occurring in the first place. 

---Build Information---
Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

LightSwitch for Visual Studio 2013   06177-004-0447006-02429
Microsoft LightSwitch for Visual Studio 2013

Team Explorer for Visual Studio 2013   06177-004-0447006-02429
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0447006-02429
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0447006-02429
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0447006-02429
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0447006-02429
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0447006-02429
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU   06177-004-0447006-02429
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   12.3.50717.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.20703.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.2
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Advertising SDK for Windows Phone   
Microsoft Advertising SDK for Windows Phone
Build 

Microsoft Azure Mobile Services Tools   1.2
Microsoft Azure Mobile Services Tools

NuGet Package Manager   2.8.50313.46
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PowerShell Tools   1.2
Provides file classification services using PowerShell

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.7.248.0 (8ca7d11db8a6f874c6cd2de6d9ca0f511867ce91)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   4.18.1.3 (5474129af31e9d3a86cb7482c7c5c7a30ad315f1)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.4.0.0 (209abebbd8f1a292d042420edb45fa5fbd3f017b)
Visual Studio extension to enable development for Xamarin.iOS.

---Additional Note---
My repo of the issue was in Parallels on Mac OS X Yosemite.
Comment 1 Rajneesh Kumar 2014-11-04 02:52:43 UTC
I have checked this issue and able to reproduce this. To reproduce this issue I have followed the steps mentioned in bug description.

After selecting image form resources folder and going to properties window, I observed that in Build Action drop-down menu, the "BundleResource" option isn't appearing.

Screencast: http://www.screencast.com/t/tMgJw7h6UY

Environment Info:

Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Professional

LightSwitch for Visual Studio 2013   06177-004-0444002-02032
Microsoft LightSwitch for Visual Studio 2013

Microsoft Office Developer Tools for Visual Studio 2013 ENU   06177-004-0444002-02032
Microsoft Office Developer Tools for Visual Studio 2013 ENU

Team Explorer for Visual Studio 2013   06177-004-0444002-02032
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0444002-02032
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0444002-02032
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0444002-02032
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0444002-02032
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0444002-02032
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU   06177-004-0444002-02032
Windows Phone SDK 8.0 - ENU

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.0.11001.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

Microsoft Advertising SDK for Windows Phone   
Microsoft Advertising SDK for Windows Phone
Build 

Microsoft Web Developer Tools 2013   2.0.40926.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

NuGet Package Manager   2.7.40911.287
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Windows Azure Mobile Services Tools   1.0
Windows Azure Mobile Services Tools

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.7.248.0 (8ca7d11db8a6f874c6cd2de6d9ca0f511867ce91)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   4.18.1.3 (5474129af31e9d3a86cb7482c7c5c7a30ad315f1)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.4.0.0 (209abebbd8f1a292d042420edb45fa5fbd3f017b)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 3 Adrian Alonso 2015-10-16 20:30:18 UTC
Kent: Typically when the bug is resolved/fixed, it's assigned to the person who filled it to verify it. Of course, if the person is a Xamarin employee. I'm setting the bug as resolved fixed again and assign it to Rajneesh to complete the verification with the latest build from master.

The commit that fixes the issue is master/dee9a7246fb1f3c9e3388fff0fc380568e7ffb6e
Comment 4 xamarin-release-manager 2015-11-26 10:38:43 UTC
Fixed in version 4.0.1.1 (cycle6)

Author: Jose Gallardo
Commit: dee9a7246fb1f3c9e3388fff0fc380568e7ffb6e (xamarin/XamarinVS)
Comment 5 xamarin-release-manager 2016-04-15 19:12:22 UTC
Fixed in version 4.0.3.211 (cycle6)

Author: Adrian Alonso
Commit: e1ba2983af47a793afcd7436f35000c46b08fbe9 (xamarin/maccore)
Included in Commit: e1000281fbd7fd92fa0378c1b309d4d7b3ce000d (xamarin/XamarinVS)