Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Renaming SL UserControl does not rename in xaml
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

HBTeun
Senior Member

33 Posts

Posted - Dec 14 2011 :  09:22:32 AM  Show Profile  Reply with Quote
Hi,

I just noticed that renaming a Silverlight UserControl does not rename the last selected/enabled option in a xaml file.

Visual Studio 2010 SP1
VAX: 10.6.1859.0 built 2011-10-02
Silverlight 5 C# project

Greetings,
Teun

Edited by - HBTeun on Dec 14 2011 09:42:52 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 15 2011 :  08:06:26 AM  Show Profile  Reply with Quote
You used VA Rename? We are considering to scan inside XAML files for Rename and Find References:

case=15915
Go to Top of Page

HBTeun
Senior Member

33 Posts

Posted - Dec 15 2011 :  08:13:13 AM  Show Profile  Reply with Quote
I used the option from the VA Refactor context menu in the UserControl code behind.

The window lists the options from the xaml file, but it does not change the last selected option. If you have 3 options selected it changes only the first 2 and if you only have 1 selected it changes 0.
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 15 2011 :  9:12:41 PM  Show Profile  Reply with Quote
*ah* Yes. I was misled This was implemented already, but the case was left open to do some additional improvements. I was careless.

I was able to reproduce your problem:

case=63375

It seems that it works if you open the .xaml file first. VA also tries to open it but the .xaml won't be updated if you don't open or switch to the file manually before doing the rename.

Edited by - accord on Dec 15 2011 9:15:07 PM
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Feb 25 2013 :  12:38:32 PM  Show Profile  Reply with Quote
case=63375 is related to case=63374 and is fixed in build 1929
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000