如何阻止Resharper建議使用NET 4.6功能?如何阻止Resharper建議使用NET 4.6功能?
在這種情況下,它建議加入...
using static System.String;
,改變String.Format
只是Format
,String.IsNullOrWhiteSpace
到IsNullOrWhiteSpace
等
我知道加入...
// ReSharper disable BuiltInTypeReferenceStyle
但我必須這樣做所有文件(這是假設我記得,不要讓Re更銳利地進行更改)
您如何確保它只能提供NET 4.5功能? (因爲這是部署在我們的服務器上)
見... http://stackoverflow.com/questions/27621458/resharper-disable-c-sharp-6-0-support/27628609#27628609 – SteveC