Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic object
Message
De
22/04/2013 09:42:30
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Dynamic object
Divers
Thread ID:
01571587
Message ID:
01571587
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform