Importing C# namespaces into a Visual Basic 2005 application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cugone
    New Member
    • Sep 2007
    • 20

    Importing C# namespaces into a Visual Basic 2005 application

    I'm looking for a way to import C# namespaces (stored in a *.cs file) into a visual basic 2005 application. I'm attempting to write an application that uses DirectX and all of the helper functions and code for it are written in C#.

    The normal Imports keyword does not support pathnames as valid assemblies (I may just be doing it wrong, however) to search and the MSDN Library (April 2007 ed.) does not cover how to either.
  • shrimant
    New Member
    • Sep 2007
    • 48

    #2
    Try
    Resharper
    http://www.jetbrains.c om/resharper/

    Comment

    • cugone
      New Member
      • Sep 2007
      • 20

      #3
      Uh...thanks, but I'd rather not spend $500 to get something I don't need.

      Again, I'm writing the program in VB 2005, not C#. The namespace I want to use is in C#.

      Comment

      • shrimant
        New Member
        • Sep 2007
        • 48

        #4
        Resharper has trial versions too, and do have option to convert from C# to VB too.

        Make a simple C# proj ..add the .cs file and then convert.

        I was giving you a suggestion...if you don't like its well and good.

        Comment

        Working...