码迷,mamicode.com
首页 > 其他好文 > 详细

Error RZ3007: Targeted tag name cannot be null or whitespace

时间:2018-06-13 15:05:35      阅读:357      评论:0      收藏:0      [点我收藏+]

标签:otn   error   clear   spro   tag   tar   mpi   get   ace   

Step 1: Disable precompile 

updating below property in csproj file:

<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>

Apart from this, Razor pages will be updated live.

<PropertyGroup>
<ServerGarbageCollection>false</ServerGarbageCollection>
<MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>
</PropertyGroup>

特别是 WebHost.csproj

 

Step2: clear cache 

This method worked for me:

  • delete obj and bin folders
  • run dotnet restore
  • run dotnet build

 

other:

It looks as if your project references are incorrect. You can reproduce what I‘m seeing by doing the following:

    1. At the command line run dotnet nuget locals all -c
    2. At the command line run dotnet restore
    3. At the command line run dotnet build

 

 

最后: dotnet publish -r linux-x64

Error RZ3007: Targeted tag name cannot be null or whitespace

标签:otn   error   clear   spro   tag   tar   mpi   get   ace   

原文地址:https://www.cnblogs.com/kellynic/p/9177115.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!