Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

File or Assembly Atalasoft.dotImage or dependecy can not be found...

Last post 10 Oct 2007, 2:49 PM by Glenn. 3 replies.
Sort Posts: Previous Next
  •  09 Oct 2007, 3:11 PM 12637

    File or Assembly Atalasoft.dotImage or dependecy can not be found...

    first steps, trying out examples. Always errors like: 

    System.BadImageFormatException wurde nicht behandelt.
      Message="Die Datei oder Assembly Atalasoft.dotImage, Version=5.0.2777.21884, Culture=neutral, PublicKeyToken=2b02b46f7326f73b oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden."

     

    simple like hello world: form, added worspaceviewer -> 

    System.InvalidOperationException wurde nicht behandelt.
      Message="Fehler beim Erstellen des Formulars. Weitere Informationen finden Sie in Exception.InnerException. Fehler: Die Datei oder Assembly Atalasoft.dotImage.WinControls, Version=5.0.2777.21884, Culture=neutral, PublicKeyToken=2b02b46f7326f73b oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.."

    Error 

    system: vista64, vs2005 

    What is going wrong?

     Thank you,

    k.pater 

    Filed under: ,
  •  09 Oct 2007, 4:15 PM 12638 in reply to 12637

    Re: File or Assembly Atalasoft.dotImage or dependecy can not be found...

    Please see this KB article for the answer to your problem:

    http://www.atalasoft.com/kb/article.aspx?id=10165


    Bill Bither
    Atalasoft
  •  10 Oct 2007, 1:53 AM 12641 in reply to 12638

    Re: File or Assembly Atalasoft.dotImage or dependecy can not be found...

    Thank you very much, that works.

    Now, next problem is the licenses.licx-file:

     output:


         C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\bin\LC.exe /target:WindowsApplication2.exe /complist:"My Project\licenses.licx" /outdir:obj\x86\Debug\ /i:D:\Programme\DotImage5\DotImage50\bin\2.0\Atalasoft.dotImage.dll /i:D:\Programme\DotImage5\DotImage50\bin\2.0\Atalasoft.dotImage.WinControls.dll /i:D:\Programme\DotImage5\DotImage50\bin\2.0\Atalasoft.Shared.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Design.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /i:D:\Programme\DotImage5\DotImage50\bin\2.0\Atalasoft.dotImage.Lib.dll /i:C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualC.dll
        Die LC-Aufgabe verwendet "LC.exe" von "C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0\bin\LC.exe".
        Microsoft (R) .NET-Lizenzcompiler
        [Microsoft .NET Framework, Version 2.0.50727.312]
        Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.
        
        
        Die Komponentenliste "My Project\licenses.licx" wird verarbeitet...
        Fehler LC0000: "Die Datei oder Assembly file:///D:\Programme\DotImage5\DotImage50\bin\2.0\Atalasoft.dotImage.WinControls.dll oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden."
        C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1669,9): error MSB6006: "LC.exe" wurde mit Code -1 beendet.
      Ausführen der LC-Aufgabe beendet - Fehler bei der Ausführung.
    Erstellen des CompileLicxFiles-Ziels in Projekt WindowsApplication2.vbproj beendet - Fehler beim Erstellen.

     

    On my developer-machine I have to kill all references from licenses.licx-file to get it compiled. 

    Adding any control results in rebuilding the licenses.licx file, generating above error at compile time and I think after re-deleting the licenses.licx-file and generate Exe-file (without testing it), so compiled EXE wouldn't run on any Clientmachine.

    with best regards

    k.pater 

  •  10 Oct 2007, 2:49 PM 12651 in reply to 12641

    Re: File or Assembly Atalasoft.dotImage or dependecy can not be found...

    This is a bug in Visual Studio.  You need to add build events, forcing the LC to run in 32-bit mode.  This KB contains the events:  http://www.atalasoft.com/kb/article.aspx?id=10149
    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML