Me, Myself and Mayvelous
6 Jun
In our current project, we have to work with WinForms using VS 2005 and VSS as the project source control. There are two solid developers and one developer/Product Manager involved in the coding of this project. Our Product Manager suggests and prefers we use VSS rather than SVN for better source management (check in/out). As for us, developers (me and my bro), we had a great time using SVN in the last project and prefer to use SVN; nevertheless both of us are flexible and agreed to work with VSS after a few discussion. Things are fine when I focus on designing forms and my bro working on code behinds. But the problem arises when we start testing on a few forms, which need both of us to work on design view.
In VS2005 WinForm IDE, it adds or writes to the licenses.licx file whenever you use custom controls/third party controls such as Infragistic in your form. Though I’m not so sure, I observe that the licenses.licx file is not needed if you work entirely with normal winform controls, but with third party controls, it acts as a config file storing the references of the controls.
Once you add a project to VSS DB, the licenses.licx file is always binded since it’s part of the project property. You can check out the code just fine but when you work with the form design, you’re forced to check out the licenses file. If you don’t/can’t check it out, you can’t do anything to the form design. With VSS, it’s really a pain if one developer checked out the licenses file exclusively, others can’t do any design work on any of the forms. To solve the exclusive checkout on licenses file, we tried to exclude the licenses.licx from the project and let it stay in local folder. Unfortunately, the file itself is part of project property and once it’s excluded, it loses the references as well. For that little experiment, I’ve lost two of my form designs and have to start all over; thank god, they were just small forms. With that failed experiment and out of ideas, we searched for the solution on the web. Found out that it was a known issue for VS2005 IDE and the fix would only available with the next release of Visual Studio. The only work around they suggest so far is to use VSS multiple check out mode.
We don’t want to use Multiple check out mode in our VSS DB for:
But untill the next VS release, it’s the only possible way so we don’t have a choice but to use that method. Don’t have time to dig up properly either. So gonna stuck with this problem for the whole project. It’s just making my life miserable. *sign*
Readings: MS Feedback | Forum Q&A
No related posts.
5 Responses for "Licenses.licx and VSS"
well actually the Product Manager did not push for VSS at all, the Product Manager was quite happy for SVN to be used especially when he spent half a day trying to install the bloody thing.
I think you mean the Programme Manager – he was the guilty party that pushed for the VSS over SVN – make sure he reads your post.
Oh I thought there is Project Manager and Product Manager…I guess it’s Programme Manager.
Yah yah I meant Programme Manager.
Project/Product Manager is all cool thanks hehe.
There is no Project Manager – in MSF we are all project managers.
these are the six roles:
Product Management
Program Management
Development
Testing
User experience
Release management
Yep..we just started using VS 05 with source control yesterday and we encountered this wonderful defect. How in the hell did they miss something this big? You would think that someone would have checked to see if 2 users could run a VS 05 project at the same time wouldn’t you? Wow… we are also completely stuck right now and not sure what to do about this issue. Multiple checkout..they must be kidding!
Here are a couple of tips on working with licx files.. The contents of the file will be automatically generated by Visual Studio. So you can delete whatever is inside of the file at any time, and not have a problem – just don’t delete the file itself!
You can ‘trick’ VSS by marking a file writable (clear the read-only file system flag). If you do this on each of your development machines you can all work on the project and write to the licx file without having to actually check it out of VSS.
Hope this helps!