Comments (9)
Combres doesn't use ilmerge. How did you see this error?
from combres.
@alex1kirch: I'm getting this error too (my application is .Net 4)...can you outline the steps to resolve please? This totally hosed my application...I can't build it even after uninstalling Combres. I originally installed via NuGet as well. Is there a fix?
UPDATE: After trying to correct the issue with the current version, and failing miserably, I ended up having to roll back my app. After rolling back I gave Combres another shot but this time installed the previous version via NuGet (see below). Everything works fine now. The current version must have been built using .Net Framework v4.5 which causes a pretty serious issue with ILMerge. For those of us that don't play well with low-level .Net core library setting stuff and excpect things to "just work" this ends up being a giant clusterF. Install via NuGet using the below and everything "just works" as expected.
PM> Install-Package combres.mvc -Version 2.2.2.6
http://nuget.org/packages/combres.mvc/2.2.2.6
from combres.
I think, that reason of the issue may be an assembly reference. For example, fasterflect. My application is Net4, too. VS2010 and VS2012 are installed on my host machine.
from combres.
@alex1kirch if you remove fasterflect, does ilmerge work (Combres won't work, I just want to know that Fasterflect singlehandedly causes the issue). As a note, I built Combres to target .NET 3.5. It runs fine on my machine with VS2010 and VS2012 installed.
from combres.
It does seem to be Fasterflect that is causing this error. I recompiled Fasterflect and Combres using VS 2010 on a computer that does not have .NET 4.5 nor VS2012 installed and the error has gone away.
from combres.
It seems the latest nuget version was built w/ a different version of Fasterflect. Your build is expecting version 2.1.2.0, but nuget installs 2.1.0.8328.
After adding the expecting .Net binding in my web.config, everything works.
<runtime>
<dependentAssembly>
<assemblyIdentity name="Fasterflect" publicKeyToken="38d18473284c1ca7" />
<bindingRedirect oldVersion="2.1.0.8328" newVersion="2.1.2.0" />
</dependentAssembly>
</runtime>
Hope that helps.
from combres.
The problem is that recent versions of Fasterflect (v2.1.1 and later) were built against .NET4.5 assemblies, in which ExtensionAttribute was moved from System.Core to mscorlib. This breaks for anyone running .NET4.0. See my comment here.
You can use ildasm (in PowerShell) to see the problem:
ildasm .\Fasterflect.dll /text | Select-String "mscorlib.*ExtensionAttribute"
from combres.
I just pushed a release that references Fasterflect 2.1.0. Please try to see if that fixes the issue. Make sure you remove all assembly redirection to the latest version of Fasterflect.
from combres.
That fixes the issue, thanks for doing it so quickly!
from combres.
Related Issues (20)
- Change in the URL format HOT 7
- Syncronization of last modified date on the response header. HOT 1
- Caching, versioning, and CDNs HOT 3
- Support mixing Less and CSS in the same resource set HOT 4
- WebExtensions.CombresLink("resourceSetName") throws System.ArgumentException and WildCard Support HOT 3
- change in files causes application pool restart HOT 1
- Update library dependencies HOT 5
- Combres can not minify AngularJs HOT 6
- Support all properties of Ajax Min
- Configs for YuiCssMinifier and YuiJSMinifier incorrect and cause exceptions HOT 1
- Custom css minifiers
- CombresHandler.ProcessRequest throwing ArgumentException with no discernible pattern. HOT 7
- dotLess strictMath mode not configurable HOT 4
- Nuget update HOT 1
- NuGet packages use strict dependency versions
- Calls to CombresLink are case sensitive - could this be changed? HOT 2
- combre 获取到的js版本内容是旧的,没有更新
- Failing to load resource set in v2.3.0.4 with .NET 4.5.2+ and MVC5 HOT 4
- Combres does not support ECMAScript2015 HOT 1
- transpile JS via babel before minifying
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from combres.