Excepción después de actualizar la versión de .NET compact framework

He actualizado mi proyecto de .NET 2.0 a .NET 3.5 a través de Visual StudioProject-> Upgrade Project . Después de la actualización cuando compilé el proyecto, recibí el error

'The type 'System.Windows.Forms.DataGridTableStyle' exists in both 'c:\Users\VijayVignesh\Desktop\AGMobile4\Dll\Other\System.Windows.Forms.DataGrid.dll' and 'c:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\System.Windows.Forms.dll''.

Por lo general, se hacen referencia a dos dlls en mi proyectoSystem.Windows.Forms.dll ySystem.Windows.Forms.DataGrid.dll. Entonces, decidí eliminarSystem.Windows.Forms.DataGrid.dll del proyecto

Y cuando ejecuto el proyecto,

public System.Windows.Forms.ImageList imgLstSplashScrn;

private void InitializeComponent()
{
    System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SplashScreen));
    this.mainMenu1 = new System.Windows.Forms.MainMenu();
    this.picBxCompLogo = new System.Windows.Forms.PictureBox();
    this.lblWait = new System.Windows.Forms.Label();
    this.imgLstSplashScrn = new System.Windows.Forms.ImageList();
    this.SuspendLayout();

}

me sale la excepción 'Exception was unhandled' a'this.imgLstSplashScrn = new System.Windows.Forms.ImageList();'

Cuando trato de manejar la excepción enInitializeComponent() llamo, recibo la excepción'ObjectDisposedException was unhandled'.

¿Cómo lo resuelvo?

Respuestas a la pregunta(0)

Su respuesta a la pregunta