我有一個PostSharp方面(以下實現爲AutoData)施加於測試方法,例如: [Theory, AutoData(additionalTypes: typeof(MethodFormatter))] public void MethodFormatsAsExpected(FormatterFactory sut) { var name = MethodBase .GetCurrentMeth
我在我的項目中使用了postharp。當我正在嘗試構建解決方案時,我遇到了以下錯誤。 「The "PostSharp.MSBuild.PostSharp30DetectNativeFrameworkVersion" task could not be loaded from the assembly C:\ProgramData\PostSharp\3.1.49\bin.Release\PostS
比方說,我有這個類的RaiseProperyChanged屬性從PostSharp: [NotifyPropertyChanged]
public class MainViewModel
{
public int RandInt { get; set; }
public MainViewModel()
{
RandInt = 10;
ne