Closed LokiMidgard closed 6 years ago
I've found an article that seems to describe the Problem. It seems you can find the assembly's referenced by the target assembly using a .deps.json
file generated at build. I will try to test this.
I'm closing this, supposing that #62 addressed the need.
I updated my Project from version
0.3.9
of this library to current0.4.11
. The SampleDuplicateWithSuffix
is working, but my generator stopped working.It does not produce any kind of error output. After some debugging I think the problem is that the Type of my Generator cannot be loaded because a dependency is missing.
When I create an instance of my Generator in the constructor of
DuplicateWithSuffixGenerator
the build process prints an exception stack trace. Which claims the assemblyNDProperty.Core
can't be found. This is another project my Generator depends on.My DuplicateWith SuffixGenerator code:
Is a dependency on another project no longer supported? I pretty heavily using
typeof
andnameof
. Or should it work and the error is somewhere else?Nither ProjectReference nor PackageReference will work. The nuget package contains the missing DLL.