Reputation: 2589
I have the core project with multiple dll's and number of projects, that use these dlls. Each time I rebuild one of core dlls, i should copy this dll to all project's folders that use it, and then mark it in TFS as "Check out for edit",to pending these changes to my team. Is there more easy and automatic way to :
1)Rebuild dll to all folders that use it
2)"Check out for edit" changes ?
Upvotes: 0
Views: 39
Reputation: 404
I think codeBase configuration might be helpful. So in this way you just need to build core project to the folder which is accessible from other solutions directly or over network. And codebase in this way might be something like following:
<?xml version="1.0"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="CoreAssembly"
culture="neutral"
publicKeyToken="your public token for assembly"/>
<codeBase version="1.0.0.0"
href="file://SharedLibraries/Library1.dll"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Added: Sorry previous idea was not very good. Just in case if anybody will have the same problem solution is pretty simple - just use internal nuget server. It includes all required functionality and let you share libraries.
Upvotes: 1