Hi,
I am updating a existing VS 2003 add-in to VS 2005 addin.
But I am using the the dll "VSLangProj" for some automation. But
unfortunately I couldn't run the appliction in a machine having VS 2005
(Not having VS 2003) only. I am getting a FileNotFound exception
(System.IO.FileNotFoundException: Error while loading file 'EnvDTE,
Version=7.0.3300.0). One of my project is using VSLangProj and it is
dependent on 'EnvDTE, Version=7.0.3300.0. The microsoft people haven't
rebuild this dll inorder to maintain backward compatibility. They are
saying that we can resolve this by adding a config file to redirect it
to new dll.
http://msdn2.microsoft.com/en-us/library/ms228768.aspx
I tried this. But my project output is class library and I am not able
to use it successfully.
Do you have any idea about how to resolve this issue?.
Thanks!
Rathish P S.
Mirko Matytschak - 10 Jan 2006 16:34 GMT
Hi,
I replaced the reference to the EnvDTE.dll 7.0.x.x to the version 8.0.x.x,
which is located in
c:\program files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies
I share the .cs-code between the VS 2003 / VS 2005 versions of my add-in,
but I maintain different .csproj files, which allow to reference the
different versions of the assembly. The old code works with the new version.
Hope that helps.
Mirko
> Hi,
> I am updating a existing VS 2003 add-in to VS 2005 addin.
[quoted text clipped - 16 lines]
> Thanks!
> Rathish P S.