티스토리 뷰

환경

  • Azure Function 1.0 C# project
  • Dotnet Standard 2.0 library

build to apply template, error. below error log.

[error]C:\Program Files\dotnet\sdk\2.2.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): Error NETSDK1004: Assets file 'D:\a\1\s\Src\YoungInt.Cloud.Database\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.

project.assets.json file is created as dotent restore.

so add 'dotnet restore' in build pipeline.

댓글
댓글쓰기 폼