Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

SolutionPackager wont extract "Unpack" Plugins.

Posted on by 90

I have a plugin defined for my solution, and i'm trying to "Unpackage" it using the SolutionPackager. I don't have any issues unpacking any other objects, just Plugins.


here is my Error Any help would be greatly appreciated.

P.S. I updated the SolutionPackage with Nuget today and that still did not solve the issue.

Processing Component: Entities
- csc_ScheduledActivity
- csc_ScheduledVolunteer
Processing Component: Roles
Processing Component: Workflows
- Toggle religion
Processing Component: FieldSecurityProfiles
Processing Component: Templates
Processing Component: EntityMaps
Processing Component: EntityRelationships
Processing Component: optionsets
Processing Component: CustomControls
Processing Component: SolutionPluginAssemblies
- EngagementPortal.CRM.Plugins.RecurringScheduledActivities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=be9046ecb60f4ca0
Could not find a part of the path 'M:\CSC Projects\Engagment Portal\CRM Solution Dumps\CRM Packages\EP Plugins\EngagementPortalPlugins_1_0_0_0\PluginAssemblies\EngagementPortalCRMPlugin
sRecurringScheduledActivi-489E659B-FF61-4FE9-AF3B-904E21B9C2FC\EngagementPortalCRMPluginsRecurringScheduledActivi.dll.data.xml'.
SolutionPackager: Exception thrown: System.IO.DirectoryNotFoundException: Could not find a part of the path 'M:\CSC Projects\Engagment Portal\CRM Solution Dumps\CRM Packages\EP Plugins\
EngagementPortalPlugins_1_0_0_0\PluginAssemblies\EngagementPortalCRMPluginsRecurringScheduledActivi-489E659B-FF61-4FE9-AF3B-904E21B9C2FC\EngagementPortalCRMPluginsRecurringScheduledActi
vi.dll.data.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUT
ES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLo
ngPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Microsoft.Crm.Tools.SolutionPackager.Helper.WriteToFile(String filename, String content, Encoding encoding)
at Microsoft.Crm.Tools.SolutionPackager.Helper.WriteToFile(String filename, XElement element)
at Microsoft.Crm.Tools.SolutionPackager.PluginAssemblyProcessor.WriteComponentFile(FileBackedComponent fileBackedComponent)
at Microsoft.Crm.Tools.SolutionPackager.ComponentProcessorBase.WriteToFiles(ComponentCollection components)
at Microsoft.Crm.Tools.SolutionPackager.DiskWriter.WriteComponents()
at Microsoft.Crm.Tools.SolutionPackager.SolutionPackager.Run(IPackageReader reader, IPackageWriter writer)
at Microsoft.Crm.Tools.SolutionPackager.SolutionPackager.Run()
at Microsoft.Crm.Tools.SolutionPackager.Program.Main(String[] args), returning error code '1'

*This post is locked for comments

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans