How to add Microsoft Enterprise Library (June 2005) to GAC?
You may need to add the enterprise library to GAC in case that you want to share it across more than one application in a production server, the enterprise library is a set of dlls, you should sign all those dlls in order to be added to the GAC. So, you should follow the following steps:
1- open the command prompt and type "sn -k c:\mykey.snk" to generate key file which will be used to sign the assemblies.
2- Open the enterprise library solution in the Visual Studio.
3- Open the Caching Project.
4- Open the GlobalAssemblyInfo.cs shortcut in the Caching project.
5- Add the following line [assembly: AssemblyKeyFile("c:\\mykey.snk")]
6- Make sure that you don't have any "AssemblyKeyFile" attributes in the assemblyinfo.cs of each project, other wise you will get a compilation errors.
7- copy \Program Files\Common Files\System\Ole DB\oledb32.dll to c:\
8- generate the signed interop assembly using the following command: tlbimp /keyfile:c:\mykey.snk c:\oledb32.dll
9- the above command will generate "MSDASC.dll" which is the primary interop assembly for the oledb32 com
10- open the Configuration.Design Project
11- delete "MSDASC" from the references
12- add new reference to the generated signed MSDASC.dll
13- Complie the project and add all the dlls to the GAC
Tuesday, March 27, 2007
Sunday, June 18, 2006
New Article on CodeProject descriping how to build a client server application using WCF
visit http://www.codeproject.com/useritems/WCFCS.asp
visit http://www.codeproject.com/useritems/WCFCS.asp
Friday, June 16, 2006
Vista TouchDown training in Egypt was wonderful, I really enjoyed delivering the training, I delivered the course to about 25 persons, they are very professionals in the field.
The last day of the training was the most interesting day of the three days, I had some photos with them:
here is a picture with the most funniest one of them (Al-Amir)

the next one is with Ehab the graphics designer who will be soon the master of Avalon in Egypt ;)

the next one with Sherif El-Tony (Microsoft Egypt), I like his professional way in the work, I want to thank him for his great support.

next are my friends Hany , Ahmed and Mohamed, (from left to right) thanks for attending the course, you supported more then you can imagine

The next one is with Adel (from Saudia Arabia), Adel's wedding is next week, wishing him a happy life.

this next picture for all of us
The last day of the training was the most interesting day of the three days, I had some photos with them:
here is a picture with the most funniest one of them (Al-Amir)

the next one is with Ehab the graphics designer who will be soon the master of Avalon in Egypt ;)

the next one with Sherif El-Tony (Microsoft Egypt), I like his professional way in the work, I want to thank him for his great support.

next are my friends Hany , Ahmed and Mohamed, (from left to right) thanks for attending the course, you supported more then you can imagine

The next one is with Adel (from Saudia Arabia), Adel's wedding is next week, wishing him a happy life.

this next picture for all of us
Sunday, April 30, 2006
Windows Vista dose not enable the Aero Glass by default to some VGA Cards
to enable the Aero Glass in windows Vista December CTP Build 5270 you have to add the following registry values:
[HKEY_CURRENT_USER\Software\Microsoft\DWM]
"UseMachineCheck"=dword:00000000"
Glass"=dword:00000001"
Blur"=dword:00000001"
UseAlternateButtons"=dword:00000000"
Animations"=dword:00000001"
AnimationsShiftKey"=dword:00000001
to enable the Aero Glass in windows Vista December CTP Build 5270 you have to add the following registry values:
[HKEY_CURRENT_USER\Software\Microsoft\DWM]
"UseMachineCheck"=dword:00000000"
Glass"=dword:00000001"
Blur"=dword:00000001"
UseAlternateButtons"=dword:00000000"
Animations"=dword:00000001"
AnimationsShiftKey"=dword:00000001
Subscribe to:
Posts (Atom)
