Visual Studio 2010 - "Add As Link" option not visibile - visual-studio-2010

I'm currently working on a solution which involves 2 projects that share some of the same code. However, when I right click on a project and select "Add->Existing Item", I no longer get the "Add As Link" option on the "Add" drop down button.
I am using Visual Studio 2010 Express in Window 7 on a 64bit machine and have done this before on Windows XP 32bit. I'm not quite sure why it isn't showing anymore.

You might want to take a look at What happened to the "add as link" option?
To make a long story short, this option is (normally) only available for managed projects. Can you confirm that your current project is not a managed one ?

Related

"Add Existing Item" feature disabled - how to enable / why does it happen?

I didn't use MSVS since v2008 (but I never was good at it). The version I'm talking about is 2012. I work mostly in Emacs, but for the team I must create MSVS projects and maintain them in a workable state. Now once I create a file, MSVS would not let me add it to the solution (click on "Project" in "Solution Explorer" -> context menu -> select "Add" -> "Add Existing Item" is grayed out.)
This used to work two days ago. Since then I've installed a plugin through NuGet that allows adding custom mime-types to IIS used in MSVS for ASP.NET projects. That was all the changes I've made.
How do I troubleshoot this? Why can this possibly happen? What could possibly be the reason for disabling this functionality?
EDIT
Sorry, it looks like it isn't possible to do it while "debugging" the project - somehow I must have fatfingered a debug session w/o noticing it. When I restarted the Studio, it prompted me about the open debugging session. After restarting the Studio the functionality was back. Still, it's strange you can't add files during debugging... or maybe I'm missing something.
I had the same problem today. The solution is to leave the debug mode in visual studio. Then the before grayed out menu point "Add New Item" project is available.
btw: you leave the debug mode in visual studio (2013) with Shift+F5 or click the red square in the gui.
Add Existing option is disable when you are in debug mode please stop debugging then try to add existing item.

Solution Configurations drop down list in WP7

I'm running Microsoft Visual Studio 2010 Express for Windows Phone. My problem is I'm not getting the solution configurations drop down list.I tried a lot but I'm not getting it.
Click the Tools menu, click Settings, and then click Expert Settings.
The Solution Configuration list box appears in the Standard toolbar. Click Debug or Release.
If still not visible, check this

adding dialog - Visual c++ Express 2010

I'm used to using Visual Studio 6.0 to develop c++ APIs. I've downloaded and installed Visual c++ 2010 Express and now I find myself in a foreign land!
The first thing I did was make a hello blank windows app. That worked ok.
Next I thought I'd try looking at the "about" dialog but darned if I can find it. I also tried to create a new dialog but have no idea how to go about doing so.
So my questions are....
How do I look at the "about" dialog?
How do I add a new dialog?
I see there is a "add resource" if I right click the project directory but is grayed out.
Feeling like an idiot but thankful for any help....
From what I can determine, there is no resource editor in the c++ express product.
See Free resource editor for Windows .rc files?

Solution Folder Not Showing in Visual Studio 2010 - How Can I Make It Visible?

I created a new Blank Solution in Visual Studio 2010, then I did an Add New Project, and the Solution node no longer shows in the Solution Explorer.
Further, when I try to do a second Add New Project, I get the error:
Cannot add the item because the item to add it to is not a solution folder or the solution.
What happened to the Solution node?
Where is it, so that I can highlight it and add a second project to my solution?
Tools, Options, Projects and Solutions, check "Always show solution"
Trivial update:
I'm on Visual Studio 2010, Ultimate edition. Windows 2008 R2, Enterprise edition, SP1. My guess the difference between #arrocharGeek screenshot and mine is I turn off all the vista/win7/2008r2 eye candy to make it look "normal."
You need to show the solution as follows:
Navigate to Tools | Options
Check the "Show all settings" checkbox in the bottom left of the Options dialog
Navigate to the "Projects and Solutions" | "General" section
Check the "Always show solution" checkbox
The "Solution solution-name (n projects)" will now show, and you can highlight that node to Add New Project from there.
Trivial Update: My VS 2010 is SP1Rel, and I am on Win7 Enterprise SP 1:
In order to view Solution explorer. Go to View > Solution explorer.
Or press Ctrl+Alt+L.
And solution window will appear.

Visual Studio 2010 "Solution platforms" popup missing

I'm getting a weird problem with Visual Studio 2010 Premium. I use two PCs, on the first there is no problem on the second the "Solution Platforms" popup menu disappeared, the configuration is the same (Windows 7 x64). The problem occured when I opened a project from a mercurial repo, I was not able to restore the popup. I reset the Visual Studio settings and done a Repair from the installer. No change. If I create an blank project (framework 2.0, 3.0, 3.5, 4.0) the "Solution Platforms" popup is still missing.
Also if I change the target platform with Build --> Configuration Manager there is no effect on the build (no compilation for x86 for example).
Any ideas (no full reinstallation please ) ?
thank you.
ps : Screenshot of the bug
André
Try the following:
From the list, select "Customize..."
On the screen that appears, click the
"Add Command..." button.
Select "Build" from the Categories
list, then scroll to "Solution
Platforms" in the Commands list and
click "OK"
Close the dialog and check your list, it should now be available.
The accepted answer is the wrong way to restore the platforms combobox. What you should do is find the little dropdown menu next to the configuration combobox and choose "Add/Remove buttons" From that list, check "Solution Platforms" and everything will be in its rightful place :)

Resources