I guys, I’m trying to run this within the console, but getting an error.. Any help would be appreciated. Thank you
PM> Install-Package JourneyIntoCRM.XrmToolbox.ERDPlugin
Getting this error:
Install-Package : Unable to resolve dependency 'XrmToolBox'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline
Packages'.
At line:1 char:1
+ Install-Package JourneyIntoCRM.XrmToolbox.ERDPlugin
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
So I found this:
Nuget installation: Unable to resolve dependency 'XrmToolBox' #4
Open
Divjyot1 opened this issue on Feb 17, 2018 · 0 comments
Comments
@Divjyot1
Divjyot1 commented on Feb 17, 2018
Dependency www.nuget.org/.../ doesn't exist more.
I think this is the new dependency URL www.nuget.org/.../
So, I do this:
PM> Install-Package XrmToolBoxPackage -Version 1.2020.11.42
(great success from line above)
And then try again. But same error…
PM> Install-Package JourneyIntoCRM.XrmToolbox.ERDPlugin
Attempting to gather dependency information for package 'JourneyIntoCRM.XrmToolbox.ERDPlugin.1.4.6' with respect to project 'SMBA.Plugins', targeting '.NETFramework,Version=v4.7.2'
Gathering dependency information took 224 ms
Attempting to resolve dependencies for package 'JourneyIntoCRM.XrmToolbox.ERDPlugin.1.4.6' with DependencyBehavior 'Lowest'
Install-Package : Unable to resolve dependency 'XrmToolBox'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages'.
At line:1 char:2
+ Install-Package JourneyIntoCRM.XrmToolbox.ERDPlugin
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Time Elapsed: 00:00:01.6255061
Any help would be appreciated. Thank you
Here is my packages installed so far:
PM> Get-Package
Id Versions ProjectName
-- -------- -----------
Microsoft.CodeDom.Providers.DotN... {2.0.1} SMBA.Webresources
DockPanelSuite {3.0.6} SMBA.Plugins
DockPanelSuite.ThemeVS2015 {3.0.6} SMBA.Plugins
jacobslusser.ScintillaNET {3.6.3} SMBA.Plugins
Microsoft.CrmSdk.CoreAssemblies {9.0.2.23} SMBA.Plugins
Microsoft.CrmSdk.CoreTools {9.1.0.64} SMBA.Plugins
Microsoft.CrmSdk.Deployment {9.0.2.23} SMBA.Plugins
Microsoft.CrmSdk.Workflow {9.0.2.23} SMBA.Plugins
Microsoft.CrmSdk.XrmTooling.Conf... {9.1.0.34} SMBA.Plugins
Microsoft.CrmSdk.XrmTooling.Core... {9.1.0.51} SMBA.Plugins
Microsoft.CrmSdk.XrmTooling.Pack... {9.1.0.46} SMBA.Plugins
Microsoft.CrmSdk.XrmTooling.Plug... {9.1.0.20} SMBA.Plugins
Microsoft.CrmSdk.XrmTooling.WpfC... {9.1.0.51} SMBA.Plugins
Microsoft.IdentityModel.Clients.... {5.2.7} SMBA.Plugins
Microsoft.Rest.ClientRuntime {2.3.20} SMBA.Plugins
Microsoft.Web.Xdt {2.1.1} SMBA.Plugins
MscrmTools.Xrm.Connection {1.2020.10.35} SMBA.Plugins
Newtonsoft.Json {12.0.3} SMBA.Plugins
NuGet.Core {2.14.0} SMBA.Plugins
spkl {1.0.431} SMBA.Plugins
System.IO {4.3.0} SMBA.Plugins
System.Net.Http {4.3.4} SMBA.Plugins
System.Runtime {4.3.0} SMBA.Plugins
System.Security.Cryptography.Alg... {4.3.0} SMBA.Plugins
System.Security.Cryptography.Enc... {4.3.0} SMBA.Plugins
System.Security.Cryptography.Pri... {4.3.0} SMBA.Plugins
System.Security.Cryptography.X50... {4.3.0} SMBA.Plugins
XrmToolBoxPackage {1.2020.11.42} SMBA.Plugins
Hi Wahaj, thank you. It seems that Guido's post worked for me. I will run it within XrmToolBox. Thanks!
Thanks Guido. As a newbie, I was trying to run it within VS. After reading your post, I tried it in XrmToolBox windows app, and it worked. thank you
It's an XrmToolBox plugin, it's not meant to run inside a console, you need XrmToolBox and run from there.
Hi,
Please look into your project's .Net Framework version and the version required for XRM Toolbox.
Best,
Wahaj
André Arnaud de Cal...
291,969
Super User 2025 Season 1
Martin Dráb
230,842
Most Valuable Professional
nmaenpaa
101,156