dll - C# Compiler says function is not defined, when it is -


I need another pair of eyes ... I do not think anything wrong with the following. In fact, I swear I was not something like that already, and it worked.

In my collection. Dll: Namespace archive {public class CSuperAutoPool {public static CSuperAutoPoolActiveByType (type typeTransfer, Paramos object [] Active agglutination) {// ...}}} < P> In the second DLL, I have referenced the archive DLL project, and use it in this function:

Namespace organization {public class CBaseEntity: CSuperAutoPool {create protected static CBaseEntity () / ... CBaseEntity created = (CBaseEntity) CSuperAutoPool.ActivateByType (callingType); // Here error There is no definition for 'Type Activate'

I have typed the activation type, inside CSuperAutoPool, in a different function, and there are no errors in it, the collection is not the same DLL compiled without errors In where the organization namespace exists, in other ways, other aspects of the CSAPperOptool class have been used, without compiler errors.

Something should be missed by your example, or you are not using the version of that code Which you think you are using, e.g. Maybe there is one more class in your project possibly in a referenced assembly called CSuperAutoPool ?

The following snippets are compiled without errors:

  namespace collection {public class CSuperAutoPool {public static CSuperAutoPool ActivateByType (type type: protected, params object [] active aggregates) {// ... return tap; }}} Namespace organization {using archives; Public category CBaseEntity: CSuperAutoPool {Build Protected CBaseEntity () {type callType = null; // ... CBaseEntity created = (CBaseEntity) CSuperAutoPool.ActivateByType (callingType); // ... made the return; }}}  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -