0
내 VB.net
프로그램의 아이콘을 변경했는데 오류가 발생합니다.아이콘 변경 결과 오류
An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll Additional information: Exception has been thrown by the target of an invocation.
하고 시도하고 원래의 아이콘을 복원하기 위해 다시 디자이너로 나를 못하게 : 나는이 프로그램을 실행하려고 할 때
나는이 오류가 발생합니다. 그것은 포드 디자인 페이지에이 메시지가있는 페이지를 보여줍니다 :
To prevent possible data loss before loading the designer, the following errors must be resolved:
The parameter is incorrect
Instances of this error (1)
at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
at System.Drawing.Icon..ctor(Stream stream, Int32 width, Int32 height)
at System.Drawing.Icon..ctor(Stream stream)
at System.Drawing.IconConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfoculture, Object value)
at System.ComponentModel.TypeConverter.ConvertFrom(Object value)
at System.Resources.ResXDataNode.GenerateObjectFromDataNodeInfo(DataNodeInfo dataNodeInfo, ITypeResolutionService typeResolver)
at System.Resources.ResXDataNode.GetValue(ITypeResolutionService typeResolver)
at System.Resources.ResXResourceReader.ParseDataNode(XmlTextReader reader, Boolean isMetaData)
at System.Resources.ResXResourceReader.ParseXml(XmlTextReader reader)`
어떤 제안이 있습니까? 이 시점에서 나는 단지 old icon
을 복원하고 내 프로그램을 다시 시작하는 방법을 알아 내고 싶습니다!
Form1.Designer.vb로 이동하여 제거하십시오. + –
@kostasch. "Form1.Designer.vb"을 의미하고 그것을 제거하십시오. Visual Studio는 Designer로 돌아 가게하지 않을 것입니다. 제가 들어가면 아이콘을 어떻게 바꿀 지 모릅니다. – gromit1
솔루션을 "청소"했습니까? 어떤 버전의 VS를 사용하고 있습니까? – logixologist