locked
How to get rid of EnvDTE.dll interop assembly warning at compile time RRS feed

  • Question

  • I am attempting to clean up all warnings from a DSL project and the warning below seems to be a harder one to get rid of ...  

    Warning 7 A reference was created to embedded interop assembly 'c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PublicAssemblies\EnvDTE.dll' because of an indirect reference to that assembly created by assembly 'c:\Program Files (x86)\Microsoft Visual Studio 2010 SDK SP1\VisualStudioIntegration\Common\Assemblies\v4.0\Microsoft.VisualStudio.Shell.10.0.dll'. Consider changing the 'Embed Interop Types' property on either assembly.

    Any assistance if greatly appreciated!

    Cheers


    Johnny Larue

    Tuesday, May 15, 2012 1:30 PM

Answers

  • I just found out how to resolve this issue ... Set the embedded property on offending reference assembly to false.


    Johnny Larue

    • Marked as answer by Johnny Larue Tuesday, May 15, 2012 1:38 PM
    Tuesday, May 15, 2012 1:38 PM

All replies

  • I just found out how to resolve this issue ... Set the embedded property on offending reference assembly to false.


    Johnny Larue

    • Marked as answer by Johnny Larue Tuesday, May 15, 2012 1:38 PM
    Tuesday, May 15, 2012 1:38 PM
  • Hi Johnny,

    I’m glad to hear that you got it working.
    Thank you for sharing your solutions & experience here. It will be very beneficial for other community members who have similar questions.


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, May 16, 2012 7:07 AM