Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot delete web resources without dependency #119

Open
lasyan3 opened this issue Jun 24, 2022 · 0 comments
Open

Cannot delete web resources without dependency #119

lasyan3 opened this issue Jun 24, 2022 · 0 comments

Comments

@lasyan3
Copy link

lasyan3 commented Jun 24, 2022

Hi, when I try to delete web resources without dependency I get an exception :

System.InvalidCastException: Impossible d'effectuer un cast d'un objet de type 'MscrmTools.WebresourcesManager.AppCode.Webresource' en type 'Microsoft.Xrm.Sdk.Entity'.
à MscrmTools.WebresourcesManager.Forms.UnusedWebResourcesListDialog.<>c.b__3_0(ListViewItem item)
à System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() à System.Collections.Generic.List1..ctor(IEnumerable1 collection) à System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
à MscrmTools.WebresourcesManager.Forms.UnusedWebResourcesListDialog.BtnDeleteClick(Object sender, EventArgs e)
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

2022-06-24 14_50_24-XrmToolBox for Microsoft Dataverse and Microsoft Dynamics 365 (v1 2022 5 56)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant