erstellt von
Rene Gayer
am
27. May 2010 19:42
B1.1.2 Sign the assembly
Before going on with deploying the assembly to the GAC we have to be sure that it is using a strong name. So the next step is sign the assembly.
- 1. Go to menu Project – [Project] properties

- 2. Move forward to the Signing tab, and enable the sign the assembly option

- 3. Choose a strong name key file by selecting <<new>>
- 4. Enter a name and disable the protecting feature

- 5. Click Save to save your changes

B1.1.3 Build the assembly
Moving on checking the path where the assembly will be stored after deployment
- 6. Select the Build tab and check the output path setting

- 7. Save the solution once again
Now it is time for building the solution.
- 8. Move on to menu Build and select Build Solution (F6)

After successfully building the assembly it is stored in your output directory

B1.1.4 Deploy the assembly
Now it’s time to start using the assembly. This requires the availability of the assembly on the local machine. We will use the GAC Management Tools to register the assembly in the global assembly cache.
- 1. Go to Start – Control Panel – Administration
- 2. Open Microsoft .NET Framework 2.0 Configuration
![clip_image002[4] clip_image002[4]](http://www.dynamics-community.at/image.axd?picture=clip_image002%5B4%5D_thumb.jpg)
![clip_image004[4] clip_image004[4]](http://www.dynamics-community.at/image.axd?picture=clip_image004%5B4%5D_thumb.jpg)
- 3. Open Manage the Assembly Cache
- 4. Open Add an Assembly to the Assembly Cache
![clip_image006[4] clip_image006[4]](http://www.dynamics-community.at/image.axd?picture=clip_image006%5B4%5D_thumb.jpg)
- 5. Browse to you output directory and select the appropriate assembly
![clip_image008[4] clip_image008[4]](http://www.dynamics-community.at/image.axd?picture=clip_image008%5B4%5D_thumb.jpg)
- 6. Close the .NET Framework 2.0 Configuration window
to be continued ….