Cassette.Nancy icon indicating copy to clipboard operation
Cassette.Nancy copied to clipboard

CassetteStartup doesn't exist

Open Crisfole opened this issue 11 years ago • 2 comments

This is either a bug or a documentation error.

I can't find a CassetteStartup class anywhere. Google only shows your documentation, and searching the Cassette.Nancy and Cassette repos bring up nothing.

Could you modify your example with a using statement or use a fully specified Class name?

Crisfole avatar Jan 15 '14 17:01 Crisfole

I think the documentation is outdated. CassetteStartup should be CassetteNancyStartup, and the .ShouldOptimizeOutput should be .OptimizedOutput. Look at the demo projects for example usage, e.g., https://github.com/ChrisMH/Cassette.Nancy/blob/27fb8f0733d5cea12ccb6eaec06ecb7b455050f4/src/Cassette.Nancy.Demo.TinyIoC/Bootstrapper.cs.

GiscardBiamby avatar Jan 15 '14 17:01 GiscardBiamby

(So, the readme.md that references CassetteStartup.ShouldOptimizeOutput needs to be updated).

GiscardBiamby avatar Jan 15 '14 17:01 GiscardBiamby