[Mono-list] monocharge-20060927 installation fails in XP at all and in Linux for 2.0 assemblies

Andrus kobruleht2 at hot.ee
Sat Sep 30 13:53:36 EDT 2006


I tried to recharge my MONO 1.1.17.1 installations on kubuntu.

recharge.sh tries to run gacutil.eze from 2.0 directory:

 MONO_PATH=./2.0 mono ./2.0/gacutil.exe /i $i /f /package 2.0 /root 
${libdir}

There are no gacutil.exe file in 2.0 directory and the script fails.
Where to find gacutil.exe file for 2.0 ?


In XP  I copied 1.0\*.exe files manually and tried to recharge using bat 
file:

cd 1.0
for %%i in (*.dll) do mono gacutil.exe /i %%i /f /package 1.0


This causes 2 error messages:

C:\monocharge\monocharge-20060927\1.0>mono gacutil.exe /i dummy-Mono.C5.dll 
/f /package 1.0
Failure adding assembly to the cache: Attempt to install an assembly without 
a strong name.

C:\monocharge\monocharge-20060927\1.0>mono gacutil.exe /i mscorlib.dll /f 
/package 1.0

Unhandled Exception: System.IO.IOException: Sharing violation on path 
C:\PROGRA~
1\MONO-1~1.1\lib\mono\1.0\mscorlib.dll
  at System.IO.File.Delete (System.String path) [0x00000]
  at Mono.Tools.Driver.Install (Boolean check_refs, System.String name, 
System.S
tring package, System.String gacdir, System.String link_gacdir, 
System.String li
bdir, System.String link_libdir) [0x00000]
  at Mono.Tools.Driver.Main (System.String[] args) [0x00000]

and after that my application stops working, error

Message: Cannot create a child list for field Table1.Source: 
System.Windows.FormsHelp link: Previous error: Method: 
System.Windows.Forms.BindingManagerBase CreateBindingManager(System.Object, 
System.String)Stack trace:

at System.Windows.Forms.BindingContext.CreateBindingManager (System.Object 
data_source, System.String data_member) [0x00000]
  at System.Windows.Forms.BindingContext.get_Item (System.Object 
data_source, System.String data_member) [0x00000]
  at System.Windows.Forms.DataGrid.SetDataSource (System.Object source, 
System.String member, Boolean recreate_rows) [0x00000]
  at System.Windows.Forms.DataGrid.SetDataSource (System.Object source, 
System.String member) [0x00000]
  at System.Windows.Forms.DataGrid.set_DataSource (System.Object value) 
[0x00000]
  at (wrapper remoting-invoke-with-check) 
System.Windows.Forms.DataGrid:set_DataSource (object)
  at Eetasoft.Eeva.Form1.Form1_Load (System.Object sender, System.EventArgs 
e) [0x00000]
  at (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs 
(object,System.EventArgs)
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000]
  at System.Windows.Forms.Form.OnCreateControl () [0x00000]
  at System.Windows.Forms.Control.CreateControl () [0x00000]
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000]
  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000]
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000]
  at (wrapper remoting-invoke-with-check) 
System.Windows.Forms.Control:set_Visible (bool)
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, 
System.Windows.Forms.ApplicationContext context) [0x00000]
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form 
mainForm) [0x00000]
  at mycomp.myapp.Program.Main () [0x00000]

occurs.

How to recharge in XP ?

Andrus. 



More information about the Mono-list mailing list