Reputation: 4592
The default ASP.NET Core
template project.json
"dependencies": {
"BundlerMinifier.Core": "2.1.258",
...
}
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"portable-net45+win8"
]
}
},
The server I am deploying to only has .NET 4.5.1
so I replace the above frameworks section with
"frameworks": {
"net451": { }
},
but then I get the following build error in my ASP.net Core RTM application
Error NU1002 The dependency BundlerMinifier.Core 2.1.258 does not support framework .NETFramework,Version=v4.5.1. project.json
Does BundlerMinifier.Core support .net 4.5.1?
Upvotes: 0
Views: 384
Reputation: 49789
If you look into BundlerMinifier.Core project.json file, you will find only "netcoreapp1.0"
and "net452"
, so right now the answer is "no".
Should work if you can upgrade your project to .NET 4.5.2
Upvotes: 1