Bug 44417 - Image set from asset catalog can't be renamed
Summary: Image set from asset catalog can't be renamed
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 15.1
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-16 15:42 UTC by blitzillu
Modified: 2017-03-21 09:59 UTC (History)
9 users (show)

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


Attachments
Example project demonstrating the issue (21.68 KB, application/zip)
2016-09-16 15:42 UTC, blitzillu
Details
Logs and screenshot generated during verification of bug (19.57 KB, application/zip)
2017-03-21 09:59 UTC, Saurabh Paunikar
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 blitzillu 2016-09-16 15:42:27 UTC
Created attachment 17544 [details]
Example project demonstrating the issue

Problem:
I can't rename an image set from lower case letter to upper case letter. He always goes back to the lower case letter.

Desired:
Image set should be renamed.

Steps to reproduce:

1. Create fresh iOS project
2. Add asset catalog with an image set. Name it e.g. "barcode"
3. Put an image view on a page and display the image from the asset catalog.
4. Rename image asset to e.g. "Barcode"
5. Image asset is not renamed
6. Optional: Try to launch the app again with the new image name. App crashes or image isn't displayed.

Tried:
Even editing the folder/images and the csproj doesn't help. Cleaning didn't helped.

Description:
There is a cache somewhere or Visual Studio doesn't let me use upper case letters.

MAC:

Xamarin.iOS Version: 9.8.2.22
Mac OS X 10.11.6

PC:

Microsoft Visual Studio Professional 2015
Version 14.0.25425.01 Update 3
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Professional

Visual Basic 2015   00325-60003-97886-AA825
Microsoft Visual Basic 2015

Visual C# 2015   00325-60003-97886-AA825
Microsoft Visual C# 2015

Visual C++ 2015   00325-60003-97886-AA825
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - DEU   00325-60003-97886-AA825
Windows Phone SDK 8.0 - DEU

Application Insights Tools for Visual Studio Package   7.6.00907.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)

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

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

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

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.4.4
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   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

UWPTileGeneratorCommand Extension   1.0
UWPTileGeneratorCommand Visual Studio Extension Detailed Info

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.1.2.18 (fcbe082)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Inspector Support   0.5.0.0 (45b35bb)
Adds support for inspecting Xamarin and WPF apps.

Xamarin.Android   6.1.2.21 (1cf254d)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   9.8.2.22 (f37444a)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Manuel de la Peña [MSFT] 2016-09-19 15:25:34 UTC
Hello,

Just to be sure I'm triaging the bug correctly, this is an issue with Visual Studio, correct?
Comment 2 blitzillu 2016-09-19 15:54:37 UTC
Hi Manuel,

yes, I'm using Visual Studio 2015. Haven't tested it with Xamarin Studio or Xcode, but the issue could perhaps occur from there.
Comment 3 Ben Beckley 2016-09-19 20:32:55 UTC
Hello,

I tried this in a few places. 

Xamarin Studio 6.1 (Build 5441)
First, I was observing that I can't rename assets to start with a capital letter. Although, I can change the other characters to be capital.

XVS 4.2.0.680 (c4382f5)
I was not able to reproduce the behavior in XVS - which I found to be odd. Instead though, if "Barcode" had a capital "B" then I would get an exception on line 17 in ViewController.cs

XCode 8 GM
I was able to change the name without issue.

Changing the status to confirmed because of the exception I experienced.


@blitzillu@yahoo.de
Could you please update your XVS version to the latest stable and try again, and let us know how that is working?
Comment 4 blitzillu 2016-09-20 10:16:52 UTC
I can update the software, after I have finished my project. This is in two weeks. Thanks for your understanding. I'll notify you then.
Comment 5 blitzillu 2016-10-05 14:00:58 UTC
Now I updated everything to latest version, except the Mac OS. Result:

- Renaming still doesn't work

It is the same behavior as before.

Here are the detailed version informations:

Microsoft Visual Studio Professional 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Professional

Visual Basic 2015   00325-60003-97886-AA825
Microsoft Visual Basic 2015

Visual C# 2015   00325-60003-97886-AA825
Microsoft Visual C# 2015

Visual C++ 2015   00325-60003-97886-AA825
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - DEU   00325-60003-97886-AA825
Windows Phone SDK 8.0 - DEU

Application Insights Tools for Visual Studio Package   7.8.00927.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)

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

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

Command Bus, Event Stream and Async Manager   Merq
Provides ICommandBus, IEventStream and IAsyncManager MEF services for loosely coupled Visual Studio extension components communication and integration.

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

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.4.4
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   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

UWPTileGeneratorCommand Extension   1.0
UWPTileGeneratorCommand Visual Studio Extension Detailed Info

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.2.0.703 (3b7df6f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Inspector Support   0.5.0.0 (45b35bb)
Adds support for inspecting Xamarin and WPF apps.

Xamarin.Android   7.0.1.3 (96c7ba6)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.0.1.10 (ad1cd42)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 6 Jose Gallardo 2016-12-27 21:46:26 UTC
Updating the target milestone. We'll work on a fix soon.
Thanks
Comment 7 Emanuel 2017-01-05 16:01:05 UTC
Fixed in master branch, commit: cd44a743e65c7855cf66fe77f4ec1011ce97c732.
Comment 8 Saurabh Paunikar 2017-03-21 09:59:21 UTC
Created attachment 20494 [details]
Logs and screenshot generated during verification of bug

Verified in following configuration


Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA436
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

LightSwitch for Visual Studio 2015   00322-80000-00000-AA436
Microsoft LightSwitch for Visual Studio 2015

Visual Basic 2015   00322-80000-00000-AA436
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA436
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA436
Microsoft Visual C++ 2015

Visual F# 2015   00322-80000-00000-AA436
Microsoft Visual F# 2015

Windows Phone SDK 8.0 - PLK   00322-80000-00000-AA436
Windows Phone SDK 8.0 - PLK

Application Insights Tools for Visual Studio Package   7.18.00214.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)

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

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

Clang with Microsoft CodeGen   14.0.25516
Clang with Microsoft CodeGen

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

GitHub.VisualStudio   2.2.0.8
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Merq   1.1.14-alpha (21c13c9)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Mono Debugging for Visual Studio   Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.

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

Office Developer Tools for Visual Studio 2015 ENU   14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU

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

Python Tools for Visual Studio   2.2.50113.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.

Python Tools for Visual Studio - Django Integration   2.2.50113.00
Provides templates and integration for the Django web framework.

Python Tools for Visual Studio - Profiling Support   2.2.50113.00
Profiling support for Python projects.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual C++ for Cross Platform Mobile Development (Android)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (Android)

Visual C++ for Cross Platform Mobile Development (iOS)   14.0.25401.00
Visual C++ for Cross Platform Mobile Development (iOS)

Visual Studio Tools for Apache Cordova   Update 10
Visual Studio Tools for Apache Cordova

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

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

Xamarin   4.4.0.6 (eeb1b63)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.2.0.6 (b8e3884)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.8.0.26 (0e9e791)
Visual Studio extension to enable development for Xamarin.iOS.