From: Lloyd D. <ll...@ga...> - 2002-12-12 12:12:22
|
Hi Monica, I should probably update the FAQ for you... probably this week-end... Anyway, it's normal if CsGL doesn't work straight away in VS.NET. To quote myself: "According to the last news from MS representative CsGL was not yet standart part of the current .NET SDK, so, it unfortunately doesn't work with VS.NET straight away" .... so sad ... ;-( You have to add it (manually !) to your project reference first ..... For this, see, there is a 'reference' icon in your VS.NET project. you should right clic, select 'add reference' and somewhat choose CsGL. Although there is one more trick. Once you will try this you will be able to add csgl.dll but NOT csgl.native.dll (because it's NOT an assembly (to learn more about assembly, search into .NET SDK documentation)) although it's a needed interop DLL, too.... So you will be able to compile, etc.. but your control won't show in the designer, nor your program will run .... So you also make csgl.native.dll available to your project. There is 3 way of doing this: - use the "INSTALL.BAT" in the libinstall directory - put csgl.native.dll in you <windows>\System32 dir - copy csgl.native.dll in your debug/release/whatever directory, yourself... ----- Original Message ----- From: "Monica McAmis" <mm...@ho...> To: <csg...@li...> Sent: Thursday, December 12, 2002 11:01 AM Subject: [Csgl-users] how to use csgl with Visual Studio .net > I looked at some of the Examples (the .cs files) and failed to build them > when I pasted the file in a C# Visual Studio .net windows project. I get > " The type or namespace name 'CsGL' could not be found (are you missing a > using directive or an assembly reference?)" . How can I fix that? > Thanks. > > > > > > > _________________________________________________________________ > Help STOP SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Csgl-users mailing list > Csg...@li... > https://lists.sourceforge.net/lists/listinfo/csgl-users |