[MonoDevelop] MonoDevelop and VisualStudio2005

Christian Hoff christian_hoff at gmx.net
Mon Jan 5 04:01:33 EST 2009


innominate wrote:
> I would like to set up my project such that I can open the same solution file
> in MonoDevelop or VisualStudio2005 and have everything work just fine but I
> am running into a problem with References.
>
> in MonoDevelop references to gtk & mono dlls (gtk-sharp, gdk-sharp,
> Mono.Posix, etc) look like this in the csproj file:
> <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral,
> PublicKeyToken=35e10195dab3c99f" />
> theres no full path to the dll (It somehow just knows where it is, How??)
>   
.net and Mono have a global assembly cache. Use the gacutil tool modify 
the GAC. Keep in mind that Mono and MS .net use different assembly 
caches which is probably why VS shows the reference as missing. If you 
want to use gtk-sharp from MS.Net use the Gtk# installer for MS.net 
avaible on the mono homepage. Keep in mind that the installer does not 
work perfectly on windows Vista, see the Gtk# bugs for details.

However, VS 2005 does not show all assemblies in the GAC. See Brad 
Taylor's post to the mailing list on how to integrate gtk# into VS: 
http://lists.ximian.com/pipermail/gtk-sharp-list/2008-November/009188.html
> in VS2005 however these reference will show up as missing.  If I change it
> to be the absolute path to the dlls it works fine but of course I cant have
> an absolute path in the csproj file.  I have tried adding the folders where
> the dlls are to the system path but to no avail.
>
> So I guess this is mabey more a VS question but perhapse one of you has run
> into this situation before and has some advice.
>
> Thanks
> Nate
>   


More information about the Monodevelop-list mailing list