It's all about the answers!

Ask a question

Pending Changes in VS does not show new projects


Anders Truelsen (1622020) | asked Aug 18 '10, 3:52 a.m.
When I add a new project to an existing solution in VS 2008 only the changes to solution file (.sln) is tracked by 'Pending Changes'.

I have to explicitly hit 'Refresh Sandbox Changes' to make 'Pending Changes' show the newly added files.

Is this common behavior?

WinXP SP2
VS 2008 SP1
RTC 2.0.0.2 iFix3

regards
/anders

6 answers



permanent link
Walter Mansur (6363017) | answered Aug 18 '10, 9:21 a.m.
Hi Anders,

Yes. This is common behavior and one of the ways that it works.

- Walter

When I add a new project to an existing solution in VS 2008 only the changes to solution file (.sln) is tracked by 'Pending Changes'.

I have to explicitly hit 'Refresh Sandbox Changes' to make 'Pending Changes' show the newly added files.

Is this common behavior?

WinXP SP2
VS 2008 SP1
RTC 2.0.0.2 iFix3

regards
/anders

permanent link
Anders Truelsen (1622020) | answered Aug 30 '10, 8:03 a.m.
Hi Walter,

I must be dim-witted, but how can it be expected behavior only to show part of the changes made to a workspace in pending changes?

Addition of a single file is reflected immediately by Pending Changes while entire projects requires explicit refresh. In my mind to two situations are equivalent and should be treated the same way.

regards
/anders

Hi Anders,

Yes. This is common behavior and one of the ways that it works.

- Walter

When I add a new project to an existing solution in VS 2008 only the changes to solution file (.sln) is tracked by 'Pending Changes'.

I have to explicitly hit 'Refresh Sandbox Changes' to make 'Pending Changes' show the newly added files.

Is this common behavior?

WinXP SP2
VS 2008 SP1
RTC 2.0.0.2 iFix3

regards
/anders

permanent link
Geoffrey Clemm (30.0k23035) | answered Aug 30 '10, 10:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Ideally, any change that you make through your IDE should be reflected
in the Pending Changes view without a refresh. If you aren't seeing
this, I would suggest submitting a work item describing the cases where
you aren't seeing this happen (such as the one you mention below).

Of course, there are often implementation reasons why this might not be
easy to achieve (if for example, Visual Studio does not send out a
notification message in those cases), but it is still worth logging it
as an issue. At a minimum, these cases needs to be documented in the
release notes, so that a user can be warned about them.

Cheers,
Geoff

On 8/30/2010 8:08 AM, atruelsen wrote:
Hi Walter,

I must be dim-witted, but how can it be expected behavior only to show
part of the changes made to a workspace in pending changes?

Addition of a single file is reflected immediately by Pending Changes
while entire projects requires explicit refresh. In my mind to two
situations are equivalent and should be treated the same way.

regards
/anders

wmansurwrote:
Hi Anders,

Yes. This is common behavior and one of the ways that it works.

- Walter

atruelsenwrote:
When I add a new project to an existing solution in VS 2008 only the
changes to solution file (.sln) is tracked by 'Pending Changes'.

I have to explicitly hit 'Refresh Sandbox Changes' to make 'Pending
Changes' show the newly added files.

Is this common behavior?

WinXP SP2
VS 2008 SP1
RTC 2.0.0.2 iFix3

regards
/anders


permanent link
Prabodh Mairh (3812) | answered Sep 02 '10, 9:32 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi Anders,
I agree entirely with Geoff. Ideally, the project and the newly added files under it should appear automatically under pending changes. But currently user needs to either do a Save-All, or press Refresh manually on Pending changes view to see the changes. This is most likely due to proper notifications not being received from the VS environment, in case of a project add. I would suggest you create a workitem, and we can investigate further.

permanent link
Anders Truelsen (1622020) | answered Sep 03 '10, 2:59 a.m.
Thanks for your comments :-)
I've created a Defect describing the problem.

/anders

Hi Anders,
I agree entirely with Geoff. Ideally, the project and the newly added files under it should appear automatically under pending changes. But currently user needs to either do a Save-All, or press Refresh manually on Pending changes view to see the changes. This is most likely due to proper notifications not being received from the VS environment, in case of a project add. I would suggest you create a workitem, and we can investigate further.

permanent link
Sreerupa Sen (1.0k4) | answered Sep 21 '10, 1:49 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
And we're planning to handle this in one of our new share scenarios.
regards
--Rupa

Your answer


Register or to post your answer.