2017-08-11 73 views
3

時,如何忽略MSB4011當我運行dotnet build我得到這樣的警告多次:運行DOTNET構建

C:\Program Files\dotnet\sdk\1.0.4\Microsoft.Common.CrossTargeting.targets(145,3): 
warning MSB4011: "*.fsproj.proj-info.targets" cannot be imported again. 
It was already imported at "Microsoft.Common.targets (127,3)". 
This is most likely a build authoring error. 
This subsequent import will be ignored. 
[*.fsproj] 

我如何防止顯示這些警告?

+0

看起來,這應該*固定*生成* .fsproj.proj-info.targets文件。我對F#構建過程知之甚少,無法知道在GitHub上看什麼。 – Wally

回答

3

/nowarn:msb4011添加到命令行。

dotnet build /nowarn:msb4011 
相關問題