Share via


Usage of web grease library which is licensed under MS.NET Library license

Question

Wednesday, February 20, 2019 8:01 AM



I have created a basic MVC application which has the Optimization library and its dependency WebGrease library. While I am trying to get this hosted on my company's server I have been notified that I cannot use the webgrease library as the license has the following terms.

use the software for commercial software hosting services.

Full license terms are here

https://www.microsoft.com/web/webpi/eula/aspnetcomponent_rtw_ENU.htm

https://www.nuget.org/packages/WebGrease/

My questions are:

  1. Would keeping this library for commercial software hosting cause problems?
  2. Are there any alternative solutions available for MVC bundling and minification recommended by Microsoft 

All replies (1)

Thursday, February 21, 2019 8:37 AM ✅Answered

Hi Sris99,

Welcome to the MSDN forum.

As I know, currently MVC project has deprecated WebGrease library for a long time, replace it for BundleConfig.cs. when you create a new MVC project in VS, it definitely added in there.

If possible, you could refer to this similar thread: https://stackoverflow.com/questions/21668280/how-do-i-add-bundleconfig-cs-to-my-project . since our forum mainly focus on VS IDE issue. If you have any MVC question want to discussion it deeply, I suggest you redirect to ASP MVC forum for a better supporting.

Thank you for your understanding and please give me a feedback whatever you could.

Br

May

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]