Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic object
Message
From
22/04/2013 09:42:30
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Dynamic object
Miscellaneous
Thread ID:
01571587
Message ID:
01571587
Views:
50
Hi

I'm looking at Rick Strahls example in

http://www.west-wind.com/weblog/posts/2010/Sep/13/The-dynamic-Type-in-C-Simplifies-COM-Member-Access-from-Visual-FoxPro

passing an object to a c# dll as

public string PassRecordObjectDynamic(dynamic FoxObject)

but I'm getting an error


Error 3 One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll?


My target framework is NET 4.0 and I'm using

using Microsoft.CSharp;
using pptest.com.pperfect.adpdemo;
using System;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

any ideas what I'm doing wrong or missing.

Thanks

Nick
Next
Reply
Map
View

Click here to load this message in the networking platform