NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 29 30 31 32 33 … 93 Next »
System.Data.DataSetExtensions

 
  • 0 Vote(s) - 0 Average
System.Data.DataSetExtensions
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,909
Threads: 956
Joined: May 2006
#1
2008-09-21, 04:55 AM
Sorry C# noob question

I've been talking with Ubu and playing around with his source in the hope I might be able to support it a little. Currently I am trying to compile UbuStream for .NET 2.0 using VS 2008 but because of the reference to System.Data.DataSetExtensions I am being told that 3.5 is necessary and MSDN seems to agree http://msdn.microsoft.com/en-us/library/bb358258.aspx

Any thoughts?

At least UbuRadio is fine so I can have UbuRadio and Web Radio plugins together.

Martin
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2008-09-21, 05:01 AM
Take a look at this post.

You just need to point it to the new DLL. I think if you make sure under references, it is set to Specific Version = False, users of your program will work with the 2.0 version as well as the 3.5 version.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,909
Threads: 956
Joined: May 2006
#3
2008-09-21, 05:25 AM
I do have it set false but when I tell it to target 2.0 I get this:

Code:
Error    1    The type or namespace name 'TypedTableBase' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) ...

I assume most people don't have 3.5

Martin
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#4
2008-09-21, 05:49 AM
After a bit more research, it may not be as simple as referencing the 3.5 version of that DLL. Apparently, it references some of the 3.5 core functions and may not work correctly under a project targeted for 2.0.

That said, you could try to force it by manually adding the DLL to the list (Add Reference, then browse to C:\Program Files\Reference Assemblies\Microsoft\Framework and add System.Data.DataSetExtensions.dll. But again, not sure if this will work or not.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,909
Threads: 956
Joined: May 2006
#5
2008-09-21, 06:02 AM
I guess it turns out to be a conversion issue and it has to be manually fixed to revert since the import changes code as follows

Code:
public partial class ChannelsDataTable : System.Data.DataTable, System.Collections.IEnumerable {

public partial class ChannelsDataTable : global::System.Data.TypedTableBase<ChannelsRow> {

Thanks for the help, this might have to be a 3.5 project.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,429 2018-10-23, 07:24 AM
Last Post: almightyj
  Getting more than 24 hours of Guide Data scJohn 4 3,593 2018-05-16, 04:20 AM
Last Post: sub
  Can't debug with app using Nutility (System.TypeInitializationException) danorum 3 2,912 2015-08-17, 10:53 PM
Last Post: danorum
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,907 2014-11-14, 02:05 AM
Last Post: Benoire
  Merge xmltv data with xslt Graham 4 3,451 2014-01-02, 12:45 PM
Last Post: Graham
  Trouble loading .NET System assemblies bgowland 3 2,370 2013-10-31, 02:37 AM
Last Post: bgowland
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,100 2013-03-24, 08:03 PM
Last Post: imilne
  Get NextPVR data directory from outside a plugin McBainUK 3 2,246 2012-02-11, 05:42 PM
Last Post: mvallevand
  Extracting data from XML files ACTCMS 4 2,333 2012-01-24, 12:16 AM
Last Post: sub
  C# code to get data directory? McBainUK 2 2,783 2011-09-19, 07:57 PM
Last Post: McBainUK

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode