title: Using C# library in an F# project?
body: <p>I'm fresh to F#, but I really want to learn it. I know Python, I know C#. As a matter of fact, I've got a C# library that I've made myself; it's an wrapper for the Rdio API (I've named it RdioSharp) that I can successfully bring into another C# project and call it, use it, get data... it works.</p>
  
  <p>I want to get started toying around with this C# library in an F# project, but it's not working right. Here's a brief snipped of what the C# code looks like.</p>
  
  <pre><code>namespace RdioSharp {
      public class RdioManager {
          public RdioManager() { }
      }
  }
  </code></pre>
  
  <p>I've added the reference to the DLL in my <code>FSharpTest</code> project, I've pulled up a <code>.fsx</code> file, and I've tried the following, each line below (again, keep in mind, I really have no idea what I'm doing).</p>
  
  <pre><code>open RdioSharp
  open RdioSharp.dll
  #r "RdioSharp.dll"
  #r "C:\Path\To\Library\RdioSharp.dll"
  </code></pre>
  
  <p>I can't figure this one out. I know how to use system F# libraries, but how do I reference a C# library in F#? Is it possible? Is this enough information to go on?</p>
  
  <p>I've seen <a href="https://stackoverflow.com/questions/3752841/f-net-null-instance-oddity">this</a> and <a href="https://stackoverflow.com/questions/3102472/f-c-fsx-script-files-and-project-references">this</a> (which gets even closer to my problem) but those folks all know more about F# than I do, and they're way ahead of my problem.</p>
  
  <p>In the interactive window, when punching in <code>#r "RdioSharp.dll";;</code> , I get this lovely error.</p>
  
  <pre><code>error FS0084: Assembly reference 'RdioSharp.dll' was not found or is invalid
  </code></pre>