How to open project properties in VS 2017? - visual-studio

I am trying to open Project Properties window in VS 2017 in order to add header files in a way described in this topic However it turned out to be very frustrating as when I reproduce steps described in the documentation (Project -> [project name] Properties), I end up with a different window, missing some content that is crucial in my case (Common Properties -> C/C++).
What I expect:
What I get:
How do I open the window that contains Common Properties?

Turns out that window can only be opened in C/C++ project, not in C#

Related

visual studio code intellisense not working(mac)

after opening the C# project I get
fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: Desktop/UNITY STUFF/action platformer/Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
Attempted to update project that is not loaded: Desktop/UNITY STUFF/action platformer/Assembly-CSharp-Editor.csproj
does anyone have a solution?
thanks in advance
Close Visual Studio.
In Unity go to Edit < Preferences < External Tools
And make sure External Script Editor is Visual Studio so that additional checkboxes appear.
Make sure Generate all csproj files is checked, and Editor Attaching is checked
On MacOS: Check all checboxes. Click "Regenerate project files".
You may need to close and reopen Visual Studio.
I solved this issue by doing the following on VSCode:
Go to settings. (Code -> Preferences -> Settings on Mac)
Search "omnisharp".
Find the section "Omnisharp: Use Global Mono," and set it to
"always."
Find the section "Omnisharp: Path," and click "Edit in
settings.json."
Change "omnisharp.path" as "omnisharp.path": latest".
Reload the window.
Original answer is here: https://stackoverflow.com/a/63603883/9337700

Change SSIS protection level for Project in VS 2010

I am using Visual Studio 2010 Shell and I have had to change my ProtectionLevel to 'DontSaveSensitive' mid project.
Now I get an error: Basic Checks.dtsx has a different ProtectionLevel than the project.
However, there is nowhere in the Project properties that I can see where the ProtectionLevel can be changed to match. All searches seem to indicate this is easy in VS 2012 but can't find any info for VS 2010
Any help would be greatly appreciated!
thanks
Ravi
You have two different places where you can set ProtectionLevel.
First place is properties pane of a package, second place is properties pane of entire project (right click on a project and you will find it under Common Properties). Ensure that you have the same setting in both places.

How do I restore a property sheet to its default value?

Let's say I carry out the following steps immediately after first installing and opening Microsoft Visual Studio 2010:
File -> New -> Project -> Win32 Console App -> Finish.
Go to the Property Manager pane -> Expand Debug | Win32 -> Right click Microsoft.Cpp.Win32.user -> Select Properties.
Wildly change settings in a clueless manner, and generally act like a fool.
Click Apply, save the project, and close Visual Studio.
How do I restore the Microsoft.Cpp.Win32.user property sheet to its default, "factory" settings?
I'm not sure if this is the official way, but it does work...
The default property sheets are stored in the following directory:
%USERPROFILE%\AppData\Local\Microsoft\MSBuild\v4.0
And if you delete them, they will be automatically recreated by Visual Studio using the default settings next time that it is launched.
So you can simply delete Microsoft.Cpp.Win32.user.props from that directory and restart VS.
Putting it all together, from the command line, simply issue the following command:
del %USERPROFILE%\AppData\Local\Microsoft\MSBuild\v4.0\Microsoft.Cpp.Win32.user.props

Resetting a Visual Studio C++ project's settings

I changed some parameters in a Visual Studio C++ project, and now I don't remember how to "go back". Is it possible to reset the build settings?
I don't mean the IDE settings (menu Tools -> Import and Export Settings).
Am I the only person that can read?!
The only way I know how to reset a "Parameter in a Project's Settings",,,
Is to open the Project file(csproj, vcxproj) with a text editor, and remove the block defining that parameter.
If you wanted to reset the Allow Isolation value, you would delete this text.
<AllowIsolation>true</AllowIsolation>
When project files are loaded by visual Studio, values which are not explicitly defined in the file, are assumed to be using the default. This will only work if the property has a default value(can't change some).
NOTE: This is NOT the same as Deleting the value from the Project Properties Dialog in VS. That method writes a blank value to your project file.
The command "devenv /resetsettings" will restore Visual Studio back to its original factory state.
You can find list of devenv switches here.
You may be able to get the previous/saved version of your Visual Studio project (*.vcproj) from your software version control system.
As many wrote here before, there is a need to reset your visual studio to default settings. Just follow this: https://msdn.microsoft.com/en-us/library/ms247075(v=vs.90).aspx
Here is the awful method I used in Visual Studio 2022.
In "Property" pages, expand the individual configuration you want.
Click "All Options" and find the bold options you had changed.
To restore the defaults, click the options and select "<inherit from parent or project defaults>".
Click "Apply", then it will recover its original value.
Otherwise, you can compare the *.vcxproj with the project templates.

Why does Visual Studio launch multiple WebDevs when I debug?

I have a Visual Studio 2008 solution with several projects in it - some of which are web applications / sites.
Whenever I go "Debug > Start new instance" for a specific web application and VS launches the ASP.net Development Server (WebDev.WebServer.EXE) for that application, VS also launches 3 additional such processes - one for each of 3 other web applications I have in the solution.
How can I tell Visual Studio to only launch WebDev for the one project I'm debugging? I've looked both in the project configurations and in the solution configuration and could not find the relevant setting...
I think it runs one for each Port -- you can try turning setting them to have the same port - click on the project and look at the properties pane (you have to turn off the the automatic port generation and then set the port#)
I tried the above solution but it did not worked. My solution was a vs2005, what I found to solve the project was to make the property window of VS 2008 visible. Then click on the web projects and then set the "Always start when debugging" property to false and this should take care of it :(
In Visual Studio 2008, there is an entry on the Properties page for the project called "Always Start When Debugging".
Note you have to get to this by selecting the project and going to the Properties pane (or right-clicking Properties). This option is not present when you double-click the project and open it in the main editing pane.
VS by default sets this value to on for all your web projects. Turning it off will solve this problem.
[editorial]This is fairly annoying and I wish the default were false![/editorial]
Suggestion - don't use the internal WebDev, use IIS instead. Also reduces the clutter in the systray. ;)

Resources