Visual Studio add-in: changes on externals
Hi,
I am trying to use the visual studio add-in, but I am facing some problems with it.
I am connected to my account, I have enabled subversion (have installed SlikSVN for that).
When I try to run a personal build on the TeamCity server, the "Local changes" window doesn't show all the changes.
I have a solution that uses projects defined as externals. The externals point to specific revisions.
I can see the changes made on the repository, but can't see the changes made on the externals.
They did appear once, but I can't see them anymore.
So I'm guessing I'm doing something wrong.
Any help would be appreciated.
Thanks
Please sign in to leave a comment.
Philippe, thank you for your feedback.
What version of TeamCity add-in do you use?
Also you could try to turn off all filters on Local changes toolbar.
Hi Evgeniy,
Thanks for your quick reply.
Here is the info I get from the about box:
And I have tried all the filters available, but my external files do not appear.
Please send me your VS add-in logs. You could find them in %Temp%\JetLogs directory.
Actually this functionality was reworked in 6.0 version. If it is applicable for you, try to upgrade to that version.
You will find attached the logs of the add-in.
I will see if we can upgrade.
Is it possible to upgrade the add-in without upgrading TeamCity? Or do I need to upgrade TeamCity?
Attachment(s):
JetBrainsLog.TeamCity.2011-02-25T16-18-30.devenv#4264.log.zip
VS add-in should be compatible with server, so you will need to upgrade server too.
Philippe, as i see from logs VS add-in succesfully detected single Subversion externals (root) directory 'e:\dev\components\eitdll'
Please describe me, what directory marked as externals? Where .sln file placed?
My .sln file is here: E:\Dev\Components\EitDll\src\trunk
And I have made modifications to an external that is located here: E:\Dev\Components\EitDll\src\trunk\EitLib
There is another external, but there are no modifications to it.
Is that the information you need?
Files (directories) from externals E:\Dev\Components\EitDll\src\trunk\EitLib are related to solution (displayed in Solution Explorer)?
Yes. In E:\Dev\Components\EitDll\src\trunk\EitLib, I have EitLib files and visual project.
This project is included in the solution.
If I edit the .sln file, here is what I see:
Philippe, Vs add-in should detect changes from Subversion externals in your case. As i mentioned, collecting of Subversion changes functionality was reworked in 6.0 release.
You could try to install this 6.x EAP VS add-in and try to collect Subversion changes in your environment. Unfortunatly you couldn't use it with your server (send Remote Run's, etc) because of changes in server API from 5.1 to 6.x version.
Please let me know about results.
I have installed this version, but when I login to TeamCity, it says that the version is outdated and insits on installing the server's version.
I can't go further.
I will upgrade TeamCity and will let you know the result.
Thanks for your help
Philippe, as i mentioned, you could configure Subversion integration and try to collect local changes without connecting to server.
Oh sorry, I didn't get that.
I have tried. It doesn't detect the externals automatically. But I can see the new option to define them manually.
And if I do define it manually, it works.
I will take a look, why autodetect doesn't work. It would be greate to look at the logs again!
Also please uninstall this version before updating your VS add-in to the new server version.
Actually, I get an error when I enable auto-detect.
You will find the logs attached.
Attachment(s):
JetBrainsLog.TeamCity.2011-02-25T17-55-32.devenv#4908.log.zip
Philippe, error, reported in logs is really unpredictable. To investigate your issue i would like to look at the Subverions working copy with problematic project itself. If it is applicable for you, please send me directory with solution and .svn via e-mail (evgeniy.koshkin@jetbrains.com).
Hi Evgeniy,
I don't understand exactly what you need. You want only the .sln file and the .svn folder? Or you need the entire solution?
Philippe, it would be very helpful to look at entire solution structure, if it is applicable for you.