persistent rzc discover exited with code -2147450730

Viewed 221

I understand this is usually a pointer error. However, I can't seem to solve it here is what I have tried:

  • Repair visual studio
  • Repair .NET core
  • Reinstall visual studio
  • Reinstall .NET core
  • Clean and rebuild the solution

After doing all of these I am still getting the same error. Does anyone have any more ideas on how I could solve this issue? In case it is needed it is being triggered on line 79 of Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets which is the following code block

  <RazorTagHelper
  Debug="$(_RazorDebugTagHelperTask)"
  DebugTool="$(_RazorDebugTagHelperTool)"
  ToolAssembly="$(_RazorToolAssembly)"
  UseServer="$(UseRazorBuildServer)"
  ForceServer="$(_RazorForceBuildServer)"
  PipeName="$(_RazorBuildServerPipeName)"
  Version="$(RazorLangVersion)"
  Configuration="@(ResolvedRazorConfiguration)"
  Extensions="@(ResolvedRazorExtension)"
  Assemblies="@(RazorReferencePath)"
  ProjectRoot="$(MSBuildProjectDirectory)"
  TagHelperManifest="$(_RazorTagHelperOutputCache)">
  <Output
    TaskParameter="TagHelperManifest"
    ItemName="FileWrites"/>
</RazorTagHelper>
2 Answers

I managed to solve this by having to install an older depreciated version of .NET alongside the version of .NET being used for the project with the older version that was required to be installed being version 2.0.9

Related