添加类和方法的 OpenSSL .NET 包装器
我下载了 Visual C# 2010 Express Edition 上的 OpenSSL .NET 包装器,并尝试通过在 Crypto 库中添加方法和类来修改源代码。然后我编译它并生成新的 ManagedOpenSSL.DLL。 我做了一个测试程序,我把这个DLL作为参考来检查我的修改是否完成。 结果是我发现我的新方法(我将它们添加到现有的类中)存在,但我的新类不存在。 有人知道为什么吗?感谢您的帮助。
I downloaded the OpenSSL .NET wrapper on Visual C# 2010 express edition and I tried to modify the source code by adding methods and classes in the Crypto library. Then I compiled it and generate new ManagedOpenSSL.DLL.
I made a test program and i put this DLL as a reference to check if my modifications were done.
The result is that I found my new methods (I added them to an existing classes) exist, but my new classes does not exist.
Does some one know why ? thanks for any help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否忘记将
public
放在您的类前面?Did you forget to put
public
in front of your classes?如果没有看到您添加的任何代码,我只能猜测您添加了
internal
类,因此它们无法被看到,您没有在正确的命名空间中查找您的类,或者实际上您添加了根本没有课。同样,如果没有您的代码,这些都只是猜测。Without seeing any of the code you added, I can only guess that either you added
internal
classes and thus they cannot be seen, you are not looking in the correct namespace for your classes, or in fact you added no classes at all. Again, without your code, these are only guesses.