This project is read-only.

Error using new version 2.4.0


On Line BundleConfig.RegisterBundles(BundleTable.Bundles);

Inheritance security rules violated while overriding member: 'Yahoo.Yui.Compressor.Web.Optimization.YuiCompressorTransform.Process(System.Web.Optimization.BundleContext, System.Web.Optimization.BundleResponse)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.


vickyrajsharma wrote Jun 6, 2014 at 5:14 PM

Below are the packages i have used.

<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" targetFramework="net45" />
<package id="YUICompressor.NET" version="" targetFramework="net45" />
<package id="YUICompressor.NET.Web.Optimization" version="" targetFramework="net45" />
<package id="WebGrease" version="1.6.0" targetFramework="net45" />
<package id="EcmaScript.Net" version="" targetFramework="net45" />
<package id="AntiXSS" version="4.3.0" targetFramework="net45" />
<package id="Antlr" version="" targetFramework="net45" />

wrote Jun 11, 2014 at 3:03 PM

wrote Jun 23, 2014 at 6:12 PM

wrote Aug 8, 2014 at 5:23 PM

mrigi wrote Aug 8, 2014 at 5:37 PM

Deploy the library in unusable state and don't respond for months. I assume the project is dead.

freeranger wrote Aug 8, 2014 at 8:17 PM

You can assume what you like but you can also download the code and make any changes you like to it if the speed other people work at does not suit you.
Please bear in mind that the people who work on this project have real jobs also and even lives outside of open source development and sometimes they just might take priority.

This isn't an area of the code I am familiar with so I can't comment on the problem, but no doubt PureKrome will respond when he is in a position to do so. In the mean time, as I say, you have full access to the source...

purekrome wrote Aug 9, 2014 at 1:58 AM

@Vicky - ok, so you're hit a problem but we need -way- more information to repo this.
  1. Can you create a sample repo website?
  2. MVC / NancyFX / WebForms ? <-- what is your web site framework?
  3. Hosted where? how? IIS? Azure WAWS? Custom server?
  4. .NET framework version? (I'll assume 4.5 based on the ' targetFramework="net45" ' with regards to your packages you're using.
  5. Lots of sample code.
  6. Is this an 'newish' project or an existing one which might have had lots of custom stuff?
It's -really- hard to to figure out what's going on when you haven't given us enough info.

Googling this came up with this SO post:

What is interesting is this part:

Ok .. so are we using that attribute in our code? I've got a feeling we are. Lets see here...

ref: Assembly Info/SharedAssemblyInfo.cs

Ah-ha! we are! Why? For some tricky unit test stuff I'm doing. I don't like unit tests to dictate class design so my preference would be to remove that attribute and try and refactor the tests.

In the short term (until I find my life again), you can clone source, remove attribute, build (in release mode) and then use those dll's.

purekrome wrote Aug 9, 2014 at 2:01 AM

Ammendment: forgot to complete this paragraph.

"What is interesting is this part: "

^ insert that into the previous reply. :)