I can not find [Serializable] in DNX Core 5.0 I am trying to use the "system". Its work for DNX 4.5.1, but not for 5.0. What packages should be added to make this work?
[Serializable] public class WorkItem { }
My json project
{ "webroot": "wwwroot", "version": "1.0.0-*", "dependencies": { "Microsoft.AspNet.Server.IIS": "1.0.0-beta7", "Microsoft.AspNet.Server.WebListener": "1.0.0-beta7", "_my.DataAccess.Common": "1.0.0-*", "_my.DependencyInjection.Common": "1.0.0-*", "System.Runtime.Serialization": "4.0.0.0" }, "commands": { "web": "Microsoft.AspNet.Hosting --config hosting.ini" }, "frameworks": { "dnx451": { "frameworkAssemblies": { "System.Runtime.Serialization": "4.0.0.0" } }, "dnxcore50": { } }, "publishExclude": [ "node_modules", "bower_components", "**.xproj", "**.user", "**.vspscc" ], "exclude": [ "wwwroot", "node_modules", "bower_components" ] }
source share