Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Using OJB.NET in an application

Using OJB.NET in an application

Scheduled Pinned Locked Moved Database
helpcsharpasp-nettutorialquestion
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ingramj
    wrote on last edited by
    #1

    Hello, My name is Jon Ingram and I am 16 years old. I am not sure whether this message should be posted in this forum but i'll put it here anyway. You might know the OJB tutorial at http://ojb-net.sourceforge.net/[^]. I thought that to fully understand Ojb.Net I would try and create a similar application. My problem is with referencing: after I have added a reference to ojb.Net.Framework, ojb.Net.Common, ojb.Net.Core and ojb.Net.Facade I get three Build Errors: 1.Error: The dependency 'nunit.framework, Version=2.0.6.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' in project 'Car.Ojb.Net' cannot be copied to the run directory because it would conflict with dependency 'nunit.framework, Version=2.1.4.0, Culture=neutral'. 2.Error: The dependency 'nunit.framework, Version=2.1.4.0, Culture=neutral' in project 'Car.Ojb.Net' cannot be copied to the run directory because it would conflict with dependency 'nunit.framework, Version=2.0.6.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77'. 3.D:\Documents and Settings\Administrator\Desktop\Programming\Car.Ojb.Net\Car.cs(12): The type or namespace name 'Facade' does not exist in the class or namespace 'Car.Ojb.Net' (are you missing an assembly reference?) With errors 1 and 2 I added three references: nunit.framework.dll, nunit.uikit.dll and nunit.util.dll but then I get another build error: Warning: The dependency 'nunit.framework, Version=2.0.6.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' in project 'Car.Ojb.Net' cannot be copied to the run directory because it would overwrite the reference 'nunit.framework, Version=2.1.4.0, Culture=neutral'. The third error is very stange because I have already made a reference to Ojb.Net as shown below: using System; using System.Collections; using Ojb.Net.Facade.Persist; using Ojb.Net.Facade.Po; namespace Car.Ojb.Net { /// /// Summary description for Car.Ojb.Net. /// [Serializable] class Car : **Ojb.Net.Facade.**Po.EditableObject { .......... Can someone who knows something about Ojb.Net help me? Kind thanks to anyone who helps me! Jon Ingram

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups