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
 Rename namespace doesn't rename namespace in XAML
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

enigma
Senior Member

49 Posts

Posted - Apr 09 2008 :  02:47:20 AM  Show Profile  Reply with Quote
Hi,

I found that the rename operation is not able to rename the namespace reference in XAML my C# WPF projects.

This is my VA information
VA_X.dll file version 10.4.1626.0 built 2008.01.17
Licensed to:
VA X: [email protected] (1-user license) Support ends 2008.10.12
DevEnv.exe version 9.0.21022.8
msenv.dll version 9.0.21022.8
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.0A\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\crt\\src;


http://itscommonsensestupid.blogspot.com/

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 09 2008 :  7:43:37 PM  Show Profile  Reply with Quote
Assume I know nothing about WPF and XAML files, how do I reproduce this?

I have created a new default C# WPF application in VS2008, and I have the XAML file open. The code at the bottom half of the screen does not seem to be listing anything that looks like a namespace I will want to rename.

zen is the art of being at one with the two'ness
Go to Top of Page

enigma
Senior Member

49 Posts

Posted - Apr 09 2008 :  8:33:25 PM  Show Profile  Reply with Quote
Go to Page.xaml.cs (or any file with the extension .xaml.cs), you will see the namespace there. Note that you have to expand .xaml file in order to get to the .cs file

http://itscommonsensestupid.blogspot.com/
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 10 2008 :  12:27:02 PM  Show Profile  Reply with Quote
I am seeing the same problem now I know what to do. How "complex" do these XAML files get? The same point came up in this thread:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7318

but so far my questions about the XAML files have not been answered.

zen is the art of being at one with the two'ness
Go to Top of Page

enigma
Senior Member

49 Posts

Posted - Apr 10 2008 :  9:53:06 PM  Show Profile  Reply with Quote
feline, I am glad that you can reproduce the issue.

I am also new to this XAML stuff, but all I ask from VA is to be able to rename the namespaces ( and classes and methods, of course) properly so that I won't get a compilation error.

That's it

http://itscommonsensestupid.blogspot.com/
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 11 2008 :  11:20:51 AM  Show Profile  Reply with Quote
I have put in a feature request for this, so we are aware of the problem:

case=15915

zen is the art of being at one with the two'ness
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