Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1553: Cannot detect enum across different dlls

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
enigma 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
4   L A T E S T    R E P L I E S    (Newest First)
support Posted - May 31 2007 : 01:11:20 AM
fixed in build 1557
feline 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.
enigma 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!
feline Posted - Apr 17 2007 : 09:29:42 AM
I am seeing the same effect here. Thank you for the clear description.

case=6059

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000