Skip to content
This repository was archived by the owner on Nov 1, 2020. It is now read-only.
This repository was archived by the owner on Nov 1, 2020. It is now read-only.

LinkNative doesn't pull assemblies from Runtime Package Store #4444

Closed
@ThatRendle

Description

@ThatRendle

Before I start, I should say that I know the scenario I'm describing isn't remotely supported yet; I have just been exploring how unsupported it is. 😈

I'm working on a thing that will benefit greatly from CoreRT AOT compilation when it is ready, so I thought I'd try it and see how far it got. It's an ASP.NET Core 2.0 application that just uses Routing, Kestrel and various Extensions packages. No Controllers or Views whatsoever. I figured it might work a bit and I could provide feedback on any problems I encountered.

So here goes with the first one:

When I tried to build the shtik/cli console application with /t:/LinkNative it did actually produce a runnable shtik.exe file, but when I ran it it errored out with a Could not find assembly Microsoft.Extensions... message. Obviously it failed to pull the various assemblies from the ASP.NET Core runtime package store during the build.

As I say, I'm not expecting it to work, just flagging the issue for now.

Environment info:

Windows 10 x64
Visual Studio 2017.3 Native Tools command prompt
dotnet SDK 2.0.0
ASP.NET Core 2.0.0
CoreRT built from master branch as of about a week back.

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