Hi,
We recently had the same issue and the fact was that our Dynamics was upgraded to 9.0 version, so we had to download the last version 9.0.0.7 of PluginRegistrationTool
You can get it by downloading it through NuGet in Visual Studio instance. Just typing PluginRegistrationTool and search for the 9.0.0.7 version. Or through power shell.
Here you have the instructions:
Method #1: Using Visual Studio (Package Manager Console):
1. Create a new Console application in Visual Studio
2. Open Tools --> Nuget Package Manager Console
3. Copy and paste the command below from this article into the Package Manager Console:
Install-Package Microsoft.CrmSdk.XrmTooling.PackageDeployment -Version 9.0.0.7
4. Check the location where the package was installed:
· You will be able to find Plugin Registration tool in the Package location of the solution folder.
Method #2: Using Windows Powershell:
- In your Windows Start menu, type Windows Powershell and open it.
- Navigate to the folder you want to install the tools to. For example if you want to install them in a devtools folder on your D drive, type cd D:\devtools.
- Copy and paste the following PowerShell script into the PowerShell window and press Enter
$targetNugetExe = ".\nuget.exe"
Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore
Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe
Set-Alias nuget $targetNugetExe -Scope Global -Verbose
##
##Download Plugin Registration Tool
##
./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools
md .\Tools\PluginRegistration
$prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'}
move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration
Remove-Item .\Tools\$prtFolder -Force -Recurse
- Navigate to the download location and you should be able to find the tool.
Hope this will be helpfull.
Regards,
Mariem
Method #1: Using Visual Studio (Package Manager Console):
- Create a new Console application in Visual Studio
- Open Nuget Package Manager Console:
- Copy and paste the command below from this article into the Package Manager Console:
Install-Package Microsoft.CrmSdk.XrmTooling.PackageDeployment -Version 9.0.0.7
- Check the location where the package was installed:
· You will be able to find Plugin Registration tool in this location:
Method #2: Using Windows Powershell:
- In your Windows Start menu, type Windows Powershell and open it.
- Navigate to the folder you want to install the tools to. For example if you want to install them in a devtools folder on your D drive, type cd D:\devtools.
- Copy and paste the following PowerShell script into the PowerShell window and press Enter
$targetNugetExe = ".\nuget.exe"
Remove-Item .\Tools -Force -Recurse -ErrorAction Ignore
Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe
Set-Alias nuget $targetNugetExe -Scope Global -Verbose
##
##Download Plugin Registration Tool
##
./nuget install Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool -O .\Tools
md .\Tools\PluginRegistration
$prtFolder = Get-ChildItem ./Tools | Where-Object {$_.Name -match 'Microsoft.CrmSdk.XrmTooling.PluginRegistrationTool.'}
move .\Tools\$prtFolder\tools\*.* .\Tools\PluginRegistration
Remove-Item .\Tools\$prtFolder -Force -Recurse
- Navigate to the download location and you should be able to find the tool.