Loading...
 
Multi-Language Add-In for Visual Studio

Multi-Language Add-In for Visual Studio


AddIn + SourceControl

Hi Phil!

We have changed our SourceControl from Visual SourceSafe to the Source Control of the Team Foundation Server.

What is the best way to use the AddIn together with Source Control?
- Do we always have to check out the whole project, perform ML changes and then check in the whole project again? Or can the AddIn handle check outs automatically?
- We often only have to change language strings of one single file/form. Do we always have to let the AddIn scan the whole project or is it possible to scan only one file? Will it work when we only check out this single file + the project database?

And one more question: We are still using the Access project database.
Would you suggest to change that to XML project database? Are there any advantages?

Greetings!
Robert

Germany

Hi Robert,

Microsoft provides an interface to access source control with a fairly minimal set of functions. The Add-In uses this interface to check whether a file is under source control and if so, will check it out before making any modifications.

I presume that both Source Safe and Team Foundation Server provide this interface, but I am not 100% sure.

I personally use Subversion and I don't have a test environment with Source Safe or Team Foundation Server. (Obviously, that is not very satisfactory. I ought to make an effort to test this feature better.)

Can you let me know if the Add-In actually does check files out of Team Foundation Server?

Phil


> Can you let me know if the Add-In actually does check files out of Team Foundation Server?

I made the following test: I started the AddIn and chose "Do not initialize" twice from the dialog box.
After that I checked the Pending changes and saw that the LADIS_ml.mlb was checked out automatically -> OK.
Furthermorde two xaml.cs files were checked out. I don't know why, perhaps the AddIn has to check them out because of WPF?
Then I chose "Ausgewählte Komponenten einlesen" from the AddIn and selected one form.
(By the way: The list with the components is not sorted! This makes it quite tedious to find the forms/files.)
After that action two more files were checked out: Multilang.resx and Multilang.de.resx.
MultiLang.en.resx was not yet check out.
But when I started to edit the strings of the form, Multilang.en.resx was also checked out. And of course the form itself was checked out.
So it seems to work.

My question again:
Is this a good way - only loading/reading the file I want to change the strings?
Or should I always checkout the whole project and let the AddIn read the whole project?

Best regards!
Robert