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
Related
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
This question already has an answer here:
When do i need to download the .Net core Runtime?
(1 answer)
Closed 2 years ago.
So a really basic question:
I wrote a c# console app. Not completly basic. There several classes outside the Programm.cs.
Now I wanted to show it to some friends so I send them zipped folder and and told them to go into \bin\Debug\netcoreapp3.1 and open the .exe file.
This works for me, but not for 2 of my friends who tried it.
A new windows opens and closes right away.
They seem to have the .Net framework installed.
Is there a way to open it without having install visual studio?
Thanks
Solved:
The issue was that .Net Core Desktop Runtime wasn't installed
Thanks everyone
You should publish your project. You will find the option to publish based on your visual studio.
Once your code is published, open \bin\release\netcoreapp3.1\publish..
And share this complete published folder
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.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to do a visual studio team project with a friend of mine. I looked at the Team Explorer tab in visual studio but I don't understand some of the words / terminologies there. For example, what is Source Control Explorer, Build Definitions etc.? I've already created a team project but how can I work on it? Where do I write code? I'm assuming that after I finish the code, the code is uploaded to something like xxxx.visualstudio.com and others can access my code files there. Am I correct? (I guess not)
On the other hand, How can I add people to my team? Visual Studio Online tells me to enter the username or the sign in address of the user. Is "sign in address" the Microsoft account of the user?
This applies to TFS, if you use Git it will be different:
Source Control Explorer is, well, how you look at source control. The primary thing you will do there is checkout projects.
Build Definitions is were you configure build server builds.
Pending Changes is where you check-in files you have changed locally
To work on your project, you have to create a workspace (using Source Control Explorer) that maps the repository to your local system. Then create your solution there, and to make things easy check "Add to source control". Otherwise, you need to manually mark it for addition (again, using Source Control Explorer).
Check-in using the pending changes tab. If you don't have your own TFS server (sounds like you don't) then the code will be uploaded to an online server. I'm not aware of any web interface, but there could be one.
You will add other users based on their Microsoft account in the online scenario, and via TFS or Active Directory users if you are on a local TFS server.
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.