Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Time Generation problem with .net6.0 #530

Open
sqeezy opened this issue Oct 17, 2022 · 3 comments
Open

Compile Time Generation problem with .net6.0 #530

sqeezy opened this issue Oct 17, 2022 · 3 comments

Comments

@sqeezy
Copy link

sqeezy commented Oct 17, 2022

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

@dadhi
Copy link
Owner

dadhi commented Oct 17, 2022

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

@sqeezy
Copy link
Author

sqeezy commented Oct 17, 2022

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.

@dadhi
Copy link
Owner

dadhi commented Oct 17, 2022

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

dadhi added a commit that referenced this issue Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants