https://github.com/ignatandrei/assemblyinfott
Assembly info same for multiple projects
https://github.com/ignatandrei/assemblyinfott
Last synced: 11 months ago
JSON representation
Assembly info same for multiple projects
- Host: GitHub
- URL: https://github.com/ignatandrei/assemblyinfott
- Owner: ignatandrei
- Created: 2013-08-17T15:27:11.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2019-06-17T20:57:31.000Z (about 7 years ago)
- Last Synced: 2025-04-04T23:41:53.365Z (over 1 year ago)
- Language: C#
- Size: 7.81 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AssemblyInfoTT
==============
Assembly info same for multiple projects
Let’s suppose you have a medium-big application and you have several dll-assemblies-component that the main application references( DAL, BLL). You have several deployments of the application at clients and , when a client , you must find each version of each assembly deployed.
I have developed a simple .tt file to ensure that every component that you compile have the same version – you can run on the server on the automatic build(http://www.olegsych.com/2010/04/understanding-t4-msbuild-integration/) or by hand.
More, with this .tt file you can
Have the date /time ( with minute) of the compile of the dll embedded into version information
Read a text file and add same copyright to all projects( left as an exercise to the user) .
You can see the demo at http://youtu.be/PudBWl16308 .
You can download the project at http://msprogrammer.serviciipeweb.ro/2013/08/19/tt-files-to-maintain-assembly-version-in-sync
Steps:
1. Download the .tt file
2. Add to your project
3. Delete from folder Properties the AssemlbyInfo.cs file
4. Move the .tt file into folder Properties
That's all!