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

Pictures are not added to AMLX file #4

Open
mrentsch65 opened this issue May 30, 2019 · 1 comment
Open

Pictures are not added to AMLX file #4

mrentsch65 opened this issue May 30, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@mrentsch65
Copy link

ComponentPicture, ComponentIcon and ManufacturerIcon are referenced via ExternalDataConnector, but not added to the AMLX package.

@DorianSnowball
Copy link
Member

When trying to add a picture the following error occurs:

System.ArgumentException: Part URI cannot contain a Fragment component.
   at System.IO.Packaging.PackUriHelper.CreatePartUri(Uri partUri)
   at Aml.Editor.Plugin.MWData.CreateDevice(MWDevice device, Boolean isEdit)
   at Aml.Editor.Plugin.MWController.CreateDeviceOnClick(MWDevice newDevice, Boolean isEdit)
   at Aml.Editor.Plugin.CreateDevice.createDeviceBtn_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

@DorianSnowball DorianSnowball added the bug Something isn't working label Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants