Bład przy uruchamianiu gotowego programu

0

Witam, napisałem sobie ostatnio mały komunikator działający na kilku wątkach. Na moim pc działa wszystko ładnie, pięknie, a gdy program klienta chcę odpalić na innym pc, wyskakuje mi takie świństwo jak tutaj zacytowałem. Mógłby ktoś mnie naprowadzić jak to naprawić? Szukałem dużo, ale nie nalazłem nic konkretnego.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

  • Exception Text ****
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Nie można odnaleźć określonego pliku.
    File name: 'Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    at starter.Formularz.InitializeComponent()
    at starter.Formularz..ctor(Form1 form1)
    at starter.Form1.button2_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

  • Loaded Assemblies ****
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.261 (RTMGDR.030319-2600)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

starter
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Komunikator/starter.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.235 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.276 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.261 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

  • JIT Debugging ****
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

For example:

<configuration> <system.windows.forms jitdebugging="true" /> </configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

1

To umieść albo zainstaluj te swoje Microsoft.VisualBasic.PowerPacks.Vs na innym PC.

0

ok, akurat przed chwilką rozwiązałem problem, dzięki za odpowiedź

0

mam problem z uruchomieniem gry Fifa 12 po instalacji wyświetla się komunikat tej treści:

Szczegółowe informacje na temat wywoływania debugowania w trybie JIT (just in time)
zamiast tego okna dialogowego znajdują się na końcu tego komunikatu.

         * Tekst wyjątku **************

System.IO.FileNotFoundException: Nie można załadować pliku lub zestawu 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' lub jednej z jego zależności. Nie można odnaleźć określonego pliku.
Nazwa pliku: 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
w fifasetup_csharp.Settings.CreateVideoDictionary()
w fifasetup_csharp.StartingForm.PlayButton_Click(Object sender, EventArgs e)
w System.Windows.Forms.Control.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.ButtonBase.WndProc(Message& m)
w System.Windows.Forms.Button.WndProc(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

OSTRZEŻENIE: rejestrowanie informacji o powiązaniach zestaww jest wyłączone.
Aby włączyć rejestrowanie błędw powiązań zestaww, ustaw wartość rejestru [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) rwną 1.
Uwaga: z włączeniem rejestrowania błędw powiązań zestaww wiąże się pewien spadek wydajności.
Aby wyłączyć tę funkcję, usuń wartość rejestru [HKLM\Software\Microsoft\Fusion!EnableLog].

         * Zestawy załadowane **************

mscorlib
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.4223 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

fifaconfig
Wersja zestawu: 1.0.0.0
Wersja Win32: Brak
CodeBase: file:///D:/FIFA12/FIFA%2012/Game/fifasetup/fifaconfig.exe

System
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.4223 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.4223 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.4226 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

fifaconfig.resources
Wersja zestawu: 1.0.0.0
Wersja Win32: 1.0.0.0
CodeBase: file:///D:/FIFA12/FIFA%2012/Game/fifasetup/pl-PL/fifaconfig.resources.DLL

Microsoft.DirectX.Direct3D
Wersja zestawu: 1.0.2902.0
Wersja Win32: 9.05.132.0000
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll

System.Windows.Forms.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_pl_b77a5c561934e089/System.Windows.Forms.resources.dll

mscorlib.resources
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.50727.4223 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

         * Debugowanie w trybie JIT **************

Aby włączyć debugowanie w trybie JIT (just-in-time), plik .config tej
aplikacji lub komputera (machine.config) musi mieć
wartość jitDebugging ustawioną w sekcji system.windows.forms.
Aplikacja musi być również skompilowana z włączonym
debugowaniem.

Na przykład:

<configuration> <system.windows.forms jitdebugging="true" /> </configuration>

Gdy debugowanie JIT jest włączone, wszystkie nieobsługiwane wyjątki
są wysyłane do debugera JIT zarejestrowanego na komputerze
i nie są obsługiwane w tym oknie dialogowym.

1
  1. Zakładaj nowy temat a nie dopisuj się ni z gruszki ni z pietruszki do innego.

  2. Hah, FIFA jest napisana w .NET?

  3. Śmieszne, ten błąd (nie ma System.Xml?) nie powinien wystąpić. Spróbuj przeinstalować .NET Framework 2.0 (http://www.microsoft.com/downloads/pl-pl/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5 - 20 MB powinieneś dać radę ściągnąć bez bólu)

1 użytkowników online, w tym zalogowanych: 0, gości: 1