You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installed with given instructions, opening c# project of a unity project with vscode, it gives primary referenced version of framework is 4.8 but package target framework is 4.7.1, it could not be resolved error. While the project and omnisharp works fine after loading, it gives some projects have trouble loading error.
Would this type of error affect builds or is there any way to make UnityEngineInternals with target framework 4.7.1 for all other packages to work with it?
The text was updated successfully, but these errors were encountered:
I'm having the same problem. For reference, this is the Omnisharp log
C:\Program Files\dotnet\sdk\7.0.201\Microsoft.Common.CurrentVersion.targets(2352,5): Error: The primary reference "TypeReferences" could not be resolved because it has an indirect dependency on the assembly "UnityEditorInternals, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.8" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.7.1".
C:\Program Files\dotnet\sdk\7.0.201\Microsoft.Common.CurrentVersion.targets(2352,5): Error: The primary reference "TypeReferences.Editor" could not be resolved because it has an indirect dependency on the assembly "UnityEditorInternals, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.8" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.7.1".
When installed with given instructions, opening c# project of a unity project with vscode, it gives primary referenced version of framework is 4.8 but package target framework is 4.7.1, it could not be resolved error. While the project and omnisharp works fine after loading, it gives some projects have trouble loading error.
Would this type of error affect builds or is there any way to make UnityEngineInternals with target framework 4.7.1 for all other packages to work with it?
The text was updated successfully, but these errors were encountered: