cancel
Showing results for 
Search instead for 
Did you mean: 

Help:

Jia_QingTee
Level 2
I have an error: 
Compilation failed:
Action "GenerateRequestContent Create Folder" (line 1): Reference required to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the implemented interface 'System.Dynamic.IDynamicMetaObjectProvider'. Add one to your project.
Action "GenerateRequestContent Create Folder" (line 3): Reference required to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the implemented interface 'System.Dynamic.IDynamicMetaObjectProvider'. Add one to your project.
Action "GenerateRequestContent Create Folder" (line 10): Reference required to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the implemented interface 'System.Dynamic.IDynamicMetaObjectProvider'. Add one to your project.

From a code in Web API:
Dim json As JObject = New JObject()
'Compulsory Attributes
Dim parent As JObject = New JObject()
parent.Add("id", parent_folder_id)
json.Add("name", folder_name)
json.Add("parent", parent)

'Optional Attributes
If emailAccess = "open" Or emailAccess = "collaborators" Then
Dim folder_upload_email As JObject = New JObject()
folder_upload_email.Add("access", emailAccess)
json.Add("folder_upload_email", folder_upload_email)
End If
If sync_state = "synced" Or sync_state = "not_synced" Or sync_state = "partially_synced" Then
json.Add("sync_state", sync_state)
End If
7142.png

7144.png
7145.png


------------------------------
Jia Qing Tee
------------------------------
2 REPLIES 2

david.l.morris
Level 15
Have you tried added references to System.Core?

------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------

Dave Morris, 3Ci at Southern Company

MadhurChopra
Staff
Staff
Hey Jia,

Have you tried Dave's suggestion to add a namespace import for System.Core yet and were you successful in compiling the code? Looking at your screenshots, it does seem missing and the error clearly states that the for "System.Dynamic.IDynamicMetaObjectProvider" exists in there. 

Please let us know if you were able to resolve the issue.


------------------------------
Madhur Chopra
Sr. Product Consultant
Blue Prism - Professional Services
America/Los_Angeles
------------------------------