Unable to add reference through suggested action in VS Community [duplicate] - c#

This question already has answers here:
Visual Studio 2019 hangs on "Execute Suggested Action" when adding a reference
(3 answers)
Closed 2 years ago.
While trying to add a reference to class in a unit testing class, it takes infinitly long time to execute. I am adding the reference through "Suggested action" shortcut.
I've attached an image below. This keeps going on. I have reinstalled VS, but the problem still there.

I've noticed that problem too, but in Visual Studio 2019 Professional some time ago. It has been fixed after an update.
Do you have any update to apply?
Anyway you should report the problem to Visual Studio community through the menu:
This is a boring problem but you can avoid it adding the reference manually using the Reference manager

Related

How to enable intellisense in Visual Studio 2017 for Unity [duplicate]

This question already has answers here:
Unity Scripts edited in Visual studio don't provide autocomplete
(35 answers)
Closed 5 years ago.
I've just gotten started with programming in Unity. I installed Visual Studio Code 2017 recently on Zorin 12. It's a nice interface, but there's no auto-completion! I realize that Ctrl+Space pops up some suggestions, but there are two problems that I'd like resolved with this:
The suggestions don't pop up automatically
The suggestions are based on redundancies in code I've already typed, not suggestions based on unexplored capabilities of Unity. If I'm working with a Transform object, for example, I want it to pop up all of the possible variables I could use, not just the one I used earlier.
Two errors I get can be seen at https://i.imgur.com/AwHl4ef.png
Thank you for your consideration.
For Windows or macOS:
Download/Install the Visual Studio IDE (with Unity Tools)
When installing, make sure you include installation of
Game development with Unity
Then using Unity (you can double click one of your C# files), open a new C# project and the Visual Studio IDE should open with your new project structure.
From there, you should be able to see what you are looking for.
For example:
For Linux (suggestion):
Try Monodevelop - Additional Information, it provides code completion/hints.

"SignTool.exe not found" when debugging in Visual Studio 2015 [duplicate]

This question already has answers here:
Visual Studio SignTool.exe Not Found
(8 answers)
Closed 5 years ago.
I was writing a simple program in Visual Studio that requires an external library. When I debug it everything went smoothly.
Since I want to distribute the exe alone without the dlls, I installed Costura, clear all the previous builds and then press debug. Strangely the error "SignTool.exe not found" error pops out. However I am not publishing the exe, I am just trying to build it, how come this error will pop out?
Even after I uninstalled Costura, this problem still exists.
I suspect that Costura modifies your project to require signing. If you don't care about signing, you can disable/revert it.
It seems that SignTool.exe is not installed by default for VS2015, but you can add it yourself.

Having trouble with referencing c# project from web forms project [duplicate]

This question already has answers here:
How to reference a C# Class Library project in Visual Studio 2010?
(2 answers)
Closed 8 years ago.
I am trying to write a page that displays a flow Diagram to the user. I downloaded the Tree Chart Generator from: http://www.codeproject.com/Articles/20508/Tree-Chart-Generator and added the Tree Generator project to my solution. However, when I try to reference TreeGenerator from my code behind, it is not recognized. I am sorry if this is a simplistic question, I am pretty new to .NET development.
Go to your web site project in the Solution Explorer, right click, click Add Reference, and select the project you want to reference. You may need to change to a "Solution" tab depending on your version of Visual Studio. I'm assuming Visual Studio because you didn't provide that detail in your question.

TFS Check-In button doesn't work [duplicate]

This question already has answers here:
Visual Studio isn't tracking changes, or checking out files from source control as I edit them
(11 answers)
Closed 9 years ago.
I use Visual Studio 2010 for developing apps for Windows Phone and TFS as a version control system. The repository is located at **.visualstudio.com. My project was integrated with it.
After I made some changes in code, I usually pressed the "check-in" button on "Pending Changes" tab, and the check-in took place. Everything worked fine.
But once the "check-in" started to remain unactive even after I made changes in code. The "Refresh" button on the same tab didn't help.
What can be the possible problem and why does the "check-in" button remain unactive even after making changes in code?
The problem was with the fact that my project was not online for some reason.
So, right-click on the project and pressing "Go Online" helped.
Sorry for spaming, and thanks to this question and answer: Visual Studio isn't tracking changes, or checking out files from source control as I edit them

Razor over MVC4 on dotNet 4.5 of VS12 doesn't work with Intellisense [duplicate]

This question already has answers here:
Intellisense in mvc4 project not working in vs 2012 professional?
(4 answers)
Closed 10 years ago.
Did this use to be an issue to someone here too ? I searched SO but could not find any posts that really helped me.
Some told me to press Ctrl+Space after inserting a 'dot', which is not what I would like to get. Razor used to work fine once I tested it with VS10.
[updated] it is Ctrl+Space
Intellisense does work in VS2012 with Razor. I've had problems before were visual studio will stop doing Intellisense. Usually a restart of visual studio will fix it for me.

Categories