sdk: ResolveTargetingPackAssets crash in Dev16

@DamianEdwards reports the stack below in error list with latest SDK, latest Dev16 and the following project created from template:

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

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>


  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0-preview-19106-07" />
  </ItemGroup>

</Project>

image

cc @dsplaisted @natemcmaster

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@nguerrera I found the problem: It was the (our) specific build server which restored Nuget packages using nuget.exe restore. I changed this to msbuild -t:restore and now everything is fine.