Viewing the Visual SourceSafe log inside Visual Studio - visual-studio

Is there any way to view the activity log for the integrate SourceSafe inside Visual Studio 2005 Pro? I'd like to be able to quickly see the results of any Get Latest Version, Check In and Checkout actions, and I can't find a way to get that information without having to open the VSS client.

The output window (View - Output) echoes a lot. If it isn't verbose enough though I don't know how one would configure that.

That's what I was missing - I never saw the [Source Control] option for the "Show output from:" setting in the Output window. Great, thanks.

Related

Source control could not start the manual merge tool, why?

I used to execute tf merge $/Alpha/Dev $/Alpha/Main /recursive from Command Prompt to merge changes from Dev branch to Main branch. On conflicts it shows up Resolve Conflicts window and we could resolve conflicts manually by choosing option Merge changes in Merge Tool
It was working fine till yesterday, all of a sudden it started throwing below error, and not showing the manual merge window.
TF10201 Source control could not start the manual merge tool.
One strange behavior, it is working fine if we open the Command Prompt as administrator.
Please anyone shed some light on this?
HOW TO RESTORE THE MICROSOFT DEFAULT MERGE TOOL
If you are having any problems with a diff/merge tool in Visual Studio and you are using TFS you can delete your existing tool in the menu here:
TOOLS - OPTIONS - SOURCE CONTROL - VISUAL STUDIO TEAM FOUNDATION SERVER
Then click the button entitled "Configure User Tools"
Select the Tool(s) and hit the REMOVE button. This will restore the Microsoft default tool.
I got the same error because my local file in target branch was missing.
VS shows error details in "output window"
I was running tf get and I had a conflict so the GUI displayed choices of take server, merge, take local.
When I clicked manual merge, VS2012 (our default merge tool) came up blank, and the conflict GUI had that same TF10201 Source control could not start the manual merge tool.
I found a blog post by somebody who had the same problem a few weeks ago, where they got a warning that the file was open.
I didn't get that warning, but I had the file open in PowerShell ISE. I closed the file, and then the manual tool worked perfectly.
I don't know why the merge tool cares that the file was open, or why the merge GUI displayed the error without displaying the reason, but at least it worked eventually?
EDIT: I hit the same issue today, without the file open in another merge tool. This time, I fixed the problem by first clicking the "Server edits" button, which opened the diff view in VS. While that was open I went back to the GUI and chose "manual tool" and VS said it had to close my file first. I said yes, and then manual merge worked!
The error happens when there is a merge conflict in a file that Visual Studio cannot automatically resolve and the file doesn't exist locally on the target branch. Fix is to do a forced get latest of the file on the target branch and this would be resolved.
In my case the problem was an application called CodeCompare.
Removing that from the compare tool of visual studio TFS solved my problem (as MarkInEugene said)
If you are having any problems with a diff/merge tool in Visual Studio
and you are using TFS you can delete your existing tool in the menu
here:
TOOLS - OPTIONS - SOURCE CONTROL - VISUAL STUDIO TEAM FOUNDATION
SERVER
Then click the button entitled "Configure User Tools" Select the
Tool(s) and hit the REMOVE button. This will restore the Microsoft
default tool.

Can't show Debug output on Visual Studio 2012

I tried to configure the storage for my debugging data in Azure Storage by following the instructions in this page (source). After doing this the outputs from Diagnostics like Debug.WriteLine stopped appearing on the Debug output of Visual Studio which I didn't intend to happen.
After a while it was decided it wasn't necessary to store the debug data in the end, so I deleted the diagnostics.wadcfg file and removed the diagnostics configuration from the Web.config file of my role and from both ServiceConfiguration.Local.cscfg and ServiceConfiguration.Cloud.cscfg files, hoping that would restore the output to Visual Studio . It didn't.
How can I restore fully the Debug output to be displayed on Visual Studio console once again? It's really hard to work without these outputs of information.
Any help will be appreciated.
Try going to Visual Studio > Tools> Options > Debugging > Output Window > And check the options there for Output types.
Be sure you are runnning the project un Debug mode and not in Release mode.
In window--->Reset window layout

Is there a 'Get Latest Version' preview in TFS? (Like VSS 'Get' command)

My question relates to Team Foundation Server (TFS) and specifically, is there any way to know which files have changed on the server before doing a 'Get Latest Version (Recursive)?
In Visual Source Safe (VSS), you could do a 'Get' (I think) which showed you all the files which were being considered for the update and which files we're changed on the server (an consequently would be updated during the get). This functionality seems to be completely missing!
Also, when I do a 'Get Latest Version' in TFS, there doesn't seem to be any notification that any things occurred, other than the blur of a progress bar momentarily. I would have expected a notification at the end that there were no updates to be made, or n files were updated. Instead I have to hunt in the TFS output in Visual Studio to see what happened. Is this right?
Thanks a lot in advance!
Andy.
Thanks to this question/answer, I have happily been using tf get /recursive /preview for about a year now.
But it turns out that there is something like this integrated into Visual Studio, at least 2010 and later.
Go to:
View menu, Other Windows, Source Control Explorer
navigate to the path you're interested in, right-click, and pick "Compare"
set "Target Path" to the equivalent local path
you might want to un-check "Show items that exist only in target path"
OK
You get a nice view of the potential changes previewed, and you right-click on individual files and do a Compare to see exactly what you're going to get.
I'm so glad a colleague showed me this today!
There's not one built in to Visual Studio, but there is the /preview option on the TFS command line. There's more information on all the command line options on the MSDN page for the Get Command
The TFS command you need is:
get "[path]" /recursive /preview /login:[user],[password]
Set this up on an External Tool in Visual Studio.
Title: "Get Latest Preview"
Command: c:\program files\microsoft visual studio 10.0\Common7\IDE\TF.exe
Arguments: [See above]
Initial Directory: ""
Make sure that "Use Output window" is enabled and "Prompt for arguments" isn't.

Updating JScript intellisense hangs VS 2010

I have a web application and whenever I load it in VS 2010 RTM, the left hand corner of VS says "updating JScript intellisense" which never completes. When I click anywhere in the editor (becuase the solution has finished loading), I see a balloon on the right hand corner saying Visual studio is performing an internal operation...) and ultimately I have to end the VS process. Very frustrating..
I went ahead and disabled JScript intellisense as described here and that didn't help.
Anybody has any clue in this?
Pin open your Output window to get specific information on what Visual Studio is doing. Chances are it is parsing js file links in your webpage, including master page and trying to download these files over the network or encountering an error trying make intellisense of them all. Try commenting out your javascript links, using local copies instead of remote, or attempt to resolve the specific errors. More info here.
I restarted my machine and It resolved the problem. :-(
Maybe I'm late answering this question, but I found a way to disable JScript Intellisense. Following this: http://msdn.microsoft.com/en-us/library/ecfczya1.aspx , in the "Text Editor" options, select JScript. In the "General" options, deselect the checkboxes saying "Auto list members" and "Parameter Information". It worked fine for me.

Visual Studio 2008 Blank Tool Window

I have a blank property window that I can not get rid of in Visual Studio 2008 SP1. I have tried every thing to get rid of it.
If I close it it shows right back up after going into debug mode or restarting visual studio. I have tried every thing to fix all the way to reinstalling VS with no luck.
Does any one have a solution for this?
Use the following fix:
Close all instances of Visual Studio Navigate to the following directory (I am using 2008 – for a different version change the 9.0 to reflect the correct version number/folder)
"%userprofile%\Local Settings\Application Data\Microsoft\VisualStudio\9.0".
You should see four files:
toolbox.tbd
toolbox_reset.tbd
toolboxIndex.tbd
toolboxIndex_reset.tbd
Move these files to another folder (or, if you are very brave, delete them altogether. Note, this is very much a case of “Worked on my (colleague’s) PC” – do this at your own risk. Restart Visual Studio and hey presto, your Toolbox should be back to where it needs to be. The user in question did not have any custom items in his toolbox so I can only assume that the fix reverted the toolbox to the original Visual Studio state.
Click Window, Reset Window Layouts.
If that doesn't help, click Tools, Import and Export Settings, Reset all settings. (But backup your current settings)
One thing to try is via the Visual Studio 2008 command line you can run the following command.
devenv /resetsettings
This will restore to factory settings, this could clear up the issue, re-install wouldn't do this for you.

Resources