How to customize Visual Studio Solution Explorer right click menu option to copy only dll and pdb? - visual-studio

How to customize Visual Studio Solution Explorer right click menu option to copy only dll and pdb?
how can I add custom command to customize commands that copy only selected project dll & pdb?
so later it will show in right click on project menu

Related

How to add additional .ui files in Qt VS Add-in

I have created a Qt Application project in Visual Studio. It generates one .ui file for the main window. What if I want to add another window?
If you use visual studio 2013 and Qt 5, right click your project in solution explorer and select Add -> Class... to launch Add Class dialog.
You can create Qt5GuiClass for your new window in the dialog.
From the Solution Explorer of you Visual studio, right click on the Form files -> Add new Item -> Qt forms from there select Qt Dialog form (.ui)

Aptana "Show in Project Explorer" shortcut

What is the shortcut for showing the current file in the project explorer?
Even better: is there a way to make the current file automatically show in project explorer tree? Visual Studio and SublimeText (via SyncedSidebar plugin) have this functionality...
You can make the current file show in the Project Explorer by clicking on the little arrow at the top right of the Project Explorer and choosing 'Link with Editor'.

Visual Studio 2010 Ultimate does not allow to add Reference

I want to create a DLL folder where i want to put all my dlls and I need to add a reference to this folder in Visual Studio. But when I right click on the Project-->References.. and then click on Add Reference, only the "Projects" tab appears, empty, and you cannot do anything.
Did anybody have the same problem?
You just have to choose the Browse tab instead of the Projects tab in Projects > Add Reference.

Change the icon of the exe file generated from Visual Studio 2010

I am currently creating an application in Visual Studio 2010. After building the project to generate the output of my application, I find that the .exe is built with the default icon.
Is there any way to change or use my own picture as the icon for the .exe file generated by Visual Studio 2010?
To specify an application icon
In Solution Explorer, choose a project node (not the Solution node).
On the menu bar, choose Project, Properties.
When the Project Designer appears, choose the Application tab.
In the Icon list, choose an icon (.ico) file.
To specify an application icon and add it to your project
In Solution Explorer, choose a project node (not the Solution node).
On the menu bar, choose Project, Properties.
When the Project Designer appears, choose the Application tab.
Near the Icon list, choose the button, and then browse
to the location of the icon file that you want.
The icon file is added to your project as a content file.
reference : for details see here
I found it easier to edit the project file directly e.g. YourApp.csproj.
You can do this by modifying ApplicationIcon property element:
<ApplicationIcon>..\Path\To\Application.ico</ApplicationIcon>
Also, if you create an MSI installer for your application e.g. using WiX, you can use the same icon again for display in Add/Remove Programs. See tip 5 here.
Check the project properties. It's configurable there if you are using another .net windows application for example

Undo VS 'Exclude from project'?

Is there a way to undo the 'exclude from project' operation in Visual Studio (2008) ?
How to include files back into the project after excluding them?
Make sure you are showing all files. There is a button at the top of the Solution Explorer called "Show All Files". To see this button, make sure that your project is selected in the solution explorer.
Show All Files
When this option is active, the file should be there, just grayed out. Right click it, and select "Include In Project".
Include In Project
Visual Studio Express 2012
Select Your Project Folder Click On "Show All Files" icon to show all Excluded Folders And Files
Then Right Click on Excluded Folder or File and Click on "Include In Project"
In the absence of an actual undo option you could select Add > Existing Item... to re-add the item you've just excluded.
I couldn't find the "Show All Files" button in Visual Studio 10 when I ran into this problem.
Another way to solve it is to open the containing folder in Windows Explorer by right clicking the folder in Solution Explorer and selecting "Open Folder In Windows Explorer".
Find the folder you want to add back into the project and Drag/Drop it from the Explorer window into your Solution Explorer in Visual Studio.
Add existing will not work if it is a folder that you excluded.

Resources