在创建pack时出现了“The replacement token 'author' has no value”的错误提示。

解决方法:

1、可能程序没生成过,在解决方案上重新生成解决方案,注意Debug和Release版本都生成一次,再重新运行pack的命令进行打包。

2、如果上面还不能解决,可以尝试此命令,指定参数:nuget pack myproject.csproj -IncludeReferencedProjects -Prop Configuration=Release

痛过以上方法,基本可以解决问题。

相关文章:

  • 2021-09-29
  • 2022-12-23
  • 2021-12-27
  • 2021-12-22
  • 2021-09-10
  • 2021-09-07
  • 2021-05-17
  • 2021-06-01
猜你喜欢
  • 2021-04-10
  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-11-17
相关资源
相似解决方案