I cloned DotNet/CoreFX code using Visual Studio 2015 to view Collections source code.
After cloning and opening System.Collections.sln, I opened .cs files to view sources.
New view opens but I am seeing no source code as shown below for every file.
What steps do I need to take to be able to view source in Visual Studio? I am able to open the file using Notepad but viewable in Visual Studio 2015.
If this question doesn't belong in SO, would someone kindly point me to the right place? Thanks.
Related
While working for a js project on vs code and vs 2019 synchronously. Is there any way to update .njsproj automaticly file when adding a new folder and file on vs code? Thus, those files can be include solution explorer for vs 2019 without manuel selecting files.
Update:
I created an extension to sync .njsproj file on vs code automatically.
Vs Code .njsproj Extension
VS Code does not have built-in support for synchronizing Visual Studio project files.
You could try:
An extension could provided this feature. This one claims it can, but I have not tested it
Write a simple script that updates your njsproj based on current folder contents.
If you are only using the project to open a set of files in VS, switch to use open folder as workspace instead.
I am running Visual Studio Code v1.25.1 on 64-bit Ubuntu. I am trying to set the add an image file to a visual studio project and set its properties to be always copied.
However, I do not
See Tools or Options in my main menu bar
Have any way of creating a project
Right clicking on a file does not show an option to edit properties.
What am I missing? Previous answers have suggested using Tools->Customize or Views-> Other Views. AS I mentioned, I do not see a Tools option and View does not have an Other Views sub-option.
Thanks.
There is a config file that you can manually manipulate, however maybe this post will help you VS Code How to Restore Menu Bar
I have a issue related with the files opened in my Visual Studio Code.
In my team we can edit the same file (shared in the intranet) and I want to know when the file was updated.
Exist a way to detect this in Visual Studio Code?
Thanks in advance.
maybe it will be added in some day, look here and vote if you want it to be add: https://github.com/Microsoft/vscode/issues/23107
I would like to develop a TFS plugin that displays a simple page in the Team Explorer. To do this, I loosely followed this project. I'm able to register a menu command, but when the command is invoked my page that I derive from TeamExplorerPageBase is unknown to the Team Explorer. The code to load the page is:
var teamExplorer = (ITeamExplorer)(this.ServiceProvider.GetService(typeof(ITeamExplorer)));
teamExplorer.NavigateToPage(new Guid(BiscomTfsLabelPage.Id), null);
the call to NavigateToPage returns an error:
So how do I register the page with Team Explorer??
UPDATE:
Looks like it's an issue with the debugger, because when I run the VSIX file that gets output by the build, then open a new instance of Visual Studio it works:
So now I'd really like to know if there's a way that I can debug the extension, since it doesn't seem to register the page if I use the debugger.
Since it works in a new instance of Visual Studio. You could try to debug it with a new opened Visual Studio.
Go to the properties of your project and look under the debug tab, find a Start Action. Select to "Start external program" and browse to where you have visual studio installed. C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
I have a Visual Source Safe repository, and some (not all, alas!) of my releases are identified by label. I know how to get by label from the command line, but:
Can I get by label from within Visual Studio?
I'm using Visual Studio 2003 (would the answer be different in other versions of Visual Studio?).
Thanks.
PS. I am hoping to migrate to Team Server soon.
View History on the sourcesafe Project in question, and Include Labels. Highlight the Label you want and click "Get." set options, hit OK, you're done!
edit: pardon me AJ, I was referring to doing a "get" on a label from within the Visual Source Safe interface.
However, assuming you have installed Visual Source Safe on the same machine as Visual Studio, these same functions should be available. Go to Tools -> Options > Source Control and make sure the source control plug-in is set to Microsoft Visual SourceSafe.
With that in place, you should be able to right-click on a Project or Solution in the Solution Explorer, select View History, and follow my previous instructions.