Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / January 2006

Tip: Looking for answers? Try searching our database.

VsLangProj and EnvDTE in VS 2005.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rathishps@hotmail.com - 04 Jan 2006 12:27 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.