Controls do not show up when dragging from toolbox - visual-studio

When I drag controls from the toolbox to an .aspx page or the designer for that page nothing shows up. I am using Visual Studio 2010 with an existing website project.
** Update
It seems to work now... I'm not sure if this was specific to one project, or a combination of things.

Is the project under source control or in a read only state?

I think the project is so messed up it just doesn't work. If I start a new project it works, so I'm going to leave it at that

Related

Visual Studio 2019 "Solution Explorer" "View Code" icon C#

Does anyone else have this issue? There does not seem to be a way to edit the Solution Explorer toolbar. One of the icons for Solution Explorer is missing in my C# projects.
I am using Version 16.10.3.
I managed to add this icon to the wrong place, but maybe you can find the right place and update this answer.
I did this by customizing menus:
Clicking Tools | Customize...
Selecting Commands tab
Clicking Add Command...
Selecting View
Selecting View Code, and then OK
It looks like what you have to do is find the right place to add it in the first place.
The options under Commands are Menu bar, Toolbar, and Context menu, none of which seems to fit. I looked around briefly; maybe you can do a more in depth search to find the right spot.
I have several extensions installed. One of these modifies the Solution Explorer behavior for dynamic nodes. It's possible that extension or another is interfering with this icon. Try also disabling your extensions and see if that has an effect.
Folks, I figured out the issue. When you create a .NET Core 5.0 project the VS environment is setup different. I deleted the .NET 5.0 project and recreated as a .NET Standard one with the same name and the icon showed up again.
In fact, the Studio 'solution' version is different although your using the exact same VS application. Problem solved for now.

i can't find the design viewer option in my visual studio community

when I create a new project the first time I can see the Design viewer option, but when I close VS and reload the project the second time I can't see the design viewer anymore, I didn't find the solution please help!
When you open VS you may see the code page. If you want to see the designer view, click in the menu View and Designer. You can also use the shortcut SHIFT+F7. But first make sure, you opened the file in the project explorer.

Visual Studio WinForms Designer: Unable to Move Controls inside of TabPage

I am using a .net core 3.1 WinForms Application.
Moving controls works perfectly fine outside of a tab control, but the moment I place a control inside of a TabPage I am unable to move it again. I can no longer select it from the designer either, and the only way I can is to select it from the properties menu.
After I access it from there, the only thing I can do is resize it, as shown in the image below:
Things I tried:
Made sure the component was not locked.
Pressed escape (as per the solution here)
Rebuilt the solution.
Restarted Visual Studio.
Deleted Visual Studio's AppData folder.
Made sure my Dock property was set to none.
Ensured Visual Studio is on my primary monitor
I really want to use tab pages with my application, but I don't want to keep resizing it everytime I want to move something, so any help is greatly appreciated.
Update: I decided to switch my project from .Net Core to .Net Framework and it now works, so it must have something to do with .Net Core. I'll leave this open if anyone has a solution for .Net Core.

Add option for BarButtonItem not appearing in Visual Studio form Designer

Sometimes when I open my Visual Studio form designer, I see the [Add] text to create a new BarButtonItem, other times I don't. This has led me to search for a way to create a new button several times now. Any idea what might be causing this?
Try to right click your bar manager, and check the Show DesignTime Enhancements.
Here is a link that may help.

Visual Studio Intellisense works in Class Library but not Web Project files

I'm not sure how this happened as up until this morning my Intellisense was working fine in Visual Studio.
Now, however, I have lost Intellisense in my web project's files. Also, I don't see the little toolbar at the top of the window that allows me to select objects and controls
i.e. This one:
I did notice however that Intellisense and the controls selection toolbar works in my class library.
Any idea how to fix this?
I've read somewhere about setting the Build Action of my web project files to "Compile", but I cannot find a BuildAction property anywhere.
Right click on your web project, Select "Property Pages"(Shift+F4) and Click on "Build" You will see a check box "Build Web site as part of the solution". Make sure that is checked. I would also check if there are any projects that are not loaded in your solution and also restart VS and try loading the solution once again. See if you still face this issue.

Resources