JL-Ikosoft

Results 9 comments of JL-Ikosoft

Hi, Maybe some kind of ```csharp protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity(eb => { eb.HasNoKey(); eb.ToView("CustomerView"); }); } ```

@richardwerkman , @dupdob, thanks for your support. @dupdob seems you've got the explaination. ``` [09:59:12 WRN] Analyzer/Generator assembly C:\Users\\.nuget\packages\riok.mapperly\3.2.0\analyzers\roslyn4.7\dotnet\cs\Riok.Mapperly.dll could not be loaded. Generated source code may be missing. System.InvalidOperationException...

@richardwerkman @dupdob i've created a sample solution reproducing my issue: https://github.com/JL-Ikosoft/Generated_Source_Code_may_Be_Missing ``` [10:42:32 INF] Analysis starting. [10:42:32 INF] Identifying projects to mutate in C:\Users\julie\source\repos\Stryker\Generated_Source_Code_may_Be_Missing\Generated_Source_Code_may_Be_Missing.sln. This can take a while. [10:42:34...

> Generated classes should be excluded from mutation by default. I'm not familiar with Mapperly so I don't know how the mapper class is generated. It could be that Stryker...

@richardwerkman @dupdob build produces a dll that has the implementation of the mapping inside It creates a private method for that: `private static PersonDto MapToPersonDto` ![image](https://github.com/stryker-mutator/stryker-net/assets/93907249/a99f5da6-9d05-4f50-b250-69d247ce2e6e)

Hello @dupdob, thank you for your support. According to fuslogvw it seems there's a binding failure (sorry for the french version) ![image](https://github.com/stryker-mutator/stryker-net/assets/93907249/cbfdb9be-0eb2-4d07-95d9-ba2fc7ea61d6) It looks everywhere but cannot fing the Riok.Mapperly.dll...

Overall yes within minutes What I did: - copied Riok.Mapperly.dll and Riok.Mapperly.Abstractions.dll into the "C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\PublicAssemblies\" folder - empty fuslogvw output folder - empty striker output folder -...

Hello @dupdob Ok, i slowly understand how this fuslogvw works. It logs as programs are running. Once i've launched visual studio it logged 2 Mapperly related files in a "C:\Temp\fuslogvw\Default\VBCSCompiler.exe"...

@dupdob If i delete all fuslogvw log, then run stryker from a Developper PS for VS 2022 preview console and then look for fuslogvw log then if find nothing about...