visual studio 2010 security tab missing - visual-studio-2010

I want ti change the Security Settings in visual studio 2010 .
but in my project-> properties -> security tab missing.

I answered this here:
Why am i not seeing the security tab in my Office Solution properties?
and here is my answer re-posted:
I had the same issue and the solution was super annoying to figure
out. Someone on another website mentioned that the Security tab is
only relevant for certain types of ClickOnce applications so I started
playing around with various options and figured it out.
In the Application tab, for Application Type, select Windows Forms Application from the drop-down menu (other drop-down options might also work but haven't tried them)
Save everything: In the main menu bar of Visual Studio, click File > Save All.
Close your project Properties window (i.e. the one with the Application tab that we were just modifying)
Open your project Properties window again: in your Solution Explorer, select your project, go to the main menu bar, click
Project, click Properties.
Voila! It should be there. :)

Related

How to select debug profile in Visual Studio?

I have a .NET Core 3 (not ASP) project in Visual Studio 2019 that has two different launch profiles:
But whenever I launch my project, it always uses the first profile, even if I have the second profile selected in my project settings. How do I tell Visual Studio to actually use the other launch profile?
EDIT: This is what my toolbar looks like:
I have no dropdown to select a launch configuration. I found the "Start Debug Target" command and can add that to my toolbar, but it doesn't have a dropdown either, it looks just like the regular start button.
In projects you can configure the profile, not select it.
In order to select a profile you should choose it from dropdown list next to start button:
EDIT
On my VS the button is called Debug Target and is placed under Standard section in toolbar.
However, there's something fishy about this button in visual studio. When I removed button from visual studio I couldn't find it among other commands to readd it. After some googling I even found out there were problems with this in past.
https://developercommunity.visualstudio.com/content/problem/323626/if-you-remove-debug-target-from-toolbar-you-can-ne.html
Ewentually I found out two ways to bring it back.
Reset the standard toolbar
Add it from Add or remove buttons section next to standard toolbar

How to reset the context menu in VisualStudio to have default items?

Am using VisualStudio 2013, update2. I am facing the below issue when I opened a project in VisualStudio today, I noticed on right clicking a project in the SolutionExplorer the context menu have a lot of options that even have scrolling now. Now I have to scroll down everytime to build or clean a project.
Earlier it was like a short menu like below.
I have not changed any settings but don't know why am facing this issue. I tried to customize the context menu command and chose (Project and solution context menus | Project) from the drop down, but that didn't worked out as it is automatically reset to tfs on clicking the close button. Does any one have idea about how to rectify this?
Note: The context menu has changed only for the projects inside the solution. On right clicking the solution name in solution explorer, I am still getting the same old menu.
From looking at your context menu screenshot, it looks like you have some extensions installed that have introduced these commands. Try disabling some or all of them in Tools > Extensions and Updates Manager to see which ones belong to which extension. There unfortunately isn't a way right now to customize this context menu.
Thanks,
Cathy
Visual Studio IDE Team

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

Cannot find Property Manager option in Visual Studio (not Express version)

I need to work with the Property Sheet of a project. I followed instruction on msdn to try to find Property Manager under View, but I do not see Property Manager as a menu option under Tool. I only saw Property Pages and Properties Window. I tried both options but they do not seem to be where I can create a property sheet. My Visual Studio version is as follows: Microsoft Visual Studio 2010, Version 10.0.40219.1 SP1Rel Microsoft .NET Framework Version 4.0.30319 SP1Rel. Can anyone please give a pointer? Thanks.
I finally found mine under View->Other Windows, near the bottom.
Try resetting your View menu, Property Manager should indeed be there.
Go to Tools -> Customize.
In the popup window, select the Commands tab.
Select the Menu bar: button, and in the dropdown menu select View
Click Reset All and confirm.
This should restore Property Manager to your View menu.
To see the Property Manager you need to have Expert Settings enabled. You can find this option in:
Tools -> Settings
It is under View --> Other Windows --> Properties Manager. It works.
This is how I restored the Property Manager menu item in Visual Studio 2013:
Select Tools\Customize
Select the Commands Tab and Menu Bar
Under the dropdown beside Menu Bar, select "View | Other Windows" (or wherever you'd like to put it)
Click "Add Command..." and select the View category
Find and select Property Manager from Commands and click OK
In my case it was just in the VIEW toolbar - almost in the bottom. Running VS2013 Pro update 3
View > Property Manager or View > Other Windows > Property Manager, please try this
None of the above answers worked for me. What worked for me is:
Tools -> Import and Export Settings -> Reset all settings -> ... -> Visual C++ Development Settings
Despite I selected Visual C# settings at first use, for some reason, VC++ settings were ON, causing the visual components property window to not show up while pressing F4.
Selecting Visual C# settings ( in Tools | Import and export settings... | Reset All ) made it work.
Property Manager is a moot utility now. Since the property sheet is defined for each project, it can be edited by right clicking on the project and selecting properties. If you need to edit multiple projects once, just select all the projects you want to effect a change and do the right clicking trick.
This brings up the same property pages as it would from Property Manager.
Since none of the given answers worked for me here are my two cents.
Like any well hidden menu in Visual Studio this one can be found by opening Tools -> Options... -> Environment -> Keyboard and searching for "View.PropertyManager". There you can give it a global shortcut. While this only helps if you know the name of the menu or command you are looking for it's much faster go through a bunch of guesses this way than by randomly browsing menus.

How to change the default browser to debug with in Visual Studio 2008?

When you hit F5, the browser windows pops up, how do you set which browser the debugger users in Visual Studio 2008?
Update 1
I have looked for the 'Browse with' option and not found it.
Visual Studio opens the default browser instead of Internet Explorer
Update 2
If you are already debugging you dont have the 'Browse with' option.
Stop debugging and then its there!
Update 3
The accepted answer below is also relevant to changing the default browser to debug with in Visual Studio 2010.
(In the Project Solution window) Right click a page (.aspx, or on a folder)
Select Browse With...
Choose your browser
Click Set as Default
Click Browse
ASP.NET projects:
Right click a webpage (.aspx, or on a folder)
Select Browse With...
Choose your browser
Click Set as Default
Click Browse
ASP.NET MVC 1 projects:
Right click Default.aspx, then follow steps above.
ASP.NET MVC 2 projects:
As there is no Default.aspx, you need to create a Web Form (right-click project > Add > New Item) and follow the steps above.
If you use ASP-NET MVC, you need to right-click on Default.ASPX which will have a Browse With menu.
To permanently make Visual Studio open a project in IE without changing the default browser you can do the following:
Project Properties -> Web -> Start Action
Start external program: C:\Program Files\Internet Explorer\iexplore.exe
Command line arguments: Enter the url of the path to your start page ie http:\localhost\myproject\default.aspx
This won't allow you to debug client side script in Visual Studio though.
If you are using MVC 2 you do not need to create another project, just add component -> webform to the project then:
* Right click the webform
* Select Browse With...
* Choose your browser
* Click Set as Default
* Delete the webform
If you use MVC, you don't have this menu (no "Browse With..." menu)
Create first a normal ASP.NET web site.
I have passed this problem in VS2012. When I can't find "Browse with.." on the right-click of the project, I found it on File Menu -> Browse with. If it doesn't appear, first you have to click on menu bar, then try open file menu again. If it still doesn't appear, you can just go to Quick Launch on the top right of menu bar then type it "Browse with".
In VS 2010 just make the browser as your default broswer in which you want to run your application and there is no need to set anything in visual studio. I did it for google chrome and its working for me. I just made google chrome as my default browser and its working fine. I am almost sure that this should work in VS 2008 also.
First click show all files. Then in the bin folder choose any xml file and then right click and by selecting 'browse with' select your desired browser.
I find that the Browse With.. menu item only appears in Visual Studio 2010 when I Run as administrator. And in that case it is available even while in debug mode.
An easier way to do this is simply by selecting the arrow next to the Start Debugging:
Then in the Drop Down goto Web Browser and select the browser you would like to debug the site with, you can also select Browse with... to set the default as explained in other answers.
ie ---> Tools ----> Internet options -----> Programe ------> Make Defualt

Resources