上一篇是关于 .net framework 框架的, 今天是关于 .netcore 2.0 的

这里为大家分享 配置中踩到的坑

 

cd %WORKSPACE%\"需要还原的项目目录"
dotnet restore --configfile NuGet.Config    这句是关键, vs2017 会默认读取该文件,,但是 命令必须指定!!!
dotnet build --framework netcoreapp2.0 --configuration Release --output bin\Release
dotnet publish --configuration Release --output "输出目录"

 

相关文章:

  • 2021-04-04
  • 2021-07-24
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
猜你喜欢
  • 2021-11-30
  • 2021-12-15
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2021-04-02
  • 2022-12-23
相关资源
相似解决方案