pamidur / aspect-injector

AOP framework for .NET (c#, vb, etc)
Apache License 2.0
745 stars 112 forks source link

FileNotFoundException for AspectCodeFixProvider and MixinCodeFixProvider #81

Closed ghost closed 5 years ago

ghost commented 5 years ago

Plugins crushes time to time

image

StackTrace: System.IO.FileNotFoundException : Could not load file or assembly 'AspectInjector.Rules, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. at AspectInjector.Analyzer.CodeFixes.AspectCodeFixProvider.get_FixableDiagnosticIds() at Microsoft.CodeAnalysis.CodeFixes.CodeFixService.GetAndTestFixableDiagnosticIds(CodeFixProvider codeFixProvider) at Microsoft.CodeAnalysis.CodeFixes.CodeFixService.<>c.b25_2(CodeFixProvider f) at System.Collections.Immutable.ImmutableInterlocked.GetOrAdd[TKey,TValue](ImmutableDictionary2& location,TKey key,Func2 valueFactory) at Microsoft.CodeAnalysis.CodeFixes.CodeFixService.<>c__DisplayClass25_0.b0() at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunction[T](IExtensionManager extensionManager,Object extension,Func`1 function,T defaultValue)

pamidur commented 5 years ago

I guess I fixed it in 2.0.2, please check

ghost commented 5 years ago

Now there is no crushes during "Project load -> build -> run", will see how its works during day to day work