更改嵌入式文件时,net core不会重建项目

时间:2017-01-12 20:34:10

标签: visual-studio-2015 asp.net-core

更改嵌入文件时,将跳过重建。

========== Build: 0 succeeded, 0 failed, 5 up-to-date, 1 skipped ==========

我找到的唯一选择是手动重建项目。

我在project.json中的构建选项

"buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true,
    "embed": ["**/*.sql"]
  },

1 个答案:

答案 0 :(得分:0)

解决方案是使用 Dim x1 As Integer Dim x2 As Integer Dim x3 As Integer Dim x4 As Integer Dim x5 As Integer Dim x6 As Integer x1 = 1 x2 = 1 x3 = 1 x4 = 1 x5 = 1 x6 = 1 dotnet watch test