Cannot assign code reviewer in Visual studio 2012 - visual-studio

Recently we migrated to Team foundation server 2017 but our solution is still in VS 2012. Sometimes when we try to assign code review under My Work, no users are showing and Area path of the code review is also blank. After we close the Visual studio and open again, it works fine as we can able to see the work item mapped to correct area path and it allow us to select the reviewer (any user). Is it bug or known issue ? Any work around ?

Related

Visual Studio pops to the foreground without reason

I am experiencing this weird problem with Visual Studio 2022.
I created the skeleton of a new web application using individual accounts.
I have run the first migration, created some default accounts in the aspnet identity tables and
finally launched the application to test if everything was correctly setup in my PC.
Visual Studio compiles the application without problems and launch the defaul browser (Edge).
The standard Welcome page appears but immediately Visual Studio pops to the front doing nothing.
No errors, no messages nothing wrong. Just the code window here to obscure the browser window.
Now, I switch to the browser window and click on the Login link.
Again, the login window briefly appears in the browser but it is immediately obscured by Visual Studio.
Switch again to the browser, compile the required fields and click on login.
Again Visual Studio thinks that he is the best app on the planet and brings itself on the foregroud.
I have tried to switch to another browser, but the results are the same.
I have tried with an existing application written with Visual Studio 2019, but again the "pop in front of everything" still happens.
I have tried to search for this problem but probably I haven't find the right keywords to represent this problem correctly to a search engine.
I think that probably I have something wrong in the Visual Studio configuration, but it is practically impossible to find something there if you don't know what to look for.
The only option that seems to be related is "Bring Visual Studio to the foreqround when breaking in the debugger" but even after uncheking the option the "pop to front" persists.
So my question is simple. Has anyone experienced a similar behavior? If yes how have you fixed it?
Well, probably this situation is so messed that none will ever see this post.
Nevertheless I would like to share how I have finally resolved the question and leave here a warning for future readers.
The cause of Visual Studio 2022 hiccups is, probably, the import of Visual Studio 2019 settings.
I thought that it was a good idea to set 2022 with the same options used in the last 3 years so, after installing VS 2022
I used this very useful menu (Tools->Import Export Settings) to export all the Visual Studio 2019 Settings in an XML file and I reimported it in 2022.
I thought, if the file is not compatible with VS2022 surely it will abort the import. Right?
No, Visual Studio 2022 doesn't complain during the import of 2019 settings.
But something in that exported file should be very broken.
I have resolved the problem with these steps
Close Visual Studio 2022
Open a command prompt window with administrator rights
Change to the install folder for Visual Studio 2022 and then change dir to subfolder "Common7\IDE"
Finally execute the command
devenv /ResetSettings
After this everything started to work as expected without problems.
I have saved the broken VS2019 setting file and tried to compare it with one produced after the reset,
but they have too many differences to extract something useful to identify the specific problem area

Where to download Visual Studio 2017 Community edition from?

I Googled "download Visual Studio 2017" and was taken to this page, which, at the present time, looks somewhat like this. I have edited out some elements on the page to make all the parts relevant to my question fit in one graphic.
Clicking the Older Versions button at the bottom of the page takes me to this other page that looks like the picture below.
Clicking the Download button on the page above takes me to this page, which reads as follows as also depicted in the picture below.
If I click the Visual Studio Dev Essentials link, I am taken to my subscriptions page that looks like this:
Now, I don't know where to go from here. I have been using Visual Studio for over 22 years now and all the time doing whatever it asked me to do. If it asked me to put my email somewhere, I did. But I ain't buying no nothing.
So, my question is: where do I get Visual Studio 2017 Community from?
I see other websites claiming to have the download, and I trust that they sure do have good intentions, but I ain't downloading anything from a third-party unless a lot of people vouch for the authenticity of that download.
Why do I want Visual Studio 2017 when there's Visual Studio 2019 already?
I already have been using Visual Studio 2019 since the day it was released. The thing is: I wanted to set up the source code of ASP.NET MVC v5.2.6 on my machine. I tried and it gave me trouble, so I wrote to them team guys. And they wrote back saying it would run only on VS 2017 and not on VS 2019.
In order for downloads to work at my.visualstudio.com you need to have a subscription of some description. The easiest one (and the only one I have associated with my account) is Visual Studio Dev Essentials:
This subscription is free and it looks like there's a button captioned 'Join Visual Studio Dev Essentials' at the top of your Subscriptions page that you should be able to click to subscribe. Once you've done this, the Downloads page should lead you to:
You can download from there.
It's worth mentioning that Visual Studio Dev Essentials has quite a few other benefits (including Azure credit in the first month, other Azure freebies for the first year and some other goodies) so it's well worth a look in general.

Errors while running Microsoft Visual Studio 2015 Community Edition

I have recently installed Microsoft Visual Studio 2015 Community Edition on my laptop.
Since the time of installation I have been facing a few issues.
I was not able to even access the New Project option itself.
Some of the times I will be able to access it however, sometimes it does not even allow me to access a single file of my solution in the startup itself it gives me an error.
I have attached a set of five screenshots in this query. There is some blank space after users path, I removed an extra folder name(username) from the path so dont get confused with that.
The detail of all the screenshots are as follows:
1) This is the image I get when I launch the Visual Studio on my laptop.
2) Once I click 'NO' option on the first dialog box I get a new one stating an error with the source code.
3) Once that is done, I move onto Solution Explorer to access the solution and I get this log.
4) When I try to access the tools tab to check for options I get this error message.
5) I had even tried to create a new project and the following error provided in this screenshot would appear.
I am not able to understand where I could have gone wrong or what happened that has corrupted the application to this extent. Is it an installation issue or are there some bugs in this version of Visual Studio, if there are any I would be more than happy to move to previous versions as I was a lot happier with them than this one.
If someone would help on this concern I would be really thankful.
Regards,
Harrisson
First, I went ahead and uninstalled the current version of Microsoft Visual Studio 2015 from my system. Then, I searched and removed the data from the temporary files related to MS VS 2015 from the following paths:
C:\Users\Username\AppData\Local\Microsoft\VisualStudio
C:\Users\Username\AppData\Roaming\Microsoft\VisualStudio
Once this had been done, I went ahead and installed Visual Studio 2015. After installation, I installed the additional support directories for Visual C++. You can do the same for the platform you wish to work on.
Then I installed updates from the following link:
https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs
Once I started the solution it worked perfectly fine after that with no errors.

Visual Studio 2015 IntelliSense not displaying all methods

I recently upgraded to Visual Studio 2015 from 2013 because for some reason 2013 would not work on Windows 10 for me, even after multiple install attempts.
The only issue is IntelliSense is not displaying methods from other forms. For example, when I start typing one of the names of one of my forms, the only thing IntelliSense displays is:
However, the form has dozens of public methods, and the IntelliSense worked fine before in 2013.
Interestingly, I can still call the method if I remember the name by manually typing it, i.e. Form1.TestMethod().
Does anyone know the fix for this? I am using Visual Studio 2015 Update 1.
I have the exact same problem and opened a support incident with Microsoft. They have verified per their answer below, that this is a bug with VS 2015 Update-1. We have a few computers running with just VS 2015(no update 1) that work just fine. I will pass along any further information that I receive from Microsoft.
Response from Microsoft:
"Yes this happens only with Visual Studio 2015 update1. It seems to
be a bug in VS2015 Update1, I am discussing with product team to fix
this issue.
If you just avoid using default instance of forms. Creating a form instance, storing it in a local variable or field, and passing those
references around is easy enough. It's also a much better practice
that will make your code stronger overall.
Dim f As New Form2
f.TextBox1.Text = "Hi"

Visual Studio doesn't authentificate me after I switch versions

In Visual Studio (no matter if 2013 Professional, 2013 Community or 2015 Community, they all behave the same on different machines in different places and networks like home, office, friends' places) can't seem to access my login information and asks me to re-enter user and password. Here is a screenshot of the message, followed by a rough translation because I use the German version:
Translation: "An error occured, and no user information could be accessed for "[email address]". Re-enter your login information for this account. (Link: Re-enter login information)
(box with my correct live id)"
I haven't found a way to get any details about what error occured where and when or why, which doesn't help. Apparently it does save which account I use, but without re-entering my log-in at least once a day, functions that rely on it (e.g. accessing TFS repositories that my account has rights to) do not work. It seems to have some correlation to the time since I last logged in, because even after rebooting the machine it still works correctly if I logged in before.
It's not preventing me from work, but it's still very annoying. I've spent quite some time on google, but when I look for keywords like "visual studio login error" or similar fitting things I find all kinds of pages mainly about Visual Studio Online, or pages that explain how to login inside of Visual Studio - nothing mentions this problem, so I suppose it isn't a very common one.
My internet connection in all places is usually pretty stable, and no other open application show any signs of connection problems, so I can all but rule that out as the cause.
It took a while, but it seems to be a problem only when I switch versions of Visual Studio. I.e., if I only use 2013 for a while, it works fine. If I then login with 2015, I get the error when I use 2013 again after that, and vice versa.
I've fixed this issue by allowing visual studio through the windows firewall, then restarting visual studio. It stems from parts of visual studio not having access to the authentication servers.
Press the windows key and search for "firewall" and select "allow a
program through windows firewall
Click "Allow another program..."
Choose Visual Studio from the programs list and click add
Restart (or start) Visual studio

Resources