home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / QuickStart / howto / doc / gac.aspx < prev    next >
Encoding:
Text File  |  2000-06-09  |  1.6 KB  |  40 lines

  1.  
  2. <!-- #include virtual="/quickstart/howto/include/header.inc" -->
  3.  
  4. <%
  5.     runsample = Server.MapPath("/quickstart/howto/samples/assemblies/gac")
  6.     icon = "/quickstart/images/genicon.gif"
  7.     caption = "Build.bat"
  8. %>
  9.  
  10. <h4>How Do I...install an assembly into the global assembly cache?</h4>
  11.  
  12. <div class="indent" style="WIDTH: 660px">
  13. This sample demonstrates how to install an assembly into the global cache
  14. </div>
  15.  
  16. <h4>Example</h4>
  17.  
  18. <p>
  19. <div class="indent">
  20. <a target="_blank" href="<%=runsample%>">
  21. <img style="border-color:black" border=1 src="<%=icon%>"><br>
  22. </a>
  23. <div class="caption"><%=caption%></div><br>
  24. </div>
  25.  
  26. <h4>Shared Names</h4>
  27. <div class="indent" style="WIDTH: 660px">
  28. <P>           
  29.   The global assembly cache is a machine wide store used to 
  30. hold assemblies that are meant to be shared by several applications on 
  31. the machine.  When the NGWS runtime releases its final version, assemblies will be installed in the cache using 
  32. a new version of the Windows Installer.  For Beta1 we ship a utility in the SDK 
  33. called LM that can be used for this purpose.  We also ship a 
  34. Windows shell extension that allows you to look at the contents of the 
  35. assembly cache.  To see what's in your cache, just navigate to <%windir%>\assembly.  </P>
  36. <P>All assemblies in the cache must have a shared name.  The batch file 
  37. included with this sample generates a key pair, builds an assembly with a shared 
  38. name and installs it into the assembly cache.</P>
  39.  
  40. </div><!-- #include virtual="/quickstart/howto/include/footer.inc" -->