dotnet / NuGet.BuildTasks

The build tasks used to pick up package content from project.lock.json.
MIT License
46 stars 61 forks source link

When no assets or lock file provided, fallback to project.assets.json file #27

Closed jainaashish closed 7 years ago

jainaashish commented 7 years ago

This PR added 2 additional conditions for project.assets.file:

  1. When RestoreProjectStyle property is set to PackageReference then set ProjectLockFile to project.assets.json file
  2. When there is no assets or lock file defined, then always fallback to project.assets.json file

Fixes https://github.com/NuGet/Home/issues/4267 internal bug# 366649

@rrelyea @emgarten @tmeschter @jasonmalinowski @alpaix

jasonmalinowski commented 7 years ago

I can put my :+1: from the internal review here too.