Help:
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-03-20 08:34 AM
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

------------------------------
Jia Qing Tee
------------------------------
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
------------------------------
Jia Qing Tee
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-03-20 02:19 PM
Have you tried added references to System.Core?
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-03-20 01:43 AM
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
------------------------------
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
------------------------------
