{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/5441","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/5441/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/5441/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/5441/events","html_url":"https://github.com/dotnet/coreclr/issues/5441","id":158261357,"number":5441,"title":"You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral ??","user":{"login":"DevZ1","id":4217221,"avatar_url":"https://avatars.githubusercontent.com/u/4217221?v=3","gravatar_id":"","url":"https://api.github.com/users/DevZ1","html_url":"https://github.com/DevZ1","followers_url":"https://api.github.com/users/DevZ1/followers","following_url":"https://api.github.com/users/DevZ1/following{/other_user}","gists_url":"https://api.github.com/users/DevZ1/gists{/gist_id}","starred_url":"https://api.github.com/users/DevZ1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevZ1/subscriptions","organizations_url":"https://api.github.com/users/DevZ1/orgs","repos_url":"https://api.github.com/users/DevZ1/repos","events_url":"https://api.github.com/users/DevZ1/events{/privacy}","received_events_url":"https://api.github.com/users/DevZ1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/coreclr/milestones/5","html_url":"https://github.com/dotnet/coreclr/milestones/Future","labels_url":"https://api.github.com/repos/dotnet/coreclr/milestones/5/labels","id":1328081,"number":5,"title":"Future","description":"Milestone tracking the issues that have been triaged for after 1.0.0-rtm","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":566,"closed_issues":202,"state":"open","created_at":"2015-09-29T00:26:07Z","updated_at":"2016-06-15T19:14:52Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-06-02T23:23:03Z","updated_at":"2016-06-15T23:07:26Z","closed_at":null,"body":"Hi Devs,\r\n\r\nfirst of all I want to to say that I really like RC1 release, but didn't expect the MS team to radically change everything in RC2? 👎  Why call it RC while you changed practically everything in the RC2 release? My whole project doesn't work and i'm spending days to convert everything to RC2 and my project is still not working. I want to host everything under IIS, so cross platform does not interest me and want to use also .NET Framework libraries. One of them is ReflectSoftware.Insight for debugging and logging purposes. \r\nI've added the package through Nuget, but when I add _ri.SendDebug(\"test\"); to my code, I get the following compiler error: \r\n\r\nThe type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.\tFFSNXG..NETCoreApp,Version=v1.0\r\n\r\nHow can I make this work, so I can use some of our .NET Framework 4.xx libs in my project?\r\nHow can i add this lib so libs such as SendGrid & ReflectInsight works? Thanks very much for your help!\r\n\r\nMy Project file is:\r\n\r\n`{\r\n  \"userSecretsId\": \"aspnet-FFSNXG-xxxxxxxxxx\",\r\n\r\n  \"dependencies\": {\r\n    \"Microsoft.NETCore.App\": {\r\n      \"version\": \"1.0.0-rc2-3002702\",\r\n      \"type\": \"platform\"\r\n    },\r\n    \"Microsoft.AspNetCore.Authentication.Cookies\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.AspNetCore.Diagnostics\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.AspNetCore.Identity.EntityFrameworkCore\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.AspNetCore.Mvc\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.AspNetCore.Razor.Tools\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"type\": \"build\"\r\n    },\r\n    \"Microsoft.AspNetCore.Server.IISIntegration\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.AspNetCore.Server.Kestrel\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.AspNetCore.StaticFiles\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.EntityFrameworkCore.SqlServer\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.EntityFrameworkCore.SqlServer.Design\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.EntityFrameworkCore.Tools\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"type\": \"build\"\r\n    },\r\n    \"Microsoft.Extensions.Configuration.EnvironmentVariables\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.Extensions.Configuration.Json\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.Extensions.Configuration.UserSecrets\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.Extensions.Logging\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.Extensions.Logging.Console\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.Extensions.Logging.Debug\": \"1.0.0-rc2-final\",\r\n    \"Microsoft.VisualStudio.Web.BrowserLink.Loader\": \"14.0.0-rc2-final\",\r\n    \"Microsoft.VisualStudio.Web.CodeGeneration.Tools\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"type\": \"build\"\r\n    },\r\n    \"Microsoft.VisualStudio.Web.CodeGenerators.Mvc\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"type\": \"build\"\r\n    },\r\n    \"NXGDAL\": \"1.0.0-*\",\r\n    \"Microsoft.Framework.Runtime.Abstractions\": \"1.0.0-beta5\",\r\n    \"Microsoft.AspNetCore.Session\": \"1.0.0-rc2-final\",\r\n    \"ReflectSoftware.Insight\": \"5.6.0\",\r\n    \"Sendgrid\": \"6.3.4\"\r\n  },\r\n\r\n  \"tools\": {\r\n    \"Microsoft.AspNetCore.Razor.Tools\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"imports\": \"portable-net45+win8+dnxcore50\"\r\n    },\r\n    \"Microsoft.AspNetCore.Server.IISIntegration.Tools\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"imports\": \"portable-net45+win8+dnxcore50\"\r\n    },\r\n    \"Microsoft.EntityFrameworkCore.Tools\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"imports\": [\r\n        \"portable-net45+win8+dnxcore50\",\r\n        \"portable-net45+win8\"\r\n      ]\r\n    },\r\n    \"Microsoft.Extensions.SecretManager.Tools\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"imports\": \"portable-net45+win8+dnxcore50\"\r\n    },\r\n    \"Microsoft.VisualStudio.Web.CodeGeneration.Tools\": {\r\n      \"version\": \"1.0.0-preview1-final\",\r\n      \"imports\": [\r\n        \"portable-net45+win8+dnxcore50\",\r\n        \"portable-net45+win8\"\r\n      ]\r\n    }\r\n  },\r\n\r\n  \"frameworks\": {\r\n    \"netcoreapp1.0\": {\r\n      \"imports\": [\r\n        \"dotnet5.6\",\r\n        \"dnxcore50\",\r\n        \"portable-net45+win8\",\r\n        \"net452\"\r\n      ]\r\n    }\r\n  },\r\n\r\n  \"buildOptions\": {\r\n    \"emitEntryPoint\": true,\r\n    \"preserveCompilationContext\": true\r\n  },\r\n\r\n  \"runtimeOptions\": {\r\n    \"gcServer\": true\r\n  },\r\n\r\n  \"publishOptions\": {\r\n    \"include\": [\r\n      \"wwwroot\",\r\n      \"Views\",\r\n      \"appsettings.json\",\r\n      \"web.config\"\r\n    ]\r\n  },\r\n\r\n  \"scripts\": {\r\n    \"prepublish\": [ \"npm install\", \"bower install\", \"gulp clean\", \"gulp min\" ],\r\n    \"postpublish\": [ \"dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%\" ]\r\n  }\r\n}\r\n`"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/226346019","html_url":"https://github.com/dotnet/coreclr/issues/5441#issuecomment-226346019","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/5441","id":226346019,"user":{"login":"shahid-pk","id":6080471,"avatar_url":"https://avatars.githubusercontent.com/u/6080471?v=3","gravatar_id":"","url":"https://api.github.com/users/shahid-pk","html_url":"https://github.com/shahid-pk","followers_url":"https://api.github.com/users/shahid-pk/followers","following_url":"https://api.github.com/users/shahid-pk/following{/other_user}","gists_url":"https://api.github.com/users/shahid-pk/gists{/gist_id}","starred_url":"https://api.github.com/users/shahid-pk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahid-pk/subscriptions","organizations_url":"https://api.github.com/users/shahid-pk/orgs","repos_url":"https://api.github.com/users/shahid-pk/repos","events_url":"https://api.github.com/users/shahid-pk/events{/privacy}","received_events_url":"https://api.github.com/users/shahid-pk/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T23:07:26Z","updated_at":"2016-06-15T23:07:26Z","body":"@brentarias your issue is the same , you are trying to use an assembly which was compiled for .net 4.5, this can not be done , assembly compiled for .net 4.5 cannot be used in .net core.\r\n\r\nIf React.AspNet instead targets netstandard 1.1 then it can be used in .net 4.5 and in .net core both. "}}
{"actor":{"display_login":"shahid-pk"}}