none
ERROR:The type or namespace name 'BizTalk' does not exist in the namespace 'Microsoft' RRS feed

  • Question

  • I cannot seem to properly reference these usings:
    using Microsoft.BizTalk.Message.Interop;
    using Microsoft.BizTalk.Component.Interop;
    This is for a custom component that I am working on. I have made reference to:
    Microsoft.BizTalk.Messaging
    Microsoft.BizTalk.Pipeline
    Microsoft.BizTalk.Pipeline.Components
    Microsoft.XLANGs.BaseTypes
    Microsoft.XLANGs.BizTalk.Engine
    Microsoft.XLANGs.BizTalk.ProcessInterface
    Microsoft.XLANGs.Engine
    And still I get the following error:
    The type or namespace name 'BizTalk' does not exist in the namespace 'Microsoft'
    Friday, September 9, 2011 1:11 PM

Answers

  • The default Framework reference in the project properties was .NET 2 and it needed to be changed to .NET 4.
    • Marked as answer by MSDEVTECH Tuesday, September 13, 2011 1:29 PM
    Tuesday, September 13, 2011 1:29 PM

All replies

  • Make sure you have added refernce to the folowing 2 DLLs

    Microsoft.BizTalk.Messaging.dll
    Microsoft.BizTalk.Pipeline.dll

     


    Don't forget to mark the post as answer or vote as helpful if it does, Regards -Rohit Sharma (http://rohitbiztalk.blogspot.com)
    Friday, September 9, 2011 1:21 PM
    Moderator
  • You will have to make sure that you add reference to the dll's in your project.
    Cheers,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    Blog: http://dpsbali-biztalkweblog.blogspot.com
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Friday, September 9, 2011 2:35 PM
  • The assemblies are in the install folder usually at c:\Program Files (x86)\Microsoft BizTalk Server 2010. These are where most of the references come from.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline
    • Proposed as answer by RomeoWar Friday, August 29, 2014 1:59 PM
    Friday, September 9, 2011 3:53 PM
    Moderator
  • Make sure you have added refernce to the folowing 2 DLLs

    Microsoft.BizTalk.Messaging.dll
    Microsoft.BizTalk.Pipeline.dll

     


    Don't forget to mark the post as answer or vote as helpful if it does, Regards -Rohit Sharma (http://rohitbiztalk.blogspot.com)
    I do, see my above post.
    Friday, September 9, 2011 4:34 PM
  • You will have to make sure that you add reference to the dll's in your project.
    Cheers,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    Blog: http://dpsbali-biztalkweblog.blogspot.com
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Yes, I did see my above post.
    Friday, September 9, 2011 4:34 PM
  • That is where I am referencing the assemblies from please see above post.
    Friday, September 9, 2011 4:35 PM
  • In that case do a clean build and then rebuild. Shouldn't give you this error if BizTalk Server is properly installed.
    Cheers,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    Blog: http://dpsbali-biztalkweblog.blogspot.com
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Saturday, September 10, 2011 6:25 AM
  • The default Framework reference in the project properties was .NET 2 and it needed to be changed to .NET 4.
    • Marked as answer by MSDEVTECH Tuesday, September 13, 2011 1:29 PM
    Tuesday, September 13, 2011 1:29 PM
  • Hi,

    This works out for me.  Thanks a lot because almost i wasted half a  day time on this.

    Thanks,

    Claudia
    • Edited by claudiarani Tuesday, September 1, 2015 6:54 PM
    Tuesday, September 1, 2015 6:54 PM