{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-functions-core-tools/issues/335","repository_url":"https://api.github.com/repos/Azure/azure-functions-core-tools","labels_url":"https://api.github.com/repos/Azure/azure-functions-core-tools/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-functions-core-tools/issues/335/comments","events_url":"https://api.github.com/repos/Azure/azure-functions-core-tools/issues/335/events","html_url":"https://github.com/Azure/azure-functions-core-tools/issues/335","id":281854731,"node_id":"MDU6SXNzdWUyODE4NTQ3MzE=","number":335,"title":"Pre-Compiled assembly not working with EFCore 2.0","user":{"login":"DOMZE","id":8238156,"node_id":"MDQ6VXNlcjgyMzgxNTY=","avatar_url":"https://avatars0.githubusercontent.com/u/8238156?v=4","gravatar_id":"","url":"https://api.github.com/users/DOMZE","html_url":"https://github.com/DOMZE","followers_url":"https://api.github.com/users/DOMZE/followers","following_url":"https://api.github.com/users/DOMZE/following{/other_user}","gists_url":"https://api.github.com/users/DOMZE/gists{/gist_id}","starred_url":"https://api.github.com/users/DOMZE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DOMZE/subscriptions","organizations_url":"https://api.github.com/users/DOMZE/orgs","repos_url":"https://api.github.com/users/DOMZE/repos","events_url":"https://api.github.com/users/DOMZE/events{/privacy}","received_events_url":"https://api.github.com/users/DOMZE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":35,"created_at":"2017-12-13T18:43:13Z","updated_at":"2018-06-21T13:07:33Z","closed_at":null,"author_association":"NONE","body":"I am experiencing an error in Visual Studio 2017 15.5.1 using the package versions below:\r\nMicrosoft.NET.Sdk.Functions 1.0.7\r\nMicrosoft.EntityFrameworkCore 2.0.1\r\n\r\nThe function is setup to use .NET Standard 2.0\r\n\r\nWhen running the function, the function throws an exception:\r\nCould not load file or assembly 'Microsoft.EntityFrameworkCore, Version=2.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)\r\n\r\nTo replicate the problem:\r\nCreate a Time Trigger function.\r\nAdd Microsoft.EntityFrameworkCore package\r\nUpdate the SDK package to 1.0.7\r\n\r\nReference EF in the Run method. Any object in the package is sufficient.\r\n\r\nRun the function\r\nCheck that a FileLoadException occurs.\r\n\r\nPossible related issue: https://github.com/Azure/azure-functions-cli/issues/253"},"comment":{"url":"https://api.github.com/repos/Azure/azure-functions-core-tools/issues/comments/399097139","html_url":"https://github.com/Azure/azure-functions-core-tools/issues/335#issuecomment-399097139","issue_url":"https://api.github.com/repos/Azure/azure-functions-core-tools/issues/335","id":399097139,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTA5NzEzOQ==","user":{"login":"VaclavElias","id":4528464,"node_id":"MDQ6VXNlcjQ1Mjg0NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4528464?v=4","gravatar_id":"","url":"https://api.github.com/users/VaclavElias","html_url":"https://github.com/VaclavElias","followers_url":"https://api.github.com/users/VaclavElias/followers","following_url":"https://api.github.com/users/VaclavElias/following{/other_user}","gists_url":"https://api.github.com/users/VaclavElias/gists{/gist_id}","starred_url":"https://api.github.com/users/VaclavElias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VaclavElias/subscriptions","organizations_url":"https://api.github.com/users/VaclavElias/orgs","repos_url":"https://api.github.com/users/VaclavElias/repos","events_url":"https://api.github.com/users/VaclavElias/events{/privacy}","received_events_url":"https://api.github.com/users/VaclavElias/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T13:07:33Z","updated_at":"2018-06-21T13:07:33Z","author_association":"NONE","body":"I have also an update with my tests. Finally made it all working.\r\n\r\nMy stars alignment :)\r\n\r\n- Visual Studio -> Azure Functions and Web Job Tools 15.0.40617.0 (installed today)\r\n- Function Runtime Version: 2.0.11857.0\r\n- Azure Functions Core Tools (2.0.1-beta.29) installed with \r\n`npm i -g azure-functions-core-tools@core --unsafe-perm true`\r\n- When I run it from Visual Studio I got some errors so I used this [Manual Update](https://github.com/Azure/azure-functions-vs-build-sdk/wiki/How-to-manually-update-the-Azure-Functions-Core-Tools) and I can run it without any errors\r\n- I have published it to Azure (Runtime version: 2.0.11857.0 (beta)) and all is working\r\n\r\n@joseclament all is working. .NET Core 2.1, using also Entity Framework 2.1.\r\n"}}
{"actor":{"display_login":"VaclavElias"}}