0

I need to install ajaxtoolkit.dll and some other dlls on to a production Win 2008 servers. Dragging it won't work, I can't install SDK, and I don't speak PowerShell.

I guess the big picture is this: This is new SharePoint 2010 server and I porting over a heavily branded portal app with several custom webparts.

In Moss 2007 days, I would just drag my dlls, and run *.wps files to install webparts.

Thanks for your input.

Risho

Edited: I've installed 64 bit SDK on a deve server and then copied the gacutil and its config file in the c:\windows\Microsoft.NET\Framework\v2.0.50727 folder. Ran the command /i AjaxControlToolkit.dll and got this error:

Failure adding assembly to the cache: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

Seems like this is a common issue.

Isn't there a way to create an install project that you would run form a msi, or exe file that would drop all my dlls and webparts automagically? I mean how to the pros do it?

Risho
  • 2,561
  • 5
  • 31
  • 56

1 Answers1

0

You seem to have two questions.

The second is the more specific question regarding AjaxControlToolkit.dll. For that, take a look at ERROR Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies.

As to your original question, as long as you only need to deploy the DLL (in other words, you don't need to run an install program, modify the web.config, etc), the way to go is to place your DLL into your WSP solution package. This is easier than ever with Visual Studio 2010. For more information, see How to: Add and Remove Additional Assemblies and Including additional assemblies in the WSP with Visual Studio SharePoint development tools.

Community
  • 1
  • 1
Rich Bennema
  • 10,295
  • 4
  • 37
  • 58
  • I'm failing to see any relevance in the first link you're suggesting. As far as to my original question, I'm modifying the default.master by adding <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> and and I need to drop the tolkit in the GAC. – Risho Mar 07 '12 at 17:19