且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

'类'不包含'法'的定义

更新时间:2022-04-18 07:10:29

有三种可能性:

1)如果你指旧的DLL则​​不能使用。所以,你必须引用新的DLL

1) If you are referring old DLL then it cant be used. So you have refer new DLL

2)如果您在不同的命名空间中使用,并尝试使用其他命名空间的DLL,然后它不会参照此方法。

2) If you are using it in different namespace and trying to use the other namespace's dll then it wont refer this method.

3)您可能需要重建项目

3) You may need to rebuild the project

我觉得第三种可能是你的原因。请以了解你的确切的问题发布的详细信息。

I think third option might be the cause for you. Please post more information in order to understand exact problem of yours.