Error when following the instructions to run sample (tag helper directive '@addTagHelper' with value '*, Microsoft.AspNetCore.SpaServices'.) #1279

Closed
opened 2025-08-09 17:19:32 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @alebrozzo on 11/3/2016

I am getting this error when trying to test the samples MusicShop with react:

Encountered an unexpected error when attempting to resolve tag helper directive '@addTagHelper' with value ', Microsoft.AspNetCore.SpaServices'. Error: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=1.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
@using MusicStore
@addTagHelper "
, Microsoft.AspNetCore.Mvc.TagHelpers"
@addTagHelper "*, Microsoft.AspNetCore.SpaServices"

I don't know MVC, I am trying to see the feasibility to use core + angular or core + react in the company I work for, and this seems like a good way to check the hybrid possibility, but I have no idea how to overcome this :(

*Originally created by @alebrozzo on 11/3/2016* I am getting this error when trying to test the samples MusicShop with react: > Encountered an unexpected error when attempting to resolve tag helper directive '@addTagHelper' with value '*, Microsoft.AspNetCore.SpaServices'. Error: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=1.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) > @using MusicStore > @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers" > @addTagHelper "*, Microsoft.AspNetCore.SpaServices" I don't know MVC, I am trying to see the feasibility to use core + angular or core + react in the company I work for, and this seems like a good way to check the hybrid possibility, but I have no idea how to overcome this :(
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1279
No description provided.