web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to deploy crm package using visual studio

(0) ShareShare
ReportReport
Posted on by 239

I have created a CRMPackage using dynamics 365 toolkit in VS2015.

Have added a plugin project and added couple of plugins, I know how to register plugins using plugin registration tool but I want to understand how to package everything together in VS like plugins/web resources and deploy as solutions.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    crm development Profile Picture
    870 on at
  • PragmaticDevs Profile Picture
    239 on at

    it says the author will talk about plugins in article 3 but there's no article 3.

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    You do not have to use the plugin registration tool register the plugin

    Once you created your plugin/workflow/webresource, click on Deploy button as shown below

    ScreenClip-_5B00_474_5D00_.png

    ScreenClip-_5B00_474_5D00_.png

    Clicking on Deploy will deploy the selected component to CRM. If the deployment fails it will display the error message in the output window

  • Suggested answer
    crm development Profile Picture
    870 on at
  • PragmaticDevs Profile Picture
    239 on at

    Thanks Kokulan, how can I include my other projects in the crm package. Actually I dont want to deploy from VS but use this CRM package to deploy using Azure devops.

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    if you want to deploy using Azure DevOps, i would recommend you use the following tool, it has all the tasks for Build and Release pipeline

    marketplace.visualstudio.com/items

    Its got the following tasks

    Task Description

    MSCRM Apply Solution Upgrade Applies a solution upgrade after solution is import using stage for upgrade option

    MSCRM Backup Online Instance Creates a backup of a Dynamics 365 Customer Engagement Online Instance

    MSCRM Clone Solution Clones a CRM unmanaged Solution

    MSCRM Copy Solution Components Add components from a given solution to another solution if not present

    MSCRM Create Patch Creates an unmanaged CRM Solution Patch

    MSCRM Create Solution Creates an unmanaged CRM Solution

    MSCRM Delete Instance Deletes an Online Instance

    MSCRM Export Solution Exports a CRM Solution from the source CRM environment

    MSCRM Export Solutions Using Config (preview) Exports Dynamics 365 Solutions using a json configuration

    MSCRM Extract Solution Extracts CRM Solution xml files from CRM Solution zip using SolutionPackager.exe

    MSCRM Get Online Instance By Name Gets an Online instance ID based on the name of the instance.

    MSCRM Get Solution Missing Components (preview) Retrieves missing components for a solution from a target instance

    MSCRM Get Solution Missing Dependencies (preview) Retrieves missing dependencies for a solution in a instance

    MSCRM Import Solution Import a Dynamics CRM Solution package

    MSCRM Import Solutions Using Config (preview) Imports Dynamics 365 Solutions using a json configuration

    MSCRM Package Deployer Deploys a CRM Package using the CRM Package Deployer PowerShell Cmdlets

    MSCRM Pack Solution Packages a CRM Solution using SolutionPackager.exe

    MSCRM Pack Solutions Using Config (preview) Packs Dynamics 365 Solutions using a json configuration

    MSCRM Ping A sample task that checks connectivity to a Dynamics 365 environment

    MSCRM Plugin Registration (preview) Upsert Dynamics 365 plugin/workflow activity assembly/types/steps

    MSCRM Provision Online Instance Creates a new Dynamics 365 Customer Engagement Online Instance

    MSCRM Publish Customizations Publishes all CRM customizations

    MSCRM Remove Solution (preview) Removes the given CRM Solution

    MSCRM Restore Instance Restores an online instance from a previous backup

    MSCRM Service Endpoint Registration (preview) Upsert Dynamics 365 Service Endpoints and steps

    MSCRM Set Online Instance Admin Mode Enable/Disable administration mode on Online Instances

    MSCRM Set Version Updates the version of a CRM Solution

    MSCRM Split Plugin Assembly (preview) Splits the plugin assembly into multiple plugin assemblies

    MSCRM Tool Installer Installs the Dynamics 365 tools required by all of the tasks

    MSCRM Update Configuration Records (preview) Upserts a configuration entity records using lookup/value pairs

    MSCRM Update Plugin Assembly (deprecated) Updates Dynamics 365 plugin assembly from file

    MSCRM Update Secure Configuration A task that updates Dynamics 365 plugin secure configuration

    MSCRM Update Solution Description (preview) Updates the description of a given CRM Solution

    MSCRM Update Web Resources (preview) Updates Dynamics 365 Web Resources from source control

    You could also have a look at the spkl

    Dynamics 365 Continuous Integration using VSTS with spkl Task Runner

    www.youtube.com/watch

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans