{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/8531","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/8531/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/8531/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/8531/events","html_url":"https://github.com/dotnet/roslyn/issues/8531","id":132605059,"number":8531,"title":"Unable to open any code file or build any project","user":{"login":"edparcell","id":179313,"avatar_url":"https://avatars.githubusercontent.com/u/179313?v=3","gravatar_id":"","url":"https://api.github.com/users/edparcell","html_url":"https://github.com/edparcell","followers_url":"https://api.github.com/users/edparcell/followers","following_url":"https://api.github.com/users/edparcell/following{/other_user}","gists_url":"https://api.github.com/users/edparcell/gists{/gist_id}","starred_url":"https://api.github.com/users/edparcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edparcell/subscriptions","organizations_url":"https://api.github.com/users/edparcell/orgs","repos_url":"https://api.github.com/users/edparcell/repos","events_url":"https://api.github.com/users/edparcell/events{/privacy}","received_events_url":"https://api.github.com/users/edparcell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Question","name":"Question","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/2","html_url":"https://github.com/dotnet/roslyn/milestones/Unknown","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/2/labels","id":937398,"number":2,"title":"Unknown","description":"This represents work which is not planned for a specific release.\r\n\r\n<!---\r\n@huboard:{\"order\":0.25}\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":499,"closed_issues":99,"state":"open","created_at":"2015-01-15T20:46:02Z","updated_at":"2016-02-11T18:22:33Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-02-10T04:36:59Z","updated_at":"2016-02-11T21:23:45Z","closed_at":null,"body":"I am using Microsoft Visual Studio Community 2015 (Version 14.0.24720.00 Update 1) on Windows 10.\r\n\r\nI am unable to open any .cs code file or build any project.\r\n\r\nTo reproduce, I create a console project. Immediately on project creation I see the following warnings in the Error List:\r\n```\r\nWarning\tAD1002\tUnable to load Analyzer assembly C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\PrivateAssemblies\\Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll: Could not load file or assembly 'System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.\t\t\t1\tActive\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nWarning\tAD1002\tUnable to load Analyzer assembly C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\PrivateAssemblies\\Microsoft.CodeAnalysis.VisualBasic.dll: Could not load file or assembly 'System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.\t\t\t1\tActive\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nWarning\tAD1002\tUnable to load Analyzer assembly C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\PrivateAssemblies\\Microsoft.CodeAnalysis.CSharp.Features.dll: Could not load file or assembly 'System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.\t\t\t1\tActive\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nWarning\tAD1002\tUnable to load Analyzer assembly C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\PrivateAssemblies\\Microsoft.CodeAnalysis.CSharp.dll: Could not load file or assembly 'System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.\t\t\t1\tActive\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nWarning\tAD1002\tUnable to load Analyzer assembly C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\PrivateAssemblies\\Microsoft.CodeAnalysis.VisualBasic.Features.dll: Could not load file or assembly 'System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.\t\t\t1\tActive\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nWarning\tAD1002\tUnable to load Analyzer assembly C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\PrivateAssemblies\\Microsoft.CodeAnalysis.Features.dll: Could not load file or assembly 'System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.\t\t\t1\tActive\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nWarning\tAD1002\tUnable to load Analyzer assembly C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\PrivateAssemblies\\Microsoft.CodeAnalysis.EditorFeatures.dll: Could not load file or assembly 'System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.\t\t\t1\tActive\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nWarning\tAD1002\tUnable to load Analyzer assembly C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\PrivateAssemblies\\Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll: Could not load file or assembly 'System.Text.Encoding.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The module was expected to contain an assembly manifest.\t\t\t1\tActive\r\n```\r\n\r\nWhen I attempt to open Program.cs, a dialog pops up with the error \"The type initializer for 'Microsoft.CodeAnalysis.Text.SourceText' threw an exception.\". No editor appears.\r\n\r\nWhen I attempt to build the project, I get the following errors:\r\n```\r\n1>------ Build started: Project: ConsoleApplication5, Configuration: Debug Any CPU ------\r\n1>CSC : error CS1504: Source file 'C:\\Users\\[...]\\documents\\visual studio 2015\\Projects\\ConsoleApplication5\\ConsoleApplication5\\Program.cs' could not be opened -- The type initializer for 'Microsoft.CodeAnalysis.Text.EncodedStringText' threw an exception.\r\n1>CSC : error CS1504: Source file 'C:\\Users\\[...]\\documents\\visual studio 2015\\Projects\\ConsoleApplication5\\ConsoleApplication5\\Properties\\AssemblyInfo.cs' could not be opened -- The type initializer for 'Microsoft.CodeAnalysis.Text.EncodedStringText' threw an exception.\r\n1>CSC : error CS1504: Source file 'C:\\Users\\[...]\\AppData\\Local\\Temp\\.NETFramework,Version=v4.5.2.AssemblyAttributes.cs' could not be opened -- The type initializer for 'Microsoft.CodeAnalysis.Text.EncodedStringText' threw an exception.\r\n1>CSC : error CS1504: Source file 'C:\\Users\\[...]\\documents\\visual studio 2015\\Projects\\ConsoleApplication5\\ConsoleApplication5\\obj\\Debug\\\\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs' could not be opened -- The type initializer for 'Microsoft.CodeAnalysis.Text.EncodedStringText' threw an exception.\r\n1>CSC : error CS1504: Source file 'C:\\Users\\[...]\\documents\\visual studio 2015\\Projects\\ConsoleApplication5\\ConsoleApplication5\\obj\\Debug\\\\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs' could not be opened -- The type initializer for 'Microsoft.CodeAnalysis.Text.EncodedStringText' threw an exception.\r\n1>CSC : error CS1504: Source file 'C:\\Users\\[...]\\documents\\visual studio 2015\\Projects\\ConsoleApplication5\\ConsoleApplication5\\obj\\Debug\\\\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs' could not be opened -- The type initializer for 'Microsoft.CodeAnalysis.Text.EncodedStringText' threw an exception.\r\n========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n```\r\n\r\nI have tried uninstalling and reinstalling Visual Studio, including old version, and also uninstalling all versions of .NET before uninstalling and reinstalling Visual Studio."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/183064636","html_url":"https://github.com/dotnet/roslyn/issues/8531#issuecomment-183064636","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/8531","id":183064636,"user":{"login":"edparcell","id":179313,"avatar_url":"https://avatars.githubusercontent.com/u/179313?v=3","gravatar_id":"","url":"https://api.github.com/users/edparcell","html_url":"https://github.com/edparcell","followers_url":"https://api.github.com/users/edparcell/followers","following_url":"https://api.github.com/users/edparcell/following{/other_user}","gists_url":"https://api.github.com/users/edparcell/gists{/gist_id}","starred_url":"https://api.github.com/users/edparcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edparcell/subscriptions","organizations_url":"https://api.github.com/users/edparcell/orgs","repos_url":"https://api.github.com/users/edparcell/repos","events_url":"https://api.github.com/users/edparcell/events{/privacy}","received_events_url":"https://api.github.com/users/edparcell/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T21:23:45Z","updated_at":"2016-02-11T21:23:45Z","body":"Any way I can help test whether it is FIPS related?"}}