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>