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 adding Microsoft.AspNetCore.SpaServices.1.0.0-beta-000007 to net451 project #181

Closed
@richardjharding

Description

@richardjharding

Looking at the issues and nugets it seems like I should be able to use some of features on an existing
asp.net mvc app targeting net451?

But adding the SpaServices packages fails:

Attempting to gather dependency information for package 'Microsoft.AspNetCore.SpaServices.1.0.0-beta-000007' with respect to project 'WebApplication1', targeting '.NETFramework,Version=v4.5.1' Attempting to resolve dependencies for package 'Microsoft.AspNetCore.SpaServices.1.0.0-beta-000007' with DependencyBehavior 'Lowest' Resolving actions to install package 'Microsoft.AspNetCore.SpaServices.1.0.0-beta-000007' Resolved actions to install package 'Microsoft.AspNetCore.SpaServices.1.0.0-beta-000007' Removed package 'Newtonsoft.Json.6.0.4' from 'packages.config' Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)) Successfully uninstalled 'Newtonsoft.Json.6.0.4' from WebApplication1 Adding package 'Microsoft.AspNetCore.Cryptography.Internal.1.0.0' to folder 'C:\foo\WebApplication1\packages' Added package 'Microsoft.AspNetCore.Cryptography.Internal.1.0.0' to folder 'C:\foo\WebApplication1\packages' Install failed. Rolling back... Package 'Microsoft.AspNetCore.Cryptography.Internal.1.0.0' does not exist in project 'WebApplication1' Package 'Newtonsoft.Json.6.0.4' already exists in folder 'C:\foo\WebApplication1\packages' Removing package 'Microsoft.AspNetCore.Cryptography.Internal.1.0.0' from folder 'C:\foo\WebApplication1\packages' Removed package 'Microsoft.AspNetCore.Cryptography.Internal.1.0.0' from folder 'C:\foo\WebApplication1\packages' Failed to add reference to 'Microsoft.AspNetCore.Cryptography.Internal'.

I've tried with and existing 4.6.1 mvc app and a new empty mvc 451 app - all in vs2015 update 3

Should this work?

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