VS professional 2017 test explorer is blank - c#

I updated my visual studio 2017 to latest version (15.7.3)
test explorer panel is blank.everything was fine until i updated this.
While building solution 'The code analysis package dint loaded correctly' error message displays.
I tried following:-
clearing component modal cache.
restart system/VS.
Run devenv/ setup as admin.
nothing working.I am unable to select default process architecture

Repairing VS resolved the problem

Related

Visual Studio crashes when launching SharePoint add in

My visual Studio 2017 community keeps freezing and i get the error message not responding when i deploy a Provided hosted add in to SharePoint. I can run all other types of projects that i have tried without any problems. I have a newly installed windows with just a few programs on it. I can run a console application to my SharePoint online without any problems. So i guess SharePoint isn't the problem.
What i have tried:
Reinstall windows
Reinstall Visual Studio
Reinstall ISS
Update Visual Studio
Update windows
Disable some debug options (Read online that might help)
And some minor things
I appreciate any help/tips i can get everything is helpful at this point.
i had same problem and i figure out its firefox problem, so when i uninstall firefox, problem solved for me,
may be it help you as well.
Same issue for me, you need to change the default browser from "Start Action" to "Internet Explorer" in the Add-in project properties pane.

Publishing RC2 not working in VS2015

I have an empty RC2 WebAPI created using Yeoman and I can restore, build and run it both using command line (dotnet) and using Visual Studio. Unfortunately I cannot publish my project. When I right click and choose "Publish.." nothing happens.
So, I tried to open the "Web Publish Activity" window and create publish from there, but then I receive an error saying that Microsoft.VisualStudio.Web.Publish.Core.Contracts.IProfileCreator cannot be loaded. I have the most recent version of the Azure SDK (2.9.1) and to my knowledge the latest VS update (Visual Studio Professional 2015, Version 14.0.25123.00 Update 2).
I have tried to install/update/repair this extension as described here but I cannot seem to find it, unsure if this is replaced by the "Microsoft ASP.NET and Web Tools" which I have installed and updated. Thinking that it might be related to this, I also tried devenv /updateconfig and devenv /setup as administrator. No success.
Any ideas?

Installing Visual Studio 2015 Update 1 give me lots of : "package did not load correctly"

I installed VS2015 with update 1 on Windows 7 Entreprise English over Visual Studio 2015. The setup result was some error(s). I Restarted my machine and run the setup again. The setup completed successfully.
Note: that I had Resharper installed on first setup and I removed before retry the setup for the second time (which succeeded).
After re-installation, I got many message box with "package did not load correctly".
Example:
Now my visual Studio 2015 with Update 1 is totally upside down??? I got error message on start (package did not load correctly):
Python Tools Package
XamarinShellPackage
And many more when loading a project (package did not load correctly):
CollaborationPackage
...
Any idea on how we can solve that problem???
Update: I'm trying now to uninstall and then re-install again with Visual Studio 2015 with Update 1...
I fixed my problem by uninstalling Visual Studio 2015 completely and re-install VS2015 with Update 1.
I found this, maybe that can solve your problem:
Packages not loading after installing visual studio 2015 RTM
By
Shittu Joseph Olugbenga
All i did to get it working was to follow this step:
1.Close all instances of Visual Studio
2.Delete everything in this folder C:\Users\\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
3.Restart Visual Studio
Though I have not tried this for 2015, I believe this should solve the
problem too. To do this for visual studio 2015, 12.0 should be changed
to 14.0
I had to do a combination of the other answers, none of which was uninstalling VS
I renamed C:\Users\{User}\AppData\Local\Microsoft\VisualStudio\14.0
started VS2015
closed it down
did the binding redirect for System.Collections.Immutable from https://stackoverflow.com/a/34018770/57883
Then I've been copying the extensions I think are safe over and seeing if projects all still load.
Try restarting the computer. It was what fixed the issue for me (which appeared right after modifying my installation, and I had not restarted the computer).
Close Visual Studio
Delete following folder C:\Users\%username%\AppData\Local\Microsoft\VisualStudio\xx.x\ComponentModelCache
and file
C:\Users\%username%\AppData\Roaming\Microsoft\VisualStudio\xx.x\ActivityLog.xml
Restart Visual Studio
Uninstall and re-install visual studio 2015

Visual Studio won't load my VSIX package

I'm trying to create my own VSIX package using the Project template. But when I actually launch it, it doesn't appear to be loading anything. That is, when running the project, it opens up another copy of visual studio, but it doesn't actually load up my plugin. I've compared my plugin to the other sample templates, and I just don't see anything wrong. It seems like it should be pretty straightforward. Are there any other steps besides creating the project that I have to do?
Are you using the visual studio experimental instance for debugging? You can enable this in the Project properties (right click your project and choose properties). Go to the 'Debug' tab and add the following line to 'Command line arguments': /rootsuffix Exp
More information about the experimental instance can be found on msdn.
I spent an entire day trying to reset Visual Studio (2015 Community Edition) by unloading features, deleting the cache directory, using the install to repair -- all with no success.
I finally uninstalled Visual Studio with success. When I initially installed Visual Studio, I had packages errors, like Python, that failed to load, but my Test Explorer worked beautifully. The test Explorer package stopped working in time. After re-installation, everything worked without any package load errors. Also, pay attention to the xml error files, because mine produced exceptions thrown by the package. (The xml error file is reported in the error dialog when Visual Studio informs the package failed to load.

When creating a WCF project in VS2010, I get "Error : WcfProject.csproj cannot be opened. The project type is not supported by this installation"

hey there. So, we have a VS2010 project and the VisualSVN server on one machine. We added a new machine with the client visual svn and the projected loaded in. except for the WCF service. i'm getting a...
" error : the project file c:/..../wcfProject.csproj cannot be opened.
The project type is not supported by this installation."
i've checked the directory, the files and file structure are there and the same as the main development machine. any tips/solutions?
thanks
David K.
I had a similar problem with some WCF solution which I downloaded from a blog.
The solutions of running deveng with the switches did not resolve my issues. After some more searching it turned out that the following clue in the answer of Ralph Willgoss lead to the solution of my problem:
I resolved it by installing the Visual Web Developer.
I also had to (manually) install the Web Platform Installer to (automatically) download the last requirements for the project to properly load.
I had a similar problem when trying to create a new project of the following types:
WCF Service Application
WCF Work Flow Service Application
Syndication Service Library
I was using Windows 7 Ultimate 64bit, with no other versions of Visual Studio installed.
I also had tried many other options, such as:
devenv /resetsettings
devenv /resetskippkgs
ensuring I had C++ option of VS2010 installed
VS2010 Service Pack 1
I resolved it by installing the Visual Web Developer.
There are a few things this could be so I can't give you one specific answer. However, here are a few things to try on your machine that is throwing the error:
First, verify which version of Visual Studio is set as the default for opening csproj files. It could be that you installed SQL or something else that uses an older version of Visual Studio. Sometimes that can give an error. Even if the default is the Visual Studio version selector I've seen it throw an error. Open up the correct version of Visual Studio (through the Programs menu) and then inside Visual Studio try to open the package. If that works, you know the issue is with which version is opening the file.
If that doesn't work, you could try resetting the Visual Studio settings. From the run menu type devenv /setup This should reset the Visual Studio environment and hopefully it will fix the issue. If this does not work, try running devenv /ResetSkipPkgs from the Run menu. This will try to load any packages that Visual Studio previously skipped.
If these steps don't work, let us know. Give us any further error messages that come up after attempting these steps.

Categories

Resources