Skip to content

VS2017 publish: project.assets.json doesn't have a target for .NETCoreApp,Version=v1.1 #1321

@rainersigwald

Description

@rainersigwald

From @kosa-gyula-77 on June 8, 2017 14:27

Publishing the xunitCore1.0 project in the solution attached from Visual Studio 2017 fails with the following error:

Assets file 'C:\Users\xxx\Documents\Visual Studio 2017\Projects\xunitCore1.0\xunitCore1.0\obj\project.assets.json' doesn't have a target for '.NETCoreApp,Version=v1.1'. Ensure you have restored this project for TargetFramework='netcoreapp1.1' and RuntimeIdentifier=''.

Could you please help in identifying why I'm getting this error? xunitCore1.0 targets netcoreapp1.0.

xunitCore1.0.zip

Thanks.

Copied from original issue: dotnet/msbuild#2196

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