Well, based solely on what I've read, I'd guess that you haven't added the System.Data.dll reference to your CompilerParameters object. This is of course assuming you are using CodeDOM.
Edit: By the way, you don't need the System.Data reference in the example you gave. _________________
Never confuse activity with productivity. You can be busy without a purpose, but what's the point?- Rick Warren
NINTENDO Grandmaster Cheater Supreme Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
Posted: Sun Mar 07, 2010 3:45 am Post subject:
iPromise wrote:
the Data namespace can't be found in System. so add the reference, btw did you code that compiler?
No I'm using the prebuilt compiler made by microsoft.
Odecey wrote:
Well, based solely on what I've read, I'd guess that you haven't added the System.Data.dll reference to your CompilerParameters object. This is of course assuming you are using CodeDOM.
Edit: By the way, you don't need the System.Data reference in the example you gave.
Thanks man, rep to you
Code:
CompilerParameters parameters = new CompilerParameters();
parameters.ReferencedAssemblies.Add("System.Data.dll");
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum