Correct gacutil command syntax for azure running windows server 2012 - Windows Azure Blog / 6 years ago Very Important to add gacutil.exe.config file to the Project. I wasted a lot of time debugging to figure the issue. Select Windows Server 2012 DataCenter Evaluation (Server With GUI). 7- After you click Next from previous screen, Read the License terms, tick the 'I accept the license terms' and click Next 8- Now It will ask you for the drive (or partition) you want to install Windows on. Kingdoms of amalur reckoning. I know there is a lot of information in the net about the, so this post is going to cover the basics you need to work with the. I also know it has been a long time since the first post in the series that treats the, but you know what they say – better late than never:) For the impatient ones –. ![]() ![]() So, let’s start with the Global Assembly Cache fundamentals: What is the GAC GAC is the short version of 'Global Assembly Cache'. It is a common place in the OS where assemblies that are going to be shared between different applications can be stored. The.NET assemblies are there, for one. Where is the GAC Up until.NET 3.5 it was in C: Windows Assembly Since.NET 4.0 it is now in C: Windows Microsoft.Net Assembly GAC_MSIL and also the shell integration was removed, so you can no longer drag-and-drop an assembly in the folder and have it registered. More on that – later on. Forces PDFCreator to install even if a previous installation has been found. If you have a license key for PDFCreator Plus and you use a proxy then you can use this parameter to specify the name and the port of the proxy. Gacutil / l There are more options the tool offers, so MSDN holds the answers for the curious ones. There are other ways to add an assembly to the GAC (Windows offers a shell integration for.NET 3.5 so you can just drag-and-drop it; and the Windows Installer) but since the gacutil tool is available for standalone download without Visual Studio I am not going to cover them. What I want to say is that Microsoft do not recommend using gacutil in production environment. Here is where things get interesting and confusing for some. Each application still has to reference the assembly in order to use it, it does not matter whether from its own Bin folder, or from the GAC. The tricky part is “how”. Let’s start, however, with a more basic task – recognizing a GAC reference (assuming you already have some of the Telerik.Web.UI assemblies installed in the GAC, I’ve chosen one of the older versions for this example): How GAC References Look Here is an example with two of our RadControls assemblies for a WebSite type of project: An easy approach is to use the Property Pages dialog where you can manage the references: Here is another way to tell. Yes, this is in the web.config file of your website. Doesn’t look complicated, right? What you need to keep in mind is that such a reference requires the fully qualified assembly name in order to work. A WebApplication requires that you examine the Telerik.Web.UI reference Properties under the References node in the Project tree. You will see how it is not a local copy of the assembly and that the path points to the GAC: Now, repeat for the Telerik.Web.UI.Skins assembly. Adding a Reference to an Assembly from the GAC Let’s take the visual approach first: For a WebSite For a WebApplication 1. Open the Property Pages 1. Open the Add Reference dialog 2. Browse to the GAC to select assembly 3. Confirm the reference properties Now, for some explanations to go with the images: For a WebSite project just add the above reference in the web.config. I find it easier to write a couple of lines, but you can, alternatively, open the Property Pages dialog, click Add and browse to the GAC on your machine (we already learned where it is). In any case, you need to see the same final result that I showed above. Just account for your current version, of course, and always use the same version for all Telerik.Web.UI.* assemblies.
0 Comments
Leave a Reply. |