Skip to content

Fatal error by latest linker release 0.1.5-preview-1461378 #319

@lextm

Description

@lextm

https://github.com/lextm/restructuredtext-antlr

It uses the release of 0.1.4-preview-981901, and dist.server.sh can be used on Mac to call all dotnet publish commands without a problem.

But once upgrading to 0.1.5-preview-1461378, dotnet publish fails like below,

LexdeMacBook-Pro:Server lextm$ dotnet publish -r win-x64 -c release -o ../output/win32_x64
Microsoft (R) Build Engine version 15.7.177.53362 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restoring packages for /Users/lextm/restructuredtext-antlr/Server/Server.csproj...
  Restoring packages for /Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj...
  Restore completed in 458.93 ms for /Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj.
  Restore completed in 971.48 ms for /Users/lextm/restructuredtext-antlr/Server/Server.csproj.
  ReStructuredText -> /Users/lextm/restructuredtext-antlr/ReStructuredText/bin/release/netstandard1.3/ReStructuredText.dll
...
  Server -> /Users/lextm/restructuredtext-antlr/Server/bin/release/netcoreapp2.0/win-x64/Server.dll
  Restoring packages for /Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj...
/Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj : error NU1202: Package Microsoft.NETCore.App 2.0.0 is not compatible with netstandard1.3 (.NETStandard,Version=v1.3). Package Microsoft.NETCore.App 2.0.0 supports: [/Users/lextm/restructuredtext-antlr/Server/Server.csproj]
/Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj : error NU1202:   - netcoreapp (.NETCoreApp,Version=v0.0) [/Users/lextm/restructuredtext-antlr/Server/Server.csproj]
/Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj : error NU1202:   - netcoreapp2.0 (.NETCoreApp,Version=v2.0) [/Users/lextm/restructuredtext-antlr/Server/Server.csproj]
/Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj : error NU1202: Package Microsoft.NETCore.App 2.0.0 is not compatible with netstandard1.3 (.NETStandard,Version=v1.3) / win-x64. Package Microsoft.NETCore.App 2.0.0 supports:[/Users/lextm/restructuredtext-antlr/Server/Server.csproj]
/Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj : error NU1202:   - netcoreapp (.NETCoreApp,Version=v0.0) [/Users/lextm/restructuredtext-antlr/Server/Server.csproj]
/Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj : error NU1202:   - netcoreapp2.0 (.NETCoreApp,Version=v2.0) [/Users/lextm/restructuredtext-antlr/Server/Server.csproj]
  Generating MSBuild file /Users/lextm/restructuredtext-antlr/Server/obj/release/netcoreapp2.0/win-x64/crossgen/ReStructuredText.csproj.nuget.g.props.
  Generating MSBuild file /Users/lextm/restructuredtext-antlr/Server/obj/release/netcoreapp2.0/win-x64/crossgen/ReStructuredText.csproj.nuget.g.targets.
  Restore failed in 30.67 ms for /Users/lextm/restructuredtext-antlr/ReStructuredText/ReStructuredText.csproj.

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