Skip to content

Compatibility with new nuget PackageReference format #19

@vbtrek

Description

@vbtrek

Hi,
I'm using v2.4.1 nuget package in my Visual Studio 2017 project, I added the nuget package as a PackageReference. When I try to build my project it gives me the error:

Severity Code Description Project File Line Suppression State Error CS2015 'C:\Users\zzz\.nuget\packages\exceptionreporter\2.4.1\contentFiles\any\net40\warning.ico' is a binary file instead of a text file Intact.DevInternal.Common D:\OneDrive\Work\OneDrive - Intact Software\DEV\Projects\Developer Utilities\Developer Tools\Intact.DevInternal.Common\CSC 1 Active

I don't know anything about nuget packages but this:
https://blog.nuget.org/20160126/nuget-contentFiles-demystified.html

Seems to suggest that the images should be in an images sub folder and added to the nuspec as an EmbeddedResource?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions