-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Nuget version breaks #345
Comments
I replaced that 1 line with the following and it's working now: Configuration.Instance.Platform = new PlatformConfiguration();
|
I'm not fully understanding your reply but in general you want to use those static methods off of Bundle class as the entry point to working with bundles. Are you trying to use SquishIt.Framework directly (without the asp.net integration) in some kind of build utility? |
Yes, i am writing my own build utility to minify css |
Hmm have not thought about this in a long time (there used to be a command line utility included in this project). Have you had much success? |
The following code crashes in visual studio 2017 .net 4.6.1:
var cssBundle = new SquishIt.Framework.CSS.CSSBundle();
Error:
Object reference not set to an instance of an object.
at SquishIt.Framework.CSS.CSSBundle..ctor() in c:\Users\alexu\git\SquishIt\SquishIt.Framework\CSS\CSSBundle.cs:line 64
at BuildHelper.Program.BuildWebsiteTemplate() in D:\Projects\WebsiteTemplate\BuildHelper\Program.cs:line 38
at BuildHelper.Program.Main(String[] args) in D:\Projects\WebsiteTemplate\BuildHelper\Program.cs:line 14
The text was updated successfully, but these errors were encountered: