Answered by:
A fatal error has occurred and debugging needs to be terminated. For more details please see the Microsoft Help and Support web site. HRESULT=0x8000ffff. ErrorCode=0x0.

Question
-
Steps to reproduce:
Right click in a unit test
click start debugging.
A fatal error has occurred and debugging needs to be terminated. For more details please see the Microsoft Help and Support web site. HRESULT=0x8000ffff. ErrorCode=0x0.
Visual Studio Info:
Microsoft Visual Studio Community 2017 RC
Version 15.0.26206.0 D15REL
Microsoft .NET Framework
Version 4.6.01586Installed Version: Community
Visual Basic 2017 RC 00369-50000-00000-AA523
Microsoft Visual Basic 2017 RCVisual C# 2017 RC 00369-50000-00000-AA523
Microsoft Visual C# 2017 RCVisual C++ 2017 RC 00369-50000-00000-AA523
Microsoft Visual C++ 2017 RCVisual F# 4.1 00369-50000-00000-AA523
Microsoft Visual F# 4.1ASP.NET and Web Tools 2017 15.0.30206.0
ASP.NET and Web Tools 2017ASP.NET Web Frameworks and Tools 2017 5.2.50127.0
For additional information, visit https://www.asp.net/Azure App Service Tools v3.0.0 15.0.30126.0
Azure App Service Tools v3.0.0Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.Azure Data Lake Tools for Visual Studio 2.2.5000.0
Microsoft Azure Data Lake Tools for Visual StudioCommon Azure Tools 1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.Fabric.DiagnosticEvents 1.0
Fabric Diagnostic EventsGitHub.VisualStudio 2.2.0.6
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.JavaScript Language Service 2.0
JavaScript Language ServiceJavaScript Project System 2.0
JavaScript Project SystemJavaScript UWP Project System 2.0
JavaScript UWP Project SystemKofePackagePackage Extension 1.0
KofePackagePackage Visual Studio Extension Detailed InfoMarkdown Editor 1.10.186
A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.Merq 1.1.13-alpha (2f64b6d)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.Microsoft Azure Hive Query Language Service 2.2.5000.0
Language service for Hive queryMicrosoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggersMicrosoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC PackageMono Debugging for Visual Studio Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.NuGet Package Manager 4.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.Open Command Line 2.1.179
Opens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files.Redgate SQL Search 2.3.9.1092
Search functionality for SQL Server databases, from within Visual StudioSQL Server Data Tools 15.1.61701.270
Microsoft SQL Server Data ToolsToolWindowHostedEditor 1.0
Hosting json editor into a tool windowTypeScript 2.1.5.0
TypeScript tools for Visual StudioVisual Studio Spell Check Everywhere VSSpellCheckEverywhere
An extension that enables spell checking within any Visual Studio file editor or tool window that uses WPF text boxes.
https://GitHub.com/EWSoftware/VSSpellCheckerVisual Studio Spell Checker VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type or interactively with tool windows.
https://GitHub.com/EWSoftware/VSSpellCheckerVisual Studio Tools for Unity 3.0.0.1
Visual Studio Tools for UnityVisual Studio Tools for Universal Windows Apps 15.0.26206.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.Xamarin 4.3.0.664 (f42aa37)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.Xamarin.Android 7.1.0.31 (c9880f9)
Visual Studio extension to enable development for Xamarin.Android.Xamarin.Android SDK 7.1.0.31 (c9880f9)
Xamarin.Android Reference Assemblies and MSBuild support.Xamarin.iOS 10.4.0.102 (20d957a)
Visual Studio extension to enable development for Xamarin.iOS.Xamarin.iOS and Xamarin.Mac SDK 10.4.0.102 (20d957a)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.csproj file
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp1.1|AnyCPU'"> <OutputType>Library</OutputType> </PropertyGroup> <PropertyGroup> <TargetFrameworks>netcoreapp1.1;net462</TargetFrameworks> <AssemblyName>AdaptiveClientDemo.Tests</AssemblyName> <PackageId>AdaptiveClientDemo.Tests</PackageId> <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> <NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion> <PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">$(PackageTargetFallback);netcoreapp1.1;portable-net45+win8</PackageTargetFallback> <RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">1.1.0</RuntimeFrameworkVersion> <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> <ApplicationIcon /> <OutputTypeEx>library</OutputTypeEx> <StartupObject /> </PropertyGroup> <ItemGroup> <ProjectReference Include="..\..\src\Application.Core\Application.Core.csproj" /> <ProjectReference Include="..\..\src\Application.Domain\Application.Domain.csproj" /> <ProjectReference Include="..\..\src\Application.Model\Application.Model.csproj" /> <ProjectReference Include="..\..\src\Application.Services\Application.Services.csproj" /> <ProjectReference Include="..\..\src\Application.WebAPIClient\Application.WebAPIClient.csproj" /> <ProjectReference Include="..\..\src\Application.WCFClient\Application.WCFClient.csproj" /> <ProjectReference Include="..\..\src\AppComponents\AppComponents.csproj" /> </ItemGroup> <ItemGroup> <PackageReference Include="LeaderAnalytics.AdaptiveClient" Version="0.12.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20170210-02" /> <PackageReference Include="MSTest.TestAdapter" Version="1.1.10-rc2" /> <PackageReference Include="MSTest.TestFramework" Version="1.0.8-rc2" /> <!--<PackageReference Include="dotnet-test-nunit" Version="3.4.0-beta-1" />--> <!--<PackageReference Include="NUnit" Version="3.6.0" />--> <PackageReference Include="Microsoft.AspNetCore.TestHost" Version="1.1.0" /> <PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" /> <PackageReference Include="Moq" Version="4.6.38-alpha" /> </ItemGroup> <ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.1' "> <PackageReference Include="System.ServiceModel.Duplex" Version="4.3.0" /> <PackageReference Include="System.ServiceModel.Http" Version="4.3.0" /> <PackageReference Include="System.ServiceModel.NetTcp" Version="4.3.0" /> <PackageReference Include="System.ServiceModel.Security" Version="4.3.0" /> <PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" /> </ItemGroup> <ItemGroup Condition=" '$(TargetFramework)' == 'net462' "> <PackageReference Include="System.Diagnostics.Process" Version="4.3.0" /> <Reference Include="System.Runtime.Serialization" /> <Reference Include="System.ServiceModel" /> <Reference Include="System.Xml" /> <Reference Include="System" /> <Reference Include="Microsoft.CSharp" /> </ItemGroup> <ItemGroup> <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> </ItemGroup> </Project>
Tuesday, February 14, 2017 2:20 AM
Answers
-
Thank you Oscar, there are no other updates for VS at this time.
I managed to isolate the lines below in the .csproj file. These lines were added by VS or the conversion tool.
<!--<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> <NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion> <PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">$(PackageTargetFallback);netcoreapp1.1;portable-net45+win8</PackageTargetFallback> <RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">1.1.0</RuntimeFrameworkVersion>-->
- Marked as answer by SWheaties Sunday, February 19, 2017 10:11 PM
Thursday, February 16, 2017 2:20 AM
All replies
-
Hi SWheaties,
I could not repro your issue in my side, because I could debug a new unit test without any problems.
So please update the VS2017 RC to the latest version.
Tools->Extensions and Updates -> Updates-> Update the VS2017 RC.
Then try again.
In addition, please create a new project, and debug it to see whether has the same issue.
Sincerely,
Oscar
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- Edited by Oscar_Wu Wednesday, February 15, 2017 7:30 AM
Wednesday, February 15, 2017 3:13 AM -
Thank you Oscar, there are no other updates for VS at this time.
I managed to isolate the lines below in the .csproj file. These lines were added by VS or the conversion tool.
<!--<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> <NetStandardImplicitPackageVersion>1.6.1</NetStandardImplicitPackageVersion> <PackageTargetFallback Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">$(PackageTargetFallback);netcoreapp1.1;portable-net45+win8</PackageTargetFallback> <RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.1' ">1.1.0</RuntimeFrameworkVersion>-->
- Marked as answer by SWheaties Sunday, February 19, 2017 10:11 PM
Thursday, February 16, 2017 2:20 AM -
Hi SWheaties,
According to your description, when you comment these code, the error appeared, am I right?
Have you created an new project to test?
Sincerely,
Oscar
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.Thursday, February 16, 2017 2:29 AM -
>>when you comment these code, the error appeared, am I right?
No - when I comment the code the error went away.
>>Have you created an new project to test?
Yes but I cannot reproduce the error.
Sunday, February 19, 2017 10:10 PM -
Change your project type from Library to Console Application
It works fine for me...
My final csproj is here: https://gist.github.com/ircnelson/9cbddb681d520d7f581dbfc99709a9e1
Tuesday, May 23, 2017 1:32 PM -
Try clean the solution first. Tool -> Clean SolutionFriday, July 28, 2017 4:25 PM
-
If that doesn't work, you need to manually delete all of the "bin" and "obj" folders.Thursday, January 4, 2018 8:59 PM
-
Hello,
Faced this issue while playing with Azure Functions V2 and was able to resolve it by updating the packages in VS. Navigate to the path below and then update the packages. It worked like a charm for me.
Tools->Extensions and Updates -> Updates-> Update the VS2017.
Thanks
Thursday, March 14, 2019 9:12 PM