NotImplementedException

NotImplementedException

本文介绍了使用迁移的代码进行Notimplementedexception。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个vb.net项目,它正在生成dll,它是在VS2008中构建的。它有一个功能,在那个功能中有



抛出新的NotImplementedException()



它是一些类似



公共子功能()

Dim strFunctionName As String =some string

myLogger .LogMessage(LoggerBuilder.INSIDE_FN,strFunctionName,LogLevel.DebugMessage)

....

抛出新的NotImplementedException()

End Sub




VS2008中的
它没有丢失任何错误。





但代码已迁移到VS2010。将代码迁移到VS2010后,它会抛出NotImplementedException()。不知道为什么会发生这种情况。



请求任何人都可以请点亮这个



我尝试了什么:



因为这个项目构成了一个dll,我通过定位到框架4.0来注册这个dll,如


命令提示符窗口中的




path =%path%; c:\ Windows \ theMicrosoft。 NET\Framework\v4.0.30319



后来使用regasm注册了dll。运行应用程序并尝试调试代码,在此代码中获取NotImplementedException错误

I have a vb.net project, which is generating dll, and it is built in VS2008. It has a function, and in that function there is

Throw New NotImplementedException()

it is some what like

Public Sub Function()
Dim strFunctionName As String = "some string"
myLogger.LogMessage(LoggerBuilder.INSIDE_FN, strFunctionName,LogLevel.DebugMessage)
....
Throw New NotImplementedException()
End Sub


in VS2008 it is not throwing any error.


But the code has been migrated to VS2010. After migrating the code to VS2010, it is throwing the NotImplementedException(). Didn't have a clue why this is happening.

Request anybody could please throw light on this

What I have tried:

since this project is constituting a dll, i registered this dll by targeting to framework 4.0 like,

at the command prompt window

path=%path%;c:\Windows\Microsoft.NET\Framework\v4.0.30319

later registered the dll using regasm. Ran the application and tried to debug the code, at which got the NotImplementedException error

推荐答案


这篇关于使用迁移的代码进行Notimplementedexception。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-29 12:23