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
 1553: Cannot detect enum across different dlls
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

enigma
Senior Member

49 Posts

Posted - Apr 17 2007 :  12:41:08 AM  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
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
Go to Top of Page

enigma
Senior Member

49 Posts

Posted - May 11 2007 :  04:47:14 AM  Show Profile  Reply with Quote
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/
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - May 11 2007 :  07:53:56 AM  Show Profile  Reply with Quote
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
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - May 31 2007 :  01:11:20 AM  Show Profile  Reply with Quote
fixed in build 1557
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