Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using PackAsToolShimRuntimeIdentifiers and netcoreapp3.0 fails with error NETSDK1065

See original GitHub issue


<Project Sdk="Microsoft.NET.Sdk">



dotnet pack


C:\Users\namc\.dotnet\x64\sdk\3.0.100-preview-010166\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(228,5): error NETSDK1065: Cannot find app host for win-x64. win-x64 could be an invalid runtime identifier (RID). For more information about RID, see [C:\src\aspnet\BuildTools\repro\CliTool\CliTool.csproj]


Using 3.0.100-preview-010166

cc @nguerrera @wli3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:28 (18 by maintainers)

github_iconTop GitHub Comments

wli3commented, Feb 27, 2019

I just checked 3.0.100-preview3-010373 is a good

nguerreracommented, Feb 15, 2019

It might be codeflow backed up in preview 3. Toolset hasn’t gone in for a while.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NETSDK1045: The current .NET SDK does not support ...
This error occurs when the build tools can't find the version of the .NET SDK that's needed to build a project. This is...
Read more >
Error publishing an ASP.NET Core 3.1 site to Azure from ...
The immediate issue—as identified in the original question—has to do with there being two places where <TargetFramework> is set:.
Read more >
NETSDK1005 and NETSDK1047: Asset file is missing target
When the .NET SDK issues error NETSDK1005 or NETSDK1047, the project's assets file is missing information on one of your target frameworks.
Read more >
Resolving warning NETSDK1138: The target framework ' ...
I am trying to build this project in Visual Studio for Mac: ... I decided to try and change the target framework in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found