Orchard.Framework error with css Reference

Topics: Troubleshooting
Jun 5, 2013 at 5:37 PM
Following the orchard tutorials - http://skywalkersoftwaredevelopment.net/blog/writing-an-orchard-webshop-module-from-scratch-part-7

Error is occuring when I paste the 4th black screen shot from the above link into my project (see code below)

using Orchard.UI.Resources;

namespace Skywalker.Webshop
{
public class ResourceManifest : IResourceManifestProvider
{
    public void BuildManifests(ResourceManifestBuilder builder)
    {
        // Create and add a new manifest
        var manifest = builder.Add();

        // Define a "common" style sheet
        manifest.DefineStyle("Skywalker.Webshop.Common").SetUrl("common.css");

        // Define the "shoppingcart" style sheet
        manifest.DefineStyle("Skywalker.Webshop.ShoppingCart").SetUrl("shoppingcart.css").SetDependencies("Skywalker.Webshop.Common");
    }
}
}
Assembly 'Orchard.Framework, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.WebPages, Version =2.0.0.0 Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than references assembly 'system.webPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Does anyone know how I can resolve this? Thanks for any replies

I know the problem is from referencing the css but dont know how to resolve it
Developer
Jun 5, 2013 at 8:27 PM
Please do not cross-post issues here and on StackOverflow, or indicate if you've done so: http://stackoverflow.com/questions/16944802/orchard-framework-error-with-reference