Skip to content

Could not detect any platforms warning #3703

Open

Agent suggestions

Public preview

Description

@apobekiaris

my nuspec looks like

<files>
    <file src="Xpand.VersionConverter.ps1" target="build\Xpand.VersionConverter.ps1" />
    <file src="Functions.ps1" target="build\Functions.ps1" />
    <file src="..\..\src\Xpand.key\Xpand.snk" target="build\Xpand.snk" />
    <file src="Xpand.VersionConverter.targets" target="build\Xpand.VersionConverter.targets" />
    <file src="Mono.Cecil\Mono.Cecil.dll" target="build\Mono.Cecil\Mono.Cecil.dll" />
    <file src="Mono.Cecil\Mono.Cecil.Pdb.dll" target="build\Mono.Cecil\Mono.Cecil.Pdb.dll" />
    <file src="Mono.Cecil\Mono.Cecil.Rocks.dll" target="build\Mono.Cecil\Mono.Cecil.Rocks.dll" />
    <file src="Mono.Cecil\Mono.Cecil.Mdb.dll" target="build\Mono.Cecil\Mono.Cecil.Mdb.dll" />
    <file src="srcsrv\dbghelp.dll" target="build\srcsrv\dbghelp.dll" />
    <file src="srcsrv\pdbstr.exe" target="build\srcsrv\pdbstr.exe" />
    <file src="srcsrv\srcsrv.dll" target="build\srcsrv\srcsrv.dll" />
    <file src="srcsrv\srcsrv.ini" target="build\srcsrv\srcsrv.ini" />
    <file src="srcsrv\srctool.exe" target="build\srcsrv\srctool.exe" />
    <file src="ReadMe.md" target="content\Properties\Xpand.VersionConverter.ReadMe.md" />
  </files>

and when i do paket install I get this warning

Could not detect any platforms from 'Mono.Cecil' in 'C:\Users\Tolis\.nuget\packages\xpand.versionconverter\1.0.37\build\Mono.Cecil\Mono.Cecil.dll', please tell the package authors
Could not detect any platforms from 'srcsrv' in 'C:\Users\Tolis\.nuget\packages\xpand.versionconverter\1.0.37\build\srcsrv\dbghelp.dll', please tell the package authors

is there a way to avoid it?

Activity

  1. forki commented on Nov 7, 2019

    @forki
    Member
  2. matthid commented on Nov 7, 2019

    @matthid
    Member

    No, afaik the spec is that after build/ there should be either data or a folder named after a framework. Which Mono.Cecil is not.
    On the other hand feel free to prove me wrong and send me a link to the spec ;)

  3. matthid commented on Nov 7, 2019

    @matthid
    Member

    To clarify: The way to avoid this warning is to put the files in a different folder?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions