H
Hilton
Hi,
Using VS .NET 2003:
Create a C# Pocket PC app, compile, peverify, everything OK.
Now drag an "Input Panel" from the toolbox, compile, peverify, I get:
C:\stuff\TestInputPanel2\bin\Debug>"\Program Files\Microsoft Visual Studio
..NET
2003\SDK\v1.1\Bin\PEVerify.exe" TestInputPanel2.exe
Microsoft (R) .NET Framework PE Verifier Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
[IL]: Error: [c:\stuff\testinputpanel2\bin\debug\testinputpanel2.exe :
TestInput
Panel2.Form1::InitializeComponent] [offset 0x0000000C] [opcode newobj]
[token 0
x0A000011] Unable to resolve token.
[IL]: Error: [c:\stuff\testinputpanel2\bin\debug\testinputpanel2.exe :
TestInput
Panel2.Form1::InitializeComponent] [HRESULT 0x80004005] - Unspecified error
2 Errors Verifying TestInputPanel2.exe
This is clearly a Visual Studio bug. But how do I ensure that the compiler
generates a verifiable EXE? Obviously people have been using InputPanel - I
guess you're all shipping 'bad' EXEs; i.e. non-peverifiable.
Is there a fix/workaround for this?
Thanks!
Hilton
Using VS .NET 2003:
Create a C# Pocket PC app, compile, peverify, everything OK.
Now drag an "Input Panel" from the toolbox, compile, peverify, I get:
C:\stuff\TestInputPanel2\bin\Debug>"\Program Files\Microsoft Visual Studio
..NET
2003\SDK\v1.1\Bin\PEVerify.exe" TestInputPanel2.exe
Microsoft (R) .NET Framework PE Verifier Version 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
[IL]: Error: [c:\stuff\testinputpanel2\bin\debug\testinputpanel2.exe :
TestInput
Panel2.Form1::InitializeComponent] [offset 0x0000000C] [opcode newobj]
[token 0
x0A000011] Unable to resolve token.
[IL]: Error: [c:\stuff\testinputpanel2\bin\debug\testinputpanel2.exe :
TestInput
Panel2.Form1::InitializeComponent] [HRESULT 0x80004005] - Unspecified error
2 Errors Verifying TestInputPanel2.exe
This is clearly a Visual Studio bug. But how do I ensure that the compiler
generates a verifiable EXE? Obviously people have been using InputPanel - I
guess you're all shipping 'bad' EXEs; i.e. non-peverifiable.
Is there a fix/workaround for this?
Thanks!
Hilton