{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/4682","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/4682/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/4682/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/4682/events","html_url":"https://github.com/aspnet/Mvc/issues/4682","id":155830647,"number":4682,"title":"Running on full .NET framework with referenced assemblies","user":{"login":"skyflyer","id":415535,"avatar_url":"https://avatars.githubusercontent.com/u/415535?v=3","gravatar_id":"","url":"https://api.github.com/users/skyflyer","html_url":"https://github.com/skyflyer","followers_url":"https://api.github.com/users/skyflyer/followers","following_url":"https://api.github.com/users/skyflyer/following{/other_user}","gists_url":"https://api.github.com/users/skyflyer/gists{/gist_id}","starred_url":"https://api.github.com/users/skyflyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyflyer/subscriptions","organizations_url":"https://api.github.com/users/skyflyer/orgs","repos_url":"https://api.github.com/users/skyflyer/repos","events_url":"https://api.github.com/users/skyflyer/events{/privacy}","received_events_url":"https://api.github.com/users/skyflyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aspnet/Mvc/milestones/18","html_url":"https://github.com/aspnet/Mvc/milestones/Discussions","labels_url":"https://api.github.com/repos/aspnet/Mvc/milestones/18/labels","id":1254581,"number":18,"title":"Discussions","description":"","creator":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":1,"state":"open","created_at":"2015-08-14T02:04:42Z","updated_at":"2016-05-23T19:04:37Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-05-19T20:44:24Z","updated_at":"2016-05-23T19:55:48Z","closed_at":null,"body":"I'm sorry if this has been asked before, but I can't find good/definitive information about this. The ASP.NET 5 RC1 MVC app had the option to be run either on full .NET framework or on .NET Core. The [target monikers from RC1](https://github.com/aspnet/Announcements/issues/98) are obviously not relevant anymore.\r\n\r\nThe reason I'm asking is because I'd like to reference existing .NET assemblies in the new MVC app which are not portable assemblies.\r\n\r\nIn the blank `dotnet new` app, I see only `netcoreapp1.0` moniker:\r\n\r\n     \"frameworks\": {\r\n        \"netcoreapp1.0\": {\r\n          \"imports\": \"dnxcore50\"\r\n        }\r\n      }\r\n\r\nwhile the MVC app has the following moniker:\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      ]\r\n    }\r\n  }\r\n```\r\n\r\nThe \"imports\" suggest that it should be possible to run on full .NET CLR (I'm guessing) but I can't reference assemblies (.NET Core projects only support referencing .NET framework assemblies in this release. To reference other assemblies, they need to be included in a NuGet package and reference that package) nor can I reference a .NET nuget package (for instance, try log4net) -- (The dependency log4net 2.0.5 does not support framework .NETCoreApp,Version=v1.0.). So, are we unable to run the \"new MVC\" framework on full .NET? Is this a tooling issue (and if so, what would be the workaround) or RC2 issue or is it actually designed that way (to be run only on .NET core and not on full .net framework)?\r\n\r\nTo be as concrete as possible, we're looking into upgrading existing infrastructure in a corporate environment and we need to reference (among other stuff) IBM DB2 and CTG assemblies, which are not (and who knows when and if) .NET core \"compatible\").\r\n\r\nI'm guessing it should be possible by wrapping existing DLL in a \"project.json\" wrapper project while defining target framework moniker compatible with netstandard1.5 and somehow referencing the wrapped project from the MVC, but I'm not sure whether this is a way to go and whether it is a supported approach. I got the idea from [Corefx documentation](https://github.com/dotnet/corefx/blob/master/Documentation/architecture/net-platform-standard.md).\r\n\r\nAny feedback would be appreciated."},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/221077636","html_url":"https://github.com/aspnet/Mvc/issues/4682#issuecomment-221077636","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/4682","id":221077636,"user":{"login":"skyflyer","id":415535,"avatar_url":"https://avatars.githubusercontent.com/u/415535?v=3","gravatar_id":"","url":"https://api.github.com/users/skyflyer","html_url":"https://github.com/skyflyer","followers_url":"https://api.github.com/users/skyflyer/followers","following_url":"https://api.github.com/users/skyflyer/following{/other_user}","gists_url":"https://api.github.com/users/skyflyer/gists{/gist_id}","starred_url":"https://api.github.com/users/skyflyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyflyer/subscriptions","organizations_url":"https://api.github.com/users/skyflyer/orgs","repos_url":"https://api.github.com/users/skyflyer/repos","events_url":"https://api.github.com/users/skyflyer/events{/privacy}","received_events_url":"https://api.github.com/users/skyflyer/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T19:55:47Z","updated_at":"2016-05-23T19:55:47Z","body":"@Eilon, sounds good, but doesn't answer the question entirely. I'll tried searching for information, but came empty handed.\r\n\r\nIt would be nice if target framework monikers would be documented (or is it just me and I can't find them)?\r\n\r\nAnd also, it would be nice if it was documented how to reference an existing dll with RC2 tooling.\r\n\r\nSure, this is not an MVC-only issue (and I should direct the question in another tracker), but the issues at hand relate to \"how to run the *new* MVC on a full .NET framework\". Given your answer, I suspect \"File new project\" and \"changing `netcoreapp` to `net451` framework should do the trick (will test it again ASAP tomorrow, but I tried that before and documented my failure above (3 days ago))? What about MVC dependencies?"}}
{"actor":{"display_login":"skyflyer"}}