Im trying to install Rick Butterfield's Umbraco.Community.BlockPreview 1.2.1 on 10.5.1
Install goes fine, but when i add add AddBlockPreview() to the Startup.cs file, before AddWebsite(), as stated in the docs, i get the follwing error on build.
error CS1061: 'IUmbracoBuilder' does not contain a definition for 'AddBlockPreview' and no accessible extension method 'AddBlockPreview' accepting a first argument of type 'IUmbracoBuilder' could be found (are you missing a using directive or an assembly reference?)
It seems like you are missing a using in your startup file.
What happens if you add
using Umbraco.Community.BlockPreview.BlockPreviewUmbracoBuilderExtensions
Umbraco.Community.BlockPreview build error
Im trying to install Rick Butterfield's Umbraco.Community.BlockPreview 1.2.1 on 10.5.1
Install goes fine, but when i add add AddBlockPreview() to the Startup.cs file, before AddWebsite(), as stated in the docs, i get the follwing error on build.
Any Clues?
It seems like you are missing a using in your startup file. What happens if you add
using Umbraco.Community.BlockPreview.BlockPreviewUmbracoBuilderExtensions
to the startup?
You should add this to the satrt of your startup.cs just after namespace
is working on a reply...