We couldn't finish this requirement, because of time lack. As you can see in Figure 1 the ComponentIcon has a valid URI, and it can be opened without any problems, but when we try to check the file with the AMLX Checker the ComponentIcon-Test fails (Figure 2).
We have tried many different solutions:
Changing the String to URI method
The other URI's work perfectly fine, so it can't be the method making any problems!
Changing the method to attach a ComponentIcon to the AMLX File
As you can see in Figure 2 the ComponentPicture has passed the Test, and it is attached with the same method as the ComponentIcon
Checking if there is a corruption going on while exporting the File
This could be a possible answer to the problem. It is not causing any errors while attaching the file to the exported File.
There must be another problem causing this test to fail.
We couldn't finish this requirement, because of time lack. As you can see in Figure 1 the ComponentIcon has a valid URI, and it can be opened without any problems, but when we try to check the file with the AMLX Checker the ComponentIcon-Test fails (Figure 2).
We have tried many different solutions:
Figure 1
Figure 2