".NETFramework,Version=v4.6" were not found
See original GitHub issueEnvironment data
dotnet --info
output:
VS Code version:
C# Extension version:1.13.1
Steps to reproduce
- Use unity 2017.0.0f3 create a project
- Open unity menu “Edit/Project Settings/Player”
- Chose Scripting Runtime Version to “Experimental(.NET 4.6 Equivalent)”
- Restart unity and create any a C# script file.
- Open the C# file by vscode.
- OmniSharp Log will output this fail:
[fail]: OmniSharp.MSBuild.ProjectFile.ProjectFileInfo The reference assemblies for framework ".NETFramework,Version=v4.6" 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.
[warn]: OmniSharp.MSBuild.MSBuildProjectSystem Failed to load project file 'e:\Workspace\CSharpTest\Assembly-CSharp.csproj'. e:\Workspace\CSharpTest\Assembly-CSharp.csproj
Expected behavior
Actual behavior
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
The reference assemblies for framework ".NETFramework ...
NETFramework,Version=v4.6.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your ...
Read more >MSB3644: The reference assemblies for 'version' were not ...
NET reference assemblies are not found for the version of .NET that a project requests. The issue could be that there is a...
Read more >MSB3644 error, even though .NET of required version is ...
NETFramework,Version=v4.6.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a ......
Read more >[UE4]error MSB3644 .NETFramework,Version=v4.6.2 were ...
[UE4]error MSB3644 .NETFramework,Version=v4.6.2 were not found ... When compiling engine source of v4.22, .NET Framework 4.6.2 Developer Pack must ...
Read more >Fixed – The reference assemblies for. NETFramework,Version ...
Fixed – The reference assemblies for. NETFramework,Version=v4.6.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a similar issue but running on Ubuntu 16.04. Is there a solution for VScode Linux based?
This is a duplicate of #1888. You might trying downloading and installing the .NET Framework 4.6 target pack from https://www.microsoft.com/en-us/download/details.aspx?id=48136.