Skip to content
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

NullReferenceException when minimizing signalr.js #9

Open
IndigoHealth opened this issue Jul 13, 2022 · 0 comments
Open

NullReferenceException when minimizing signalr.js #9

IndigoHealth opened this issue Jul 13, 2022 · 0 comments

Comments

@IndigoHealth
Copy link

IndigoHealth commented Jul 13, 2022

BundlerMinifier refuses to minimize the Microsoft signalr.js (version 6.0.7) distribution file.

My libman.json (edited to remove all other package references):

{
  "version": "1.0",
  "defaultProvider": "cdnjs",
  "libraries": [
    {
      "library": "[email protected]",
      "destination": "wwwroot/lib/microsoft-signalr/"
    }
  ]
}

My bundleconfig.json (edited to remove all other package references):

[
  {
    "outputFileName": "wwwroot/bundles/signalr.js",
    "inputFiles": [
      "wwwroot/lib/microsoft-signalr/signalr.js"
    ]
  }
]

Sometimes (but not always) BundlerMinifier displays an error in the output log complaining that it can't minimize signalr.js. The Error List almost always displays this error:

image

Installed product versions

  • Visual Studio Professional 2022 (64-bit) Version 17.2.6
  • Bundler & Minifier - 2.9.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant