{"action":"created","issue":{"url":"https://api.github.com/repos/Unity-Technologies/vscode-unity-debug/issues/115","repository_url":"https://api.github.com/repos/Unity-Technologies/vscode-unity-debug","labels_url":"https://api.github.com/repos/Unity-Technologies/vscode-unity-debug/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/Unity-Technologies/vscode-unity-debug/issues/115/comments","events_url":"https://api.github.com/repos/Unity-Technologies/vscode-unity-debug/issues/115/events","html_url":"https://github.com/Unity-Technologies/vscode-unity-debug/issues/115","id":391187511,"node_id":"MDU6SXNzdWUzOTExODc1MTE=","number":115,"title":"New Unity 2018.3 and OmniSharp in VS Code error.","user":{"login":"johnnybecool","id":45880579,"node_id":"MDQ6VXNlcjQ1ODgwNTc5","avatar_url":"https://avatars3.githubusercontent.com/u/45880579?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnybecool","html_url":"https://github.com/johnnybecool","followers_url":"https://api.github.com/users/johnnybecool/followers","following_url":"https://api.github.com/users/johnnybecool/following{/other_user}","gists_url":"https://api.github.com/users/johnnybecool/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnybecool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnybecool/subscriptions","organizations_url":"https://api.github.com/users/johnnybecool/orgs","repos_url":"https://api.github.com/users/johnnybecool/repos","events_url":"https://api.github.com/users/johnnybecool/events{/privacy}","received_events_url":"https://api.github.com/users/johnnybecool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-14T16:50:59Z","updated_at":"2018-12-18T01:33:01Z","closed_at":null,"author_association":"NONE","body":"\r\n## Expected Behavior\r\n<!---If you're describing a bug, tell us what should happen-->\r\n<!---If you're suggesting a change/improvement, tell us how it should work-->\r\nWhen creating C# script in Unity, VS Code should start with OmniSharp without any issues.\r\n\r\n## Current Behavior\r\n<!---If describing a bug, tell us what happens instead of the expected behavior-->\r\n<!---If suggesting a change/improvement, explain the difference from current behavior-->\r\nVS Code starts and gives me this error:\r\n\r\nSome projects have trouble loading. Please review the output for more details.\r\nSource: C# (Extension)\r\n\r\nWhen looking at OmniSharp output we see:\r\n\r\nStarting OmniSharp server at 12/14/2018, 5:15:33 PM\r\n    Target: *Here are my catalogs*\\_test.sln\r\n\r\nOmniSharp server started.\r\n    Path: *Here are my catalogs*\\.vscode\\extensions\\ms-vscode.csharp-1.17.1\\.omnisharp\\1.32.8\\OmniSharp.exe\r\n    PID: 5796\r\n\r\n[info]: OmniSharp.Stdio.Host\r\n        Starting OmniSharp on Windows 6.1.7601.65536 (x64)\r\n[info]: OmniSharp.Services.DotNetCliService\r\n        DotNetPath set to dotnet\r\n[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator\r\n        Located 1 MSBuild instance(s)\r\n            1: StandAlone 15.0 - \"*Here are my catalogs*\\.vscode\\extensions\\ms-vscode.csharp-1.17.1\\.omnisharp\\1.32.8\\msbuild\\15.0\\Bin\"\r\n[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator\r\n        MSBUILD_EXE_PATH environment variable set to '*Here are my catalogs*\\.vscode\\extensions\\ms-vscode.csharp-1.17.1\\.omnisharp\\1.32.8\\msbuild\\15.0\\Bin\\MSBuild.exe'\r\n[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator\r\n        Registered MSBuild instance: StandAlone 15.0 - \"*Here are my catalogs*\\.vscode\\extensions\\ms-vscode.csharp-1.17.1\\.omnisharp\\1.32.8\\msbuild\\15.0\\Bin\"\r\n            CscToolExe = csc.exe\r\n            CscToolPath = *Here are my catalogs*\\.vscode\\extensions\\ms-vscode.csharp-1.17.1\\.omnisharp\\1.32.8\\msbuild\\15.0\\Bin\\Roslyn\r\n            MSBuildExtensionsPath = *Here are my catalogs*\\.vscode\\extensions\\ms-vscode.csharp-1.17.1\\.omnisharp\\1.32.8\\msbuild\r\n            MSBuildToolsPath = *Here are my catalogs*\\.vscode\\extensions\\ms-vscode.csharp-1.17.1\\.omnisharp\\1.32.8\\msbuild\\15.0\\Bin\r\n[info]: OmniSharp.Cake.CakeProjectSystem\r\n        Detecting Cake files in '*Here are my catalogs*\\_test'.\r\n[info]: OmniSharp.Cake.CakeProjectSystem\r\n        Could not find any Cake files\r\n[info]: OmniSharp.WorkspaceInitializer\r\n        Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.\r\n[info]: OmniSharp.MSBuild.ProjectSystem\r\n        Detecting projects in ''*Here are my catalogs*\\_test.sln'.\r\n[info]: OmniSharp.MSBuild.ProjectManager\r\n        Queue project update for ''*Here are my catalogs*\\test\\Assembly-CSharp.csproj'\r\n[info]: OmniSharp.Script.ScriptProjectSystem\r\n        Detecting CSX files in ''*Here are my catalogs*\\test'.\r\n[info]: OmniSharp.Script.ScriptProjectSystem\r\n        Could not find any CSX files\r\n[info]: OmniSharp.WorkspaceInitializer\r\n        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider\r\n[info]: OmniSharp.MSBuild.ProjectManager\r\n        Loading project: *Here are my catalogs*\\Assembly-CSharp.csproj\r\n[info]: OmniSharp.WorkspaceInitializer\r\n        Configuration finished.\r\n[info]: OmniSharp.Stdio.Host\r\n        Omnisharp server running using Stdio at location '*Here are my catalogs*\\_test' on host 6720.\r\n[fail]: OmniSharp.MSBuild.ProjectLoader\r\n        The reference assemblies for framework \".NETFramework,Version=v4.5\" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.\r\n[warn]: OmniSharp.MSBuild.ProjectManager\r\n        Failed to load project file '*Here are my catalogs*\\Assembly-CSharp.csproj'.\r\n*Here are my catalogs*\\_test\\Assembly-CSharp.csproj\r\n*Here are my catalogs*\\.vscode\\extensions\\ms-vscode.csharp-1.17.1\\.omnisharp\\1.32.8\\msbuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(1126,5): Error: The reference assemblies for framework \".NETFramework,Version=v4.5\" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.\r\n\r\n[fail]: OmniSharp.MSBuild.ProjectManager\r\n        Attemped to update project that is not loaded: *Here are my catalogs*\\test\\Assembly-CSharp.csproj\r\n[info]: OmniSharp.OmniSharpWorkspace\r\n        Miscellaneous file: *Here are my catalogs*\\Test.cs added to workspace\r\n\r\n## Possible Solution\r\n<!---Not obligatory, but suggest a fix/reason for the bug,-->\r\n<!---or ideas how to implement the addition or change-->\r\nI tried downloading and installing Net Frameworks from 4.5 to 4.7.1 and error stays the same.\r\n\r\n## Steps to Reproduce (for bugs)\r\n<!---Provide a link to a live example, or an unambiguous set of steps to-->\r\n<!---reproduce this bug. Include code to reproduce, if relevant-->\r\n1. Installed new Unity 2018.3\r\n2. Installed VS Code 1.30.0 with C# Extension (OmniSharp)\r\n3. Installed Net Framework 4.6.1 - 4.7.1\r\n4. Created C# Script in Unity 2018.3\r\n\r\n## Context\r\n<!---How has this issue affected you? What are you trying to accomplish?-->\r\n<!---Providing context helps us come up with a solution that is most useful in the real world-->\r\nTill installing new Unity 2018.3 everything worked fine. I was working on Unity 2018.2.6 to 2018.2.19 and VS Code with OmnieSharp (C# Extension) worked flawlesly. So i think the problem is in change in Scripting .NET Runtime version from 3.5 equivalent to 4.x in newes Unity 2018.3 version.\r\n\r\n## Your Environment\r\n* Unity Version: 2018_3\r\n* VS Code Version: 1.30.0\r\n* Operating System and version: Windows 7 64bit\r\n<!---Any additional information you think could help-->\r\n"},"comment":{"url":"https://api.github.com/repos/Unity-Technologies/vscode-unity-debug/issues/comments/448063197","html_url":"https://github.com/Unity-Technologies/vscode-unity-debug/issues/115#issuecomment-448063197","issue_url":"https://api.github.com/repos/Unity-Technologies/vscode-unity-debug/issues/115","id":448063197,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODA2MzE5Nw==","user":{"login":"johnnybecool","id":45880579,"node_id":"MDQ6VXNlcjQ1ODgwNTc5","avatar_url":"https://avatars3.githubusercontent.com/u/45880579?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnybecool","html_url":"https://github.com/johnnybecool","followers_url":"https://api.github.com/users/johnnybecool/followers","following_url":"https://api.github.com/users/johnnybecool/following{/other_user}","gists_url":"https://api.github.com/users/johnnybecool/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnybecool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnybecool/subscriptions","organizations_url":"https://api.github.com/users/johnnybecool/orgs","repos_url":"https://api.github.com/users/johnnybecool/repos","events_url":"https://api.github.com/users/johnnybecool/events{/privacy}","received_events_url":"https://api.github.com/users/johnnybecool/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T01:33:01Z","updated_at":"2018-12-18T01:33:01Z","author_association":"NONE","body":"Thank You rbtlife for trying to help, but after installing .Net Core SDK 3.0.100 this damn error is still there... Have no idea what is going on... I miss this beautiful times when Unity was combined wit Monodevelop and everything just worked like it should..."}}
{"actor":{"display_login":"johnnybecool"}}