vtfuture / RequireJSDotNet

RequireJS for ASP.NET MVC
http://requirejsnet.veritech.io
MIT License
94 stars 46 forks source link

Update to version 3.1 breaks project #99

Open lukaszgatnicki opened 7 years ago

lukaszgatnicki commented 7 years ago

We have a problem with our ASP.NET MVC project when we update RequireJSDotNet lib version. We use version 2.2.3 (with compressor too) and everythink works great. But when we update lib to the newest version project fails on build with error:

Exception: Error while processing Controllers\Root\xxx\yyy.js: Method not found: 'System.String RequireJsNet.Models.RequirePath.get_Value()'. at RequireJsNet.Compressor.AutoDependency.ScriptProcessor.Process() at RequireJsNet.Compressor.RequireProcessing.AutoBundleConfigProcessor.ParseConfigs() at RequireJsNet.Compressor.RequireCompressorTask.Execute() MissingMethodException: Method not found: 'System.String RequireJsNet.Models.RequirePath.get_Value()'. at RequireJsNet.Compressor.AutoDependency.ScriptProcessor.<>c__DisplayClass21_0.b__0(RequirePath r) at System.Linq.Enumerable.WhereListIterator1.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source) at RequireJsNet.Compressor.AutoDependency.ScriptProcessor.CheckForConfigPath(String name) at RequireJsNet.Compressor.AutoDependency.ScriptProcessor.GetTransformations(VisitorResult result, List`1 flattened) at RequireJsNet.Compressor.AutoDependency.ScriptProcessor.Process()

this problem appears in every .js file even when file is empty.

We can't find any information about any significant changes which can breaks our current code and configuration. Has anyone encountered this problem?