Results 173 comments of Jan Krivanek

Subtasks: * [x] Documentation: In Progress: https://github.com/dotnet/templating/pull/4876 * [x] Implementation: In Progress: https://github.com/dotnet/templating/pull/4872 * [ ] Schemastore update: TBD * [ ] Tab completition rich support: TBD

> We should think about better logging strategy here. Ideally we do not log that much in release. Even though trace will be never enabled in release, it would be...

This can definitely be helpful. One of the side-effect scenarios I can imagine this can be used for - generating WDAC templates for a product directly from the SBOM files...

Yeah - that's a good question. In our case we went different route (local resolve and then sbom generation). So this suggestion can be closed now or just kept around...

OK so I was able to track that down **Explanation**: avoiding double call to Initialize (which would cause exceptions on attempt to twice initialize native part of context - that's...

This actually turns out much more complicated :-/ Everything works fine with intitialization per app-domain - unless I start unloading old app domains - than I'm getting System.AppDomainUnloadedException when executing...

I again found the culprit: ImportHook.Initialize registers self as a hook for \_\_import__ call from python. Any appdomain that executes this initialization will be the one on the hook when...

@dmitriyse Thanks - that might also help. @denfromufa - We'll have data heavy processing, so avoiding x-proc transfer will help. I'll see if making sure to initialize hooks only for...

@denfromufa - Well it turns out that out-of process will be the best approach right now. I made sure that Importhook is called just once (in parent app domain) -...