VisualStudioExtensions | Launchers for Visual Studio | Code Editor library
kandi X-RAY | VisualStudioExtensions Summary
kandi X-RAY | VisualStudioExtensions Summary
Launchers for Visual Studio
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of VisualStudioExtensions
VisualStudioExtensions Key Features
VisualStudioExtensions Examples and Code Snippets
Community Discussions
Trending Discussions on VisualStudioExtensions
QUESTION
I'm updating an old Visual Studio extension for VS 2017. It compiles fine from Visual Studio and msbuild in debug and release on my local computer.
This is the msbuild command line I am using:
...ANSWER
Answered 2017-Oct-05 at 08:13Visual Studio 2017 extension - VSToolsPath not working
I got the same result as you based on your scripts. After installed the NuGet package Microsoft.VSSDK.BuildTools
to the project, the Microsoft.VSSDK.BuildTools.props
will be imported in to project file, open the project file, you can find below Import
:
QUESTION
I have a Unit Test Project (targeting .net 4.5.2) that has 100s of tests in it. It was working fine in test explorer and running properly for a few weeks. A few days ago, VS 2017 crashed on me and when I reloaded it Test Explorer no longer showed any tests. I've done a variety of steps (like deleting %TEMP%\VisualStudioExtensions) that were mentioned in other related questions but nothing has seemed to work.
What's worse is that I've tried adding a new Unit Test project and, with the default test, just threw an assert fail and even that test isn't showing up in test explorer.
After messing with this for a few days, I'm starting to get worried that I will need to do something bananas like uninstall/reinstall VS 2017 to get these back (although I have no real faith that that will work).
My questions are:
1) Any ideas on what I can do to bring these test back or maybe fully reset test explorer so that it somehow forces those tests to be recognized?
2) Does anybody have any recommendations for alternative test runners outside of VS 2017. I'd hate to use another tool to run my tests, but at this point, I'm scared that this will happen at a critical time and I just won't have time to fiddle around with things again.
UPDATE I had dependencies on XUnit and FluentAssertions. When I remove the XUnit dependency, it seems to be recognizing tests again. There were no errors thrown or being logged by VS during build so I'm not sure what was going wrong. If anybody has any ideas, I'd love to hear it. I'd also still like to have some backup option for running my tests because we use XUnit extensively so re-writing these tests will be a pain and I would prefer not doing this again in the future.
...ANSWER
Answered 2017-Jun-02 at 08:01I'm not sure if it's the case here, but try checking the platform target in your test project properties. (Right click on a project > Build) Make sure it's Any CPU, or the same as in your project.
As for other tools, ReSharper works pretty well. Together with DotCover you can also see code coverage line by line.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install VisualStudioExtensions
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page