DryIoc icon indicating copy to clipboard operation
DryIoc copied to clipboard

Compile Time Generation problem with .net6.0

Open sqeezy opened this issue 3 years ago • 3 comments

Using the Readme I was not able to get the default example for compile time generation of the container to work. Sadly my knowledge regarding T4 templates is sparse. Could you give me a pointer on what I did wrong?

Example Code

The t4 template is shown as follows by Rider: image

Running the template produces the following error: image

sqeezy avatar Oct 17 '22 13:10 sqeezy

Hi, @sqeezy Thanks for trying the comp-time. I am always greedy for the feedback. Regarding the error, the DryIoc.dll is not found by template, and it is hard to tell why because I don't have access to the provided link https://github.com/sqeezy/DryIocEvaluation/tree/main/CompileTimeIoc

dadhi avatar Oct 17 '22 14:10 dadhi

My bad on this one. I forgot that this repo was private. I changed the visibility.

Happy to give feedback, your library is helping us a lot.

sqeezy avatar Oct 17 '22 14:10 sqeezy

@sqeezy Thanks for the access, I will check a bit later.

dadhi avatar Oct 17 '22 14:10 dadhi