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

18 comments
Comment actions Permalink

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.

0
Comment actions Permalink

Hi Evgeniy,
Thanks for your quick reply.
Here is the info I get from the about box:

JetBrains TeamCity Addin for Microsoft(R) Visual Studio(TM)
Version: 5.1.3 (build 13506)


Visual Studio 9.0.21022.8.


Copyright © 2000–2011 JetBrains s.r.o.. All rights reserved.


And I have tried all the filters available, but my external files do not appear.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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
0
Comment actions Permalink

VS add-in should be compatible with server, so you will need to upgrade server too.

0
Comment actions Permalink

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?

0
Comment actions Permalink

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?

0
Comment actions Permalink

Files (directories) from externals E:\Dev\Components\EitDll\src\trunk\EitLib are related to solution (displayed in Solution Explorer)?

0
Comment actions Permalink

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:

[...]
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EitLib", "EitLib\EitLib.vcproj", "{E93997D2-7714-4740-A46B-C222D3CD2E8B}"
EndProject
[...]

0
Comment actions Permalink

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.

0
Comment actions Permalink

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

0
Comment actions Permalink

Philippe, as i mentioned, you could configure Subversion integration and try to collect local changes without connecting to server.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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.

0
Comment actions Permalink

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
0
Comment actions Permalink

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).

0
Comment actions Permalink

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?

0
Comment actions Permalink

Philippe, it would be very helpful to look at entire solution structure, if it is applicable for you.

0

Please sign in to leave a comment.