AnantLabs / codesmith

Automatically exported from code.google.com/p/codesmith
1 stars 0 forks source link

ould not load file or assembly 'WebGrease, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. #671

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download nightly build
2. Start the web site
3. see the exception on the screen

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by kachalkov on 27 Nov 2012 at 6:11

GoogleCodeExporter commented 9 years ago
This isn't really enough information to go on. Are you using a specific set of 
templates?  What are the steps to reproduce this issue? I'm not aware of any of 
our templates that make use of the WebGrease assembly.

Original comment by e...@codesmithtools.com on 27 Nov 2012 at 4:32

GoogleCodeExporter commented 9 years ago
Sorry, that's for latest nightly build for plinqo ef, it does not work for us 
even after we fix issue with webgrease, kendo.core.js is missing, maybe because 
of that...

The issue is with optimisation dll which is looking for webgrease 1.0

Original comment by kachalkov on 27 Nov 2012 at 9:47

GoogleCodeExporter commented 9 years ago
Website template

Original comment by kachalkov on 27 Nov 2012 at 9:48

GoogleCodeExporter commented 9 years ago
Hello,

I haven't not been able to reproduce this issue since my last commit 
(http://community.codesmithtools.com/nightly/PLINQOEF/plinqo-ef-r2917.zip). Can 
you try unblocking the downloaded nightly build above and send me any errors 
you get. It's worth noting that you need to right click the CodeSmith.Data 
assemblies in the web project and make sure copy local is set to true..

Original comment by bniemyjski on 28 Nov 2012 at 12:12

GoogleCodeExporter commented 9 years ago
well, bundling does not work for us, so non of kendo ui appears, as well as 
css...

Original comment by kachalkov on 28 Nov 2012 at 12:40

GoogleCodeExporter commented 9 years ago
Are you running the quickstart or adding our templates to your existing project?

If you are adding it to your project you need to modify the bundling rules as 
there is a current bug in .NET 4.5 where it doesn't bundle minified files. You 
need to add the following to your bundle config.

public static void RegisterBundles(BundleCollection bundles)
        {
            // Clear all items from the default ignore list to allow minified CSS and JavaScript files to be included in debug mode
            bundles.IgnoreList.Clear();

            // Add back the default ignore list rules sans the ones which affect minified files and debug mode
            bundles.IgnoreList.Ignore("*.intellisense.js");
            bundles.IgnoreList.Ignore("*-vsdoc.js");
            bundles.IgnoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled);

            bundles.Add(new ScriptBundle("~/bundles/kendojs").Include(
                "~/Scripts/jquery-1.8.3.min.js",
                "~/Scripts/kendo/2012.3.1114/kendo.web.min.js"));

            bundles.Add(new StyleBundle("~/Content/kendocss").Include(
                "~/Content/kendo/2012.3.1114/kendo.common.min.css",
                "~/Content/kendo/2012.3.1114/kendo.default.min.css"));

            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include("~/Scripts/modernizr-*"));
            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
        }

Does this resolve the issue?

Original comment by bniemyjski on 28 Nov 2012 at 2:18

GoogleCodeExporter commented 9 years ago
We r using using QuickStart

Original comment by kachalkov on 28 Nov 2012 at 8:42

GoogleCodeExporter commented 9 years ago
Did the code above resolve your bundling issue?

Original comment by e...@codesmithtools.com on 28 Nov 2012 at 10:20

GoogleCodeExporter commented 9 years ago
yes, thx

Original comment by kachalkov on 29 Nov 2012 at 12:27

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 29 Nov 2012 at 1:32

GoogleCodeExporter commented 9 years ago
filtering does not seem to work still...

Original comment by kachalkov on 29 Nov 2012 at 1:51

GoogleCodeExporter commented 9 years ago
What error did you get when trying to filter?

Original comment by bniemyjski on 31 Dec 2012 at 5:00