VSLangProj.PrjKind Embeded Interop Types RRS feed

  • Question

  • error CS1752: Interop type 'VSLangProj.PrjKind' cannot be embedded. Use the applicable interface instead.
    error CS0117: 'VSLangProj.PrjKind' does not contain a definition for 'prjKindCSharpProject'

    I getting this error when build my package, is the right solution to set "Embeded Interop Types" to False, isn't clear to me what are the consequences of doing this.

    Wednesday, March 25, 2015 10:11 AM


  • Hi,

    The VS assemblies shouldn't have Embed Interop Types to true, it must be set to false.

    For completeness, the setup of extensions shouldn't include the VS assemblies, they are present on the target machine if VS is installed.

    * My new blog about VSX: http://www.visualstudioextensibility.com * Twitter: https://twitter.com/VSExtensibility * MZ-Tools productivity extension for Visual Studio: http://www.mztools.com.

    • Marked as answer by pepone.onrez Wednesday, March 25, 2015 4:30 PM
    Wednesday, March 25, 2015 2:56 PM