0

Are you tired of checking if a newer version of the library you're using has been released, or when you update to new versions, change all references in all csproj projects?

For example, I have many csproj projects using those references:

     <HintPath>..\..\..\Referencias Externas\Microsoft.Practices.EnterpriseLibrary 4.1\Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll</HintPath>  
    ...more...more...    
    <HintPath>..\..\..\Referencias Externas\Unity 1.2\Microsoft.Practices.Unity.dll</HintPath>
    ...more...more...  
     <HintPath>..\..\..\Referencias\Company\2.0\Company.Common.dll</HintPath>

Now, I would like use new versions, EnterpriseLibrary 5.0, Unity 2.1, NHibernate 3.2, etc, and references to Company Framework (Company.Common.dll, etc), but I need changes all references in many,many projects.

any extension in VS2010 for do it easy and quick?

I would like any like ProjectConverter - Auto update DevExpress references http://www.devexpress.com/Support/Center/p/Q308968.aspx

Reference: http://feedback.wovs.com/forums/71955-extension-ideas/suggestions/1003595-automatic-reference-update

4

2 回答 2

1

使用包管理器nuget来管理您的依赖项。

NuGet 是一个 Visual Studio 扩展,可以轻松地在 Visual Studio 中安装和更新第三方库和工具。

于 2012-04-10T10:31:30.980 回答
0

作为一种解决方法,您可以创建一个库项目来处理和转发对 .dll 的访问,并且每个其他项目都使用这个。然后,您只需要更新这一包装项目中的 .dll 引用。

于 2012-04-10T10:33:53.203 回答