I'm trying to install a package via the package manager console for PowerBI, and I keep getting this error:
Install-Package : An error occurred while applying transformation to 'Views\web.config' in project 'Application': No element in the source document matches
'/configuration/system.web/compilation/assemblies'
At line:1 char:1
+ Install-Package Microsoft.PowerBi.AspNet.Mvc
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidDataException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
The command I'm trying to run is:
Install-Package Microsoft.PowerBi.AspNet.Mvc
I've tried installing different versions, that hasn't worked either.
Not really sure why this is failing, I've never had issues with the package manager console before.