All Properties option not visible in Visual Studio 2022 - visual-studio

I was compiling my solution using VS2022, In the Properties section of solution, I went to general then Modified Windows SDK version and platform toolset to some other values and click applied. The properties menu was changed from first pic to second pic and many options were not there as you can see.
Then I changed the SDK version and platform toolset as they were before and click applied but still can't see the full properties menu as shown in first pic. What could be the reasons my all properties options are not visible as before? How to fix this?

Related

How to upgrade c++ compiler version in Visual Studio?

Visual Studio 2019 generates an error when I try to build a project that I downloaded from github. The author of the github repository says that upgrading my c++ compiler version might solve this problem.
In the About tab in Visual Studio it says "Visual C++ 2019 00435-60000-00000-AA811". Is this the compiler version? And how do you upgrade the compiler?
"Desktop development with C++" was downloaded with "Get Tools and Features" a few days ago.
Please see the picture below for more detailed information about the error.
Go to extensions, then type ms-vscode.cpptools in the search bar.
Click on the C/C++ extension, and to the right of Uninstall, there should be a gear icon. Click it.
A dropdown menu should open. Select Extension Settings.
Now click in the search bar (sometimes it makes you click twice before you can type without replacing the extension filter) and type cppStandard.
From here, you should see two options, one for Cpp Standard, and one for C Standard.
Change Cpp Standard to your desired version.

Unable to browse to include reference in a Visual Studio C++ DLL project - any way to get around this?

I'm creating a DLL using C++ in Visual Studio 2015. I started my project by following these instructions.
I need to add a reference to my project so I can make use of an API and, unlike C# DLL projects (for example), I'm unable to access the Browse tab when clicking on Project > Add Reference.
According to this page this is because:
The number of tabs available at the top of the Add Reference dialog
box can vary, depending on the type of project open and the resources
it is using. C++ native projects contain only a Projects tab.
Why is there this restriction and is there any way to get around it?
EDIT: I've just found a solution here but I'm new to Visual Studio and I'm not sure how to set 'the CLR option' and then remove after adding my reference. If anyone can explain how to do this I would be very grateful!
I'm a little late to the party, but I recently encountered a similar problem and have a fix that might help the OP or others in the future.
Problem Overview:
Open the Visual C++ project[1] in Visual Studio[2]. In the top toolbar, click on "Project > Add Reference..." . In the window that pops up, there is no "Browse" button/option (see image No Browse option).
Solution:
In the top toolbar, click on "Project > Properties"[3]. In the left navigation panel of the window that pops up, click on "Configuration Properties > General" (this will probably be selected by default). In the right panel, click on "Project Defaults > Common Language Runtime Support". The field value should read "No Common Language Runtime Support" (see image No /clr). Using the drop-down menu in the Common Language Runtime Support field (the grey down-arrow box), select "Command Language Runtime Support (/clr)". Apply the change. The Property Page should now look like this. Click "OK" to close the Property Page. Now, when you go to add a reference, the window that shows up will have a "Browse..." button and look like this. If you want to subsequently remove CLR support[4], select the "No Common Language Runtime Support" option and apply the changes.
Notes:
[1] As you're probably aware, you can select from various project types when creating a new project in VS. I experimented with most of the Visual C++ project types included under the Visual C++ template. Since the problem -- lack of "Browse" option when adding references -- seems to be related to CLR support, you will encounter this problem in all Visual C++ project types that are not created as Visual C++ CLR projects. Thus, if you want avoid the problem from the get-go, consider creating a CLR project from the start.
[2] I was able to replicate the problem in Visual Studio 2015, 2017, and 2019; the same solution works for all versions.
[3] Before changing any Configuration Properties, use the Configuration drop-down list in the top-left of the Property Page to select which configuration you would like to change the properties for, e.g. Debug, Release, All.
[4] If you have added references after turning on CLR support, then turning off CLR support is dubious as suggested by #Cody Gray in the comments to the original question. I have not tried to build a project after doing something like this so I can't speak to the solution suggested here. My answer is just to tell you how to change the CLR support.
For C++ projects, you need to get all the projects into the same solution and then when you go to Add Reference you'll see the other projects listed. You then just check the box to 'add the reference'. Keep in mind that this will cause the import library of the DLL (or a static library for a non-DLL library project) to link against your target project. It will not add any include paths you might need to get to the import headers for your DLL.
DirectX Tool Kit has instructions for adding project-to-project references for a C++ project that you might find useful to read over. See here.
For some general background on C++ project-to-project references. See this Visual C++ Team blog post which was published when they were updated for Visual C++ 2010.

C/C++ file properties not showing in VS2010

Got this strange Visual Studio's behavior: when I open properties pages for C/C++ files, the C/C++ properties do not show.
The short description seems similar to 'Properties page not displaying in Visual Studio 2008', but it is actually quite different – the pages display as they should, also a tree of properties' categories are shown, and even the General properties display when clicked (Excluded From Build: No; Item Type: C/C++ compiler), but the whole C/C++ category tree shows no properties, and even no properties grid:
link to a full-resolution image
When I click the project, C/C++ properties are shown as usual, together with Linker properties and all other groups:
link to a full-resolution image
I tried to refresh the installation with setup.exe from the original installation disk, but that didn't help. Then I uninstalled the IDE and re-installed it back. Tried devenv /setup reconfiguration command, too.
Now I have no idea what I should check/fix next.
Forgot to specify OS: VS2010 + SP1, Win 7 Ultimate + SP1, 64 bit.
Is something else also selected along with C++ file in Visual Studio ?
Typically Visual Studio will show a Property page empty if objects from multiple selection does not have common properties. e.g. if you select a c++ file and solution at the top, a blank property page would appear.

Microsoft Macro Assembler tab does not show up in my VS2013

Although I have enabled masm checked box in my project properties under build dependencies tab but the Microsoft Macro assemble tab does not show up in my project properties. Is that a bug in my vs2013 or something else?
Look at the answers to the following question for some things to try: How to enable Assembly Language support in Visual Studio 2013
I had the same problem, but I was able to get Microsoft Macro Assembler to appear in the project configuration panel by following one of the suggestions listed at the above page. Specifically, I right-clicked an .asm file in the project and set the Item Type to Microsoft Macro Assembler. When I re-opened the project configuration, Microsoft Macro Assembler magically appeared in the list.
Not a bug neither an issue in the visual Studio.All that you are making mistake is not making tick on the empty project while making a new win32 project.That popup menu comes when you make a new project and you have to tick the empty project checkbox then it will be available as you asked.

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

Resources