The type or namespace name 'ETOC' could not be found
Posted: Tue Feb 04, 2025 10:20 am
I have a large VS solution ported from VO. All the code compiled without errors under X# 2.20. I installed the new version X# 2.21 and recompiled. I got nearly 600 errors. They were all of the type shown in the subject line, the compiler could not find a type or namespace and suggested I might be missing a reference to another project or a USING statement. The correct references are defined and I generally have not used USING statements for X# things, only for .NET Framework names.
The curious thing is that if I go to the code where the unknown item is, right-click on it and choose Go To Definition, it navigates to the correct line in the other project that defines the item. So part of the system seems to know where these things can be found but not other parts.
The solution contains some C# projects as well and they behave just fine. It is only the X# projects that have problems.
Any suggestions?
John Bonnett
The curious thing is that if I go to the code where the unknown item is, right-click on it and choose Go To Definition, it navigates to the correct line in the other project that defines the item. So part of the system seems to know where these things can be found but not other parts.
The solution contains some C# projects as well and they behave just fine. It is only the X# projects that have problems.
Any suggestions?
John Bonnett