Chris Dent

Results 30 comments of Chris Dent

It's a shame classes must / might be ordered. Otherwise it's essentially. ``` 'enum*', [PSCustomObject]@{Name='class*'; Order={ }}, 'priv*', 'pub*' | Merge ``` All of those might include "using" which will...

Ordering classes: One possible pattern that might be worth suggesting is that the files which define classes are simply prefixed with a number to denote import order (if such a...

Merge and independent load are mutually exclusive in my mind at the moment. I'm inclined to say the content of the PSM1 in that circumstance is the end-users responsibility.

I've injected the class load order problem into one of my modules, I'm doing a very poor job of coming up with an alternative to ordering by file name. The...

Class ordering (since I'm never quite happy) and as I have a growing pile of class-based DSC resources I thought I'd share the direction I decided on. By default, items...

That's fine for modules dragged in to complete the build, but those aren't my problem. This exhibits only when building a module which contains a binary component (compiles something into...

It may be difficult to rebuild it based on nunit, but I doubt it's difficult to do so based on the passthru object. Certainly worth looking into (at least from...

I think I finally found a way to resolve this problem. It really should have occurred to me sooner. I invoke my tests using Start-Job which has complete isolation so...

Thanks! I'll see if I can dream up a way around this. Chris

I was trying to avoid this, it means that every time the rule is evaluated every single script block is being stringified, edited, and tested again. I was trying to...