{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/dotnet-watch/issues/136","repository_url":"https://api.github.com/repos/aspnet/dotnet-watch","labels_url":"https://api.github.com/repos/aspnet/dotnet-watch/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/dotnet-watch/issues/136/comments","events_url":"https://api.github.com/repos/aspnet/dotnet-watch/issues/136/events","html_url":"https://github.com/aspnet/dotnet-watch/issues/136","id":165068486,"number":136,"title":"Dotnet watch doesn't run with certain references","user":{"login":"janpieterz","id":383634,"avatar_url":"https://avatars.githubusercontent.com/u/383634?v=3","gravatar_id":"","url":"https://api.github.com/users/janpieterz","html_url":"https://github.com/janpieterz","followers_url":"https://api.github.com/users/janpieterz/followers","following_url":"https://api.github.com/users/janpieterz/following{/other_user}","gists_url":"https://api.github.com/users/janpieterz/gists{/gist_id}","starred_url":"https://api.github.com/users/janpieterz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janpieterz/subscriptions","organizations_url":"https://api.github.com/users/janpieterz/orgs","repos_url":"https://api.github.com/users/janpieterz/repos","events_url":"https://api.github.com/users/janpieterz/events{/privacy}","received_events_url":"https://api.github.com/users/janpieterz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-12T12:31:24Z","updated_at":"2016-07-13T12:32:06Z","closed_at":null,"body":"I have been unable to pinpoint exactly which is erroring, but it seems to be related to certain project references. `dotnet run` works fine, and I have tried all kinds of things with the references projects, lock files, restores and what not. Reason I'm thinking this is a referencing issue is because in other projects it works fine that have less or different references (local project references). It fails reliably every time ;)\r\n\r\nError given:\r\n\r\n```\r\n[DotNetWatcher] fail: Error(s) reading project file 'C:\\Development\\Arke\\Portal\\project.json':\r\n[DotNetWatcher] fail: Value cannot be null.\r\nParameter name: path2\r\n[DotNetWatcher] info: Fix the error to continue.\r\n``` \r\n\r\nProject.Json:\r\n```\r\n{\r\n  \"userSecretsId\": \"aspnet-Portal-dbc56205-faad-485b-b721-9f61800808d8\",\r\n\r\n  \"dependencies\": {\r\n    \"Halibut\": \"2.2.2\",\r\n    \"Microsoft.AspNetCore.Authentication.Cookies\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Diagnostics\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Identity.EntityFrameworkCore\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Mvc\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Server.IISIntegration\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.Server.Kestrel\": \"1.0.0\",\r\n    \"Microsoft.AspNetCore.StaticFiles\": \"1.0.0\",\r\n    \"Microsoft.EntityFrameworkCore.SqlServer\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Configuration.EnvironmentVariables\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Configuration.Json\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Configuration.UserSecrets\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Logging\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Logging.Console\": \"1.0.0\",\r\n    \"Microsoft.Extensions.Logging.Debug\": \"1.0.0\",\r\n    \"Microsoft.VisualStudio.Web.CodeGenerators.Mvc\": {\r\n      \"version\": \"1.0.0-preview2-final\",\r\n      \"type\": \"build\"\r\n    },\r\n    \"Newtonsoft.Json\": \"9.0.1\",\r\n    \"NServiceBus\": \"5.2.14\",\r\n    \"NServiceBus.Azure.Transports.WindowsAzureServiceBus\": \"6.4.0\",\r\n    \"NServiceBus.Serilog\": \"2.0.1.1\",\r\n    \"WindowsAzure.ServiceBus\": \"2.7.6\",\r\n    \"WindowsAzure.Storage\": \"4.3.0\",\r\n    \"Autofac\": \"4.0.0-rc3-286\",\r\n    \"Autofac.Extensions.DependencyInjection\": \"4.0.0-rc3-280\",\r\n    \"Serilog.Extensions.Logging\": \"1.0.0\",\r\n    \"Serilog.Sinks.ColoredConsole\": \"2.0.0\",\r\n    \"Serilog.Sinks.Seq\": \"2.0.0\"\r\n  },\r\n\r\n  \"tools\": {\r\n    \"Microsoft.DotNet.Watcher.Tools\": {\r\n      \"version\": \"1.0.0-preview2-final\"\r\n    }\r\n  },\r\n\r\n  \"frameworks\": {\r\n    \"net451\": {\r\n      \"imports\": [\r\n        \"dotnet5.6\",\r\n        \"netcoreapp1.0\",\r\n        \"dnxcore50\",\r\n        \"portable-net45+win8\"\r\n      ],\r\n      \"dependencies\": {\r\n        \"Intreba.Arke.Account\": {\r\n          \"target\": \"project\"\r\n        },\r\n        \"Intreba.Azure.Storage\": {\r\n          \"target\": \"project\"\r\n        },\r\n        \"Messages\": {\r\n          \"target\": \"project\"\r\n        },\r\n        \"Services.Billing\": {\r\n          \"target\": \"project\"\r\n        },\r\n        \"Services.Client\": {\r\n          \"target\": \"project\"\r\n        },\r\n        \"Services.ITops.Sms\": {\r\n          \"target\": \"project\"\r\n        },\r\n        \"Services.Message\": {\r\n          \"target\": \"project\"\r\n        },\r\n        \"Services.Phone\": {\r\n          \"target\": \"project\"\r\n        },\r\n        \"Services.User\": {\r\n          \"target\": \"project\"\r\n        }\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  \"publishOptions\": {\r\n    \"include\": [\r\n      \"wwwroot\",\r\n      \"Views\",\r\n      \"appsettings.json\",\r\n      \"web.config\",\r\n      \"Intreba.Arke.Portal.nuspec\",\r\n      \"Resources\"\r\n    ]\r\n  },\r\n\r\n  \"scripts\": {\r\n    \"prepublish\": [ \"npm install\", \"bower install\", \"gulp productifyscripts\", \"gulp vendorScripts\", \"gulp appStyles\", \"gulp vendorStyles\" ] \r\n  }\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/dotnet-watch/issues/comments/232340879","html_url":"https://github.com/aspnet/dotnet-watch/issues/136#issuecomment-232340879","issue_url":"https://api.github.com/repos/aspnet/dotnet-watch/issues/136","id":232340879,"user":{"login":"janpieterz","id":383634,"avatar_url":"https://avatars.githubusercontent.com/u/383634?v=3","gravatar_id":"","url":"https://api.github.com/users/janpieterz","html_url":"https://github.com/janpieterz","followers_url":"https://api.github.com/users/janpieterz/followers","following_url":"https://api.github.com/users/janpieterz/following{/other_user}","gists_url":"https://api.github.com/users/janpieterz/gists{/gist_id}","starred_url":"https://api.github.com/users/janpieterz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janpieterz/subscriptions","organizations_url":"https://api.github.com/users/janpieterz/orgs","repos_url":"https://api.github.com/users/janpieterz/repos","events_url":"https://api.github.com/users/janpieterz/events{/privacy}","received_events_url":"https://api.github.com/users/janpieterz/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T12:32:06Z","updated_at":"2016-07-13T12:32:06Z","body":"I got it replicated. Locally this commit shows exactly the same behavior as above.\r\nhttps://github.com/janpieterz/DotnetWatchError/tree/6938fc2fb97a319ebcdc77fab7e17bd0e6ece96b"}}
{"actor":{"display_login":"janpieterz"}}