{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/wpf/issues/57","repository_url":"https://api.github.com/repos/dotnet/wpf","labels_url":"https://api.github.com/repos/dotnet/wpf/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/wpf/issues/57/comments","events_url":"https://api.github.com/repos/dotnet/wpf/issues/57/events","html_url":"https://github.com/dotnet/wpf/issues/57","id":387448783,"node_id":"MDU6SXNzdWUzODc0NDg3ODM=","number":57,"title":"Command dotnet build for WPF app fails with 'File can not be found' error on Mac","user":{"login":"atverma","id":20994583,"node_id":"MDQ6VXNlcjIwOTk0NTgz","avatar_url":"https://avatars2.githubusercontent.com/u/20994583?v=4","gravatar_id":"","url":"https://api.github.com/users/atverma","html_url":"https://github.com/atverma","followers_url":"https://api.github.com/users/atverma/followers","following_url":"https://api.github.com/users/atverma/following{/other_user}","gists_url":"https://api.github.com/users/atverma/gists{/gist_id}","starred_url":"https://api.github.com/users/atverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atverma/subscriptions","organizations_url":"https://api.github.com/users/atverma/orgs","repos_url":"https://api.github.com/users/atverma/repos","events_url":"https://api.github.com/users/atverma/events{/privacy}","received_events_url":"https://api.github.com/users/atverma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/wpf/milestones/1","html_url":"https://github.com/dotnet/wpf/milestone/1","labels_url":"https://api.github.com/repos/dotnet/wpf/milestones/1/labels","id":3783718,"node_id":"MDk6TWlsZXN0b25lMzc4MzcxOA==","number":1,"title":"3.0","description":".NET Core 3.0, first release of WPF/WinForms technology on .NET Core. See [official release dates](https://github.com/dotnet/core/blob/master/roadmap.md) for details.","creator":{"login":"karelz","id":5776068,"node_id":"MDQ6VXNlcjU3NzYwNjg=","avatar_url":"https://avatars2.githubusercontent.com/u/5776068?v=4","gravatar_id":"","url":"https://api.github.com/users/karelz","html_url":"https://github.com/karelz","followers_url":"https://api.github.com/users/karelz/followers","following_url":"https://api.github.com/users/karelz/following{/other_user}","gists_url":"https://api.github.com/users/karelz/gists{/gist_id}","starred_url":"https://api.github.com/users/karelz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karelz/subscriptions","organizations_url":"https://api.github.com/users/karelz/orgs","repos_url":"https://api.github.com/users/karelz/repos","events_url":"https://api.github.com/users/karelz/events{/privacy}","received_events_url":"https://api.github.com/users/karelz/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":9,"state":"open","created_at":"2018-10-31T00:44:59Z","updated_at":"2018-12-08T01:14:24Z","due_on":"2019-12-31T08:00:00Z","closed_at":null},"comments":9,"created_at":"2018-12-04T19:41:16Z","updated_at":"2018-12-08T12:58:23Z","closed_at":"2018-12-04T20:07:23Z","author_association":"NONE","body":"* .NET Core Version: SDK 3.0.100-preview-009812\r\n* OS version: macOS Mojave v 10.14.1\r\n* Does the bug reproduce also in WPF for .NET Framework 4.8?: No\r\n\r\n <!-- Read https://github.com/dotnet/wpf/blob/master/Documentation/issue-guide.md -->\r\n \r\n **Problem description: After creating WPF project by running dotnet -new wpf command, dotnet build command fails with file not found errors.**\r\n \r\n **Actual behavior:** \r\nA sample error is displayed below. The file exists however it seems that path separator is not correct which may be causing this build failure e.g. for root path and App.xaml.\r\n\r\n/usr/local/share/dotnet/sdk/3.0.100-preview-009812/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFX.targets(243,9): error BG1002: File '/Users/atverma/Documents/GitHub/DotNetCoreWPFApp/MyWPFApp\\App.xaml' cannot be found. [/Users/atverma/Documents/GitHub/DotNetCoreWPFApp/MyWPFApp/MyWPFApp.csproj]\r\n/usr/local/share/dotnet/sdk/3.0.100-preview-009812/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFX.targets(243,9): error BG1002: File 'MainWindow.xaml' cannot be found. [/Users/atverma/Documents/GitHub/DotNetCoreWPFApp/MyWPFApp/MyWPFApp.csproj]\r\n/usr/local/share/dotnet/sdk/3.0.100-preview-009812/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFX.targets(243,9): error BG1003: The project file contains a property value that is not valid. [/Users/atverma/Documents/GitHub/DotNetCoreWPFApp/MyWPFApp/MyWPFApp.csproj]\r\n\r\nBuild FAILED.\r\n\r\n \r\n **Expected behavior:**\r\nExpected dotnet build to succeed.\r\n \r\n **Minimal repro:**\r\n1. On a Mac, I have installed lastest sdk from\r\nhttps://dotnet.microsoft.com/download/dotnet-core/3.0\r\n2. Executed dotnet -new wpf -o SampleWPFApp command\r\n3. Changed current folder in terminal to SampleWPFApp\r\n3. Executed dotnet build however it fails\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/wpf/issues/comments/445457372","html_url":"https://github.com/dotnet/wpf/issues/57#issuecomment-445457372","issue_url":"https://api.github.com/repos/dotnet/wpf/issues/57","id":445457372,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTQ1NzM3Mg==","user":{"login":"nguerrera","id":75470,"node_id":"MDQ6VXNlcjc1NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/75470?v=4","gravatar_id":"","url":"https://api.github.com/users/nguerrera","html_url":"https://github.com/nguerrera","followers_url":"https://api.github.com/users/nguerrera/followers","following_url":"https://api.github.com/users/nguerrera/following{/other_user}","gists_url":"https://api.github.com/users/nguerrera/gists{/gist_id}","starred_url":"https://api.github.com/users/nguerrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nguerrera/subscriptions","organizations_url":"https://api.github.com/users/nguerrera/orgs","repos_url":"https://api.github.com/users/nguerrera/repos","events_url":"https://api.github.com/users/nguerrera/events{/privacy}","received_events_url":"https://api.github.com/users/nguerrera/received_events","type":"User","site_admin":false},"created_at":"2018-12-08T12:58:23Z","updated_at":"2018-12-08T12:58:23Z","author_association":"MEMBER","body":"Yes, that's correct. "}}
{"actor":{"display_login":"nguerrera"}}