Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

Benjamin :)'s profile on WallpaperFusion.com
This looks for me like an issue, can anyone confirm?

Code

using Newtonsoft.Json.Linq;


I have added to the references "| Newtonsoft.Json.dll" and I have verified if the file exist in the directory of CFusion.

But still reveiving this error msg:

Code

Line 0: Metadata file 'Newtonsoft.Json.dll' could not be found


Thank you.

Regards,
Ben

I have not verified if the issue exist already in 5.6.
Dec 6, 2019 (modified Dec 8, 2019)  • #1
Benjamin :)'s profile on WallpaperFusion.com
Update:

I did some further investigation.

First I tried to add the dll to: "c:\Windows\System32\" But it provided me with this error code.

Code

Compile Failed.
Absolute path information is required.
[System.ArgumentException]


But I was able to solve it with this reference:
"C:\Program Files (x86)\ClipboardFusion\Newtonsoft.Json.dll"
Dec 6, 2019  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Glad to hear you were able to get it sorted out!
Dec 6, 2019  • #3
Benjamin :)'s profile on WallpaperFusion.com
But don't you think it is an issue?
For me it is still unclear why it requires the full path.
Dec 8, 2019  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
When we run macros, they get compiled as a .NET assembly, but the assembly isn't actually a file on the file system anywhere. It's not running under the CF process or anything really related to it, so any external references need to be fully qualified.

Please let us know if you have any further questions at all.

Thanks!
Dec 10, 2019  • #5
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)