Author |
Topic |
|
enigma
Senior Member
49 Posts |
Posted - Apr 17 2007 : 12:41:08 AM
|
VA cannot detect enum across different assemblies. Here are the steps:
- Create a c# project called AProj, attach it to a .net solution.
- Define enum as such in AProj
public enum TestEnum:byte { Timer_canRun=0x86, Timer_cannotRun=0x87, }
- Create a new c# project called BProj, attach it to the .net solution where AProj is attached.
- Create a method inside BProj, put this statement inside the method:
TestEnum entest = TestEnum.Timer_canRun;
- Go to the TestEnum definition, and try to find reference for Timer_canRun, you will see that only 1 reference is found. There should be 2: one in AProj, another in BProj
The information of my VA: VA_X.dll file version 10.3.1553.0 built 2007.04.12 Licensed to: VA X: [email protected] (1-user license) Support ends 2007.09.19 VAOpsWin.dll version 1.3.5.1 VATE.dll version 1.0.6.5 DevEnv.exe version 7.10.6030.0 msenv.dll version 7.10.6030.0 Font: Courier New 13(Pixels) Comctl32.dll version 5.82.2900.2180 Windows XP 5.1 Build 2600 Service Pack 2 2 processors
Platform: Win32 Stable Includes:
Library Includes:
Other Includes:
The information of my vs.net Microsoft Visual C# .NET 2003 69458-005-0446806-18546 Microsoft Visual Studio .NET 2003 Service Pack 1 (KB918007) Visual Assist X Document! X 5.1.0.0 |
http://itscommonsensestupid.blogspot.com/ |
Edited by - enigma on Apr 17 2007 12:43:17 AM |
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Apr 17 2007 : 09:29:42 AM
|
I am seeing the same effect here. Thank you for the clear description.
case=6059 |
zen is the art of being at one with the two'ness |
|
|
enigma
Senior Member
49 Posts |
Posted - May 11 2007 : 04:47:14 AM
|
May I know the status of this case?
I am undergoing heavy restructuring here ( as a result of having to maintain old code), so I need the renaming enum feature. I will appreciate any effort to solve this case.
Thank you! |
http://itscommonsensestupid.blogspot.com/ |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - May 11 2007 : 07:53:56 AM
|
No progress on this yet. I have increased the priority on this for you.
For now, assuming you are mainly using rename, can you untick the files you do not want updated? Not ideal, but this is something. |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - May 31 2007 : 01:11:20 AM
|
fixed in build 1557 |
|
|
|
Topic |
|