Error RZ3007: Targeted tag name cannot be null or whitespace

Posted kellynic

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error RZ3007: Targeted tag name cannot be null or whitespace相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

SQLSTATE[HY000]: General error: 1114 The table '/home/mysql/data3007/tmp/#sq

CSS CSS Media Targeted JavaScript

[听感] Microsoft: Russian Hackers Targeted US Websites...

安装CentOS.6停在=在selinux-policy-targeted卡住的问题解决

linux非root用户安装nginx

Investigating Typed Syntactic Dependencies for Targeted Sentiment Classification Using GAT(2020)