{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Templates/issues/635","repository_url":"https://api.github.com/repos/aspnet/Templates","labels_url":"https://api.github.com/repos/aspnet/Templates/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Templates/issues/635/comments","events_url":"https://api.github.com/repos/aspnet/Templates/issues/635/events","html_url":"https://github.com/aspnet/Templates/issues/635","id":162342399,"number":635,"title":"Exclude 'lib' or 'wwwroot' from buildOptions in project.json","user":{"login":"LukaszDev","id":17419186,"avatar_url":"https://avatars.githubusercontent.com/u/17419186?v=3","gravatar_id":"","url":"https://api.github.com/users/LukaszDev","html_url":"https://github.com/LukaszDev","followers_url":"https://api.github.com/users/LukaszDev/followers","following_url":"https://api.github.com/users/LukaszDev/following{/other_user}","gists_url":"https://api.github.com/users/LukaszDev/gists{/gist_id}","starred_url":"https://api.github.com/users/LukaszDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukaszDev/subscriptions","organizations_url":"https://api.github.com/users/LukaszDev/orgs","repos_url":"https://api.github.com/users/LukaszDev/repos","events_url":"https://api.github.com/users/LukaszDev/events{/privacy}","received_events_url":"https://api.github.com/users/LukaszDev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-26T19:12:24Z","updated_at":"2016-06-26T19:20:54Z","closed_at":null,"body":"Hi Guys,\r\n\r\nFollowing this issue: [Wrong assembly information / exe file details (dotnet/cli  #3620)](https://github.com/dotnet/cli/issues/3620)...\r\n\r\nCan you consider in new templates to exclude `lib` or `wwwroot` folder from `buildOptions` in `project.json` by default ?\r\n\r\nFor example:\r\n```\r\n\"buildOptions\": {\r\n  \"compile\": {\r\n    \"exclude\": [ \"lib\" ]\r\n  }\r\n}\r\n```\r\n\r\nCurrently (.NET Core RC2) new project created from default template in VS2015 not contain the `AssemblyInfo.cs` file... It's mean that assembly information are taken form `project.json` - that's fine, but `AssemblyInfo.cs` it's still 'higher priority' file, and it's used if exist anywhere in the project...\r\n\r\nIt's mean that we have mess if we don't have our own `AssemblyInfo.cs` file (by default), but any of 3rd-party library (included by bower) contains that file (from any reason) - in that case this 3rd-party file will be taken as source of assembly information - it confuse if you don't know about this ;)\r\n\r\nExcluding 'lib' folder (bower components) from compilation, seems to be good enough solution - maybe it's worth to sort this by default in the new projects templates ?\r\n\r\nThanks in advance.\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Templates/issues/comments/228617552","html_url":"https://github.com/aspnet/Templates/issues/635#issuecomment-228617552","issue_url":"https://api.github.com/repos/aspnet/Templates/issues/635","id":228617552,"user":{"login":"peterblazejewicz","id":14539,"avatar_url":"https://avatars.githubusercontent.com/u/14539?v=3","gravatar_id":"","url":"https://api.github.com/users/peterblazejewicz","html_url":"https://github.com/peterblazejewicz","followers_url":"https://api.github.com/users/peterblazejewicz/followers","following_url":"https://api.github.com/users/peterblazejewicz/following{/other_user}","gists_url":"https://api.github.com/users/peterblazejewicz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterblazejewicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterblazejewicz/subscriptions","organizations_url":"https://api.github.com/users/peterblazejewicz/orgs","repos_url":"https://api.github.com/users/peterblazejewicz/repos","events_url":"https://api.github.com/users/peterblazejewicz/events{/privacy}","received_events_url":"https://api.github.com/users/peterblazejewicz/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T19:20:54Z","updated_at":"2016-06-26T19:20:54Z","body":"Any 3rd party dependency can bring down your project build:\r\nhttps://github.com/aspnet/Templates/pull/603#issuecomment-225704289\r\n\r\nFolks, why entire web root path can't be excluded by default in web app templates?  Entire directories are included in rules: https://github.com/aspnet/Templates/blob/dev/src/BaseTemplates/StarterWeb/project.json#L54-L56"}}
{"actor":{"display_login":"peterblazejewicz"}}