Marc Climent

Results 9 comments of Marc Climent

I've made some modifications to Cassette.Less in my fork (https://github.com/mcliment/cassette/tree/master/src/Cassette.Less) to use https://github.com/duncansmart/less.js-windows/tree/windows-script-host. This is ugly WIP and the original idea was to use Less.js inside Jurassic emulating the properties...

@elerch Much more elegant than my ugly solution but basically is the same approach. Using the official LessJs compiler is the best way to ensure perfect results. Nice job.

@jwynveen I think @elerch approach is the most reliable way to compile less files, it uses the official less compiler rather than dotless and is up to date with the...

Sorry @StephanGeorg but no, I just did some fixes to the script but did not change the behaviour (AFAIK).

@khellang Actually it does not lose the registrations because the `MySettingsWrapper` in the example wraps the `IOptions` and resolves properly. OTOH, calling `GetInstance` instead of `TryGetInstance` resolves properly.

@jeremydmiller I don't see any major difference in any case, the results are on this gist: https://gist.github.com/mcliment/c3ae3e08c978996be1f390004fdde971 I also tried to add the `MySettingsWrapper` in the `ConfigureContainer` but works properly.

@jeremydmiller If you have some time to check out this repository (https://github.com/mcliment/StructureMap.Microsoft.DependencyInjection/tree/issue-demo) and run the demo site you'll see the error live. Just go to `~/Bad` to see the error....

@khellang Hmmm, I understand that but I can't see why not scanning things overcomes the problem if the same stuff is registered

I've created an `IFamilyPolicy` that deals with the creation of the `IOptions` open generic and seems to work. It's based on the documentation but maybe someone with more expertise in...