How to install components without nuget packages?

Eliasen, Jan 46 Reputation points
2021-01-13T22:47:30.357+00:00

Hi all

I have developed a class library that I am going to use from within BizTalk Server.

This class library is developed using Visual Studio 2015 and I have installed the nuget packages Microsoft.SharePointOnline.CSOM (16.1.20720.12000) and SharePointPnPCoreOnline (3.28.2012).
I am using these packages to communicate with SharePoint online using the Client Object model and authenticating against SharePoint Online using clientID and clientSecret.

Now, my question is: At some point I have to move this class library DLL to the production server. So on that server I need to install the two libraries as well. But how do I do that? I can't find any msi to install.

I would hate to have to move all these DLL's from the DEV server and GAC'ing them manually. Isn't there some way to get the components installed on a server, so they are automatically GAC'ed and ready to be used from my class library?

I found this: https://www.microsoft.com/en-us/download/details.aspx?id=42038 but it appears to be the wrong version.

Any pointers out there? Thanks.

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
358 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,150 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points
    2021-01-14T02:20:55.57+00:00

    Hi @Eliasen, Jan ,

    According to the documentation: https://video2.skills-academy.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac, you could install an assembly into global assembly cache(GAC) with the following methods:

    • Windows Installer
    • Global Assembly Cache tool

    For Windows installer, you could use the WiX Toolset Build Tools to create an installer package for Windows Installer.

    For Global Assembly Cache tool, the syntax for using gacutil.exe to install an assembly in the GAC is as follows: gacutil -i <assembly name>


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. MichaelHan-MSFT 18,021 Reputation points
    2021-01-15T08:58:46.163+00:00

    Hi @Eliasen, Jan ,

    There is only the MSI installer for SharePoint Online CSOM version 16.0.6906.1200 : https://www.microsoft.com/en-us/download/details.aspx?id=42038

    For later versions of SharePoint Online CSOM, there is no separate MSI installer anymore. You can see that in their blog: https://developer.microsoft.com/en-us/office/blogs/new-sharepoint-csom-version-released-for-sharepoint-online-august-2020/

    We do recommend you to use the NuGet Package to gain access to the latest version, rather than downloading the SDK to your machine as we do not update the separate MSI installer for SharePoint Online CSOM anymore.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. sadomovalex 3,631 Reputation points
    2021-01-19T14:52:02.107+00:00

    what for you need to install them to GAC on prod? In general it should be possible to copy whole bin/Release folder of your solution on prod and run it from there.