{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/17345","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/17345/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/17345/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/17345/events","html_url":"https://github.com/dotnet/roslyn/issues/17345","id":209945548,"number":17345,"title":"Weird build errors only when compiling from VS","user":{"login":"eyalsk","id":3756641,"avatar_url":"https://avatars.githubusercontent.com/u/3756641?v=3","gravatar_id":"","url":"https://api.github.com/users/eyalsk","html_url":"https://github.com/eyalsk","followers_url":"https://api.github.com/users/eyalsk/followers","following_url":"https://api.github.com/users/eyalsk/following{/other_user}","gists_url":"https://api.github.com/users/eyalsk/gists{/gist_id}","starred_url":"https://api.github.com/users/eyalsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyalsk/subscriptions","organizations_url":"https://api.github.com/users/eyalsk/orgs","repos_url":"https://api.github.com/users/eyalsk/repos","events_url":"https://api.github.com/users/eyalsk/events{/privacy}","received_events_url":"https://api.github.com/users/eyalsk/received_events","type":"User","site_admin":false},"labels":[{"id":166377917,"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-24T02:48:06Z","updated_at":"2017-02-25T22:54:27Z","closed_at":"2017-02-25T22:54:27Z","body":"**Version Used**: Microsoft Visual Studio Community 2017 RC (15.0.26206.0 D15REL)\r\n\r\nWhen I compile through the command-line I get the expected errors:\r\n\r\n```\r\nCompletion\\Providers\\AbstractSymbolCompletionProvider.cs(339,53): error CS1929: 'HashSet<(ISymbol, CompletionItemRules)>' does not contain a definition for 'Except' and the best extension method overload 'Para\r\nllelEnumerable.Except<(ISymbol symbol, CompletionItemRules)>(ParallelQuery<(ISymbol symbol, CompletionItemRules)>, ParallelQuery<(ISymbol symbol, CompletionItemRules)>, IEqualityComparer<(ISymbol symbol, Compl\r\netionItemRules)>)' requires a receiver of type 'ParallelQuery<(ISymbol symbol, CompletionItemRules)>' [D:\\Projects\\roslyn\\src\\Features\\Core\\Portable\\Features.csproj]\r\nCompletion\\Providers\\AbstractSymbolCompletionProvider.cs(339,76): error CS1503: Argument 2: cannot convert from 'System.Collections.Immutable.ImmutableArray<(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.Co\r\ndeAnalysis.Completion.CompletionItemRules rules)>' to 'System.Linq.ParallelQuery<(Microsoft.CodeAnalysis.ISymbol symbol, Microsoft.CodeAnalysis.Completion.CompletionItemRules)>' [D:\\Projects\\roslyn\\src\\Feature\r\ns\\Core\\Portable\\Features.csproj]\r\nCompletion\\Providers\\AbstractSymbolCompletionProvider.cs(340,47): error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public definition for 'GetEnumerator' [D\r\n:\\Projects\\roslyn\\src\\Features\\Core\\Portable\\Features.csproj]\r\n```\r\n\r\nBut when I compile through Visual Studio I get loads of errors that I didn't expect to get and I'm not sure why I'm getting them:\r\n\r\n```\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\tBC2017\tcould not find library 'D:\\Projects\\roslyn\\Binaries\\Debug\\Dlls\\BasicFeatures\\Microsoft.CodeAnalysis.VisualBasic.Features.dll'\tBasicInteractiveEditorFeatures\tD:\\Projects\\roslyn\\src\\Interactive\\EditorFeatures\\VisualBasic\\vbc\t1\tActive\r\n```\r\n\r\n```\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\tCS0006\tMetadata file 'D:\\Projects\\roslyn\\Binaries\\Debug\\Dlls\\CSharpEditorFeatures\\Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll' could not be found\tServicesTestUtilities\tD:\\Projects\\roslyn\\src\\EditorFeatures\\TestUtilities\\CSC\t1\tActive\r\n```\r\n\r\n```\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\t\tThe tag 'AbstractOptionPageControl' does not exist in XML namespace 'clr-namespace:Microsoft.VisualStudio.LanguageServices.Implementation.Options;assembly=Microsoft.VisualStudio.LanguageServices.Implementation'. Line 2 Position 5.\tCSharpVisualStudio\tD:\\Projects\\roslyn\\src\\VisualStudio\\CSharp\\Impl\\Options\\AdvancedOptionPageControl.xaml\t2\t\r\n```\r\n\r\nI tried to do the following things to solve it but it didn't help.\r\n\r\n1. Close VS.\r\n2. Delete the `Binaries` dir.\r\n3. Run restore.\r\n4. Open VS again. \r\n5. Build.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"eyalsk"}}