NuGet and OpenWrap demo packages

To work around our dependency on package maintainers publishing sources we prepared a small demo package (available from both NuGet and OpenWrap repositories) to show you how SymbolSource provides symbols and sources for libraries downloaded with your favourite package manager.

Follow these simple steps to test SymbolSource:

  1. Configure Visual Studio.
  2. Create a new Console Application.
  3. Reference SymbolSource.DemoLibrary with NuGet or symbolsource-demolibrary with OpenWrap.
  4. Use something from the library:

    using System;
    using SymbolSource.DemoLibrary.Calculator;
    
    
    namespace ConsoleApplication
    {
        class Program
        {
            static void Main(string[] args)
            {
                var c = new SimpleCalculator();
                Console.WriteLine(c.Add(1, 2));
            }
        }
    }
    
  5. Set a breakpoint and step into c.Add().

Now wouldn't it be so cool if everyone published sources to SymbolSource?

Posted by Marcin Mikołajczak (TripleEmcoder) on Monday, February 07, 2011

blog comments powered by Disqus