Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

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

Closed

Description

@alebrozzo

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 :(

Activity

  1. SteveSandersonMS commented on Nov 7, 2016

    @SteveSandersonMS
    Member

    Thanks for reporting this. The React MusicStore sample had got quite out-of-date and was relying on some previous-version technologies (TypeScript 1.x, .NET Core 1.0.0). I've just updated it to the latest technologies and patterns. It should work out-of-the-box now.

  2. alebrozzo commented on Nov 8, 2016

    @alebrozzo
    Author

    Awesome! I've tried it and it works perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions