![](/img/trans.png)
[英]Create site collection using CSOM C# get error Value cannot be null. Parameter name: source
[英]error rz3007: targeted tag name cannot be null or whitespace. site:stackoverflow.com
我正在嘗試升級到asp .net core v.2.0.1,但突然間我得到了這個奇怪的錯誤。我也升級了Visual Studio ...(v 15.7.2-可能是問題。)
我的索引頁面非常簡單,只能轉發到另一個頁面,因此很容易更改...。但這沒有任何效果。 我的猜測是問題確實是異常所解釋的...
我無法弄清楚為什么,或者如何解決它……這是我的索引頁:
@page @model SRC.Pages.IndexModel
@using System.Net.Mime
@using Microsoft.Extensions.Logging.Abstractions
@using SRC.Pages
<p>
my Index
</p>
和背后的模型:
namespace SRC.Pages
{
public class IndexModel : PageModel
{
public void OnGet()
{
// TODO KFN
}
}
}
一個非常漂亮的索引頁面模型;-)-無法正確反應以顯示文本...-終端寫入錯誤
如發布時出現的“點網核心構建錯誤”中所建議-目標標記名不能為null或空格-我已嘗試清理bin / obj文件夾。-沒有效果-重新發布..-沒有效果
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.