C# projects under version control
coesterle
Posts: 4
We are using TortoiseSVN 1.3.3 for version control of our C# development. Our development has included revsions to our databasse schema. It appears that everytime we use SQL Packager 5 to build a new package that includes the revised database schema, the entire C# project is overwritten. Which files would you suggest that should be under version control?
Comments
If you don't change the names of the c# project, then all you should really need to worry about are any .resx files. And possibly the .csproj and .sln files (if there are any). Hopefully this is adequate.
(a) Is this the workflow you're suggesting?
(b) Exactly which .resx files should be under version control, all .resx files (including those for the forms) or only those in the \SQL sub-directory?
Thanks for your help.
c.oesterle@ceoimage.com
http://ceoimage.com
Phone 734.353.8873
FAX 734.354.8758
You can change the files packager uses to compile the package up - these are availible under the SQL Packager Template directory in C:\program files\red gate\sql bundle 5\SQL Packager Code Templates\ thus altering the main form there and all future C# projects will fit in nicely to your changed architecture.
I suggest you back up those files first before you edit them incase anything goes wrong though.
- James
--
James Moore
Red Gate Software
Head of DBA Tools
Red Gate Software Ltd
c.oesterle@ceoimage.com
http://ceoimage.com
Phone 734.353.8873
FAX 734.354.8758
We can look into it for sure.