-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code can't see reference assemblies. #4878
Comments
Omnisharp's bundled MSBuild does not support desktop .NET development on Windows. You need to install MSBuild Tools https://visualstudio.microsoft.com/de/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16 or if you have full Visual Studio installed on your machine, OmniSharp can pick up its MSBuild. |
Hello Filip! Thank you for getting back to me so quickly. However, I am still getting this issue: Failed to load project file: and Attempted to update project that is not loaded: Do you have any suggestions? |
you need to post the full log again - thanks |
Hello Filip! I am still getting the Find below. VS CODE OUTPUT LOG:
|
@LoadingCodex This message in the log describes the issue.
You will need to be sure you installed the .NET cross-platform development workload. You can launch the Visual Studio Installer and modify your existing install. |
Hello Joe, Thank you for your help! I have done as you have said and am still having the same issue Below is the output from after doing as @JoeRobich instructed. Thank you so much for your help, any further ideas? VS CODE OUTPUT LOG
|
I am still experiencing this issue. Does anyone have any suggestions? |
@LoadingCodex Unity requires the .NET Framework 4.7.1 targeting pack. To install the targeting pack, Modify your install of Visual Studio click the 'Individual Components' tab and choose '.NET Framework 4.7.1 targeting pack' |
Hello again, Joe! Thank you for the response, however, I have the targeting pack and still have these issues. See this screenshot from control panel: Any ideas? Thank you! :D |
@LoadingCodex It might be worth a shot to uninstall the targeting pack and install it through the VS installer to ensure the MSBuild instance knows where it is. |
Hello @JoeRobich , Thank you so much! Thank you! :D |
Hello!
I have been trying to get VS code working alongside Unity for the last 3/4 hours and keep running into an issue.
Every time VS Code is launched with a script from a unity project I get the following error shown at the bottom right of the screen.
Upon reading the output errors it says that the reference assemblies for .NETFramework, Version=v4.7.1 weren't found. And telling me to install the developer pack from https://aka.ms/msbuild/developerpacks .
I have done clean installations of all .NET Frameworks (including the v4.7.1 developer pack) like, 5 times with no success.
Any ideas on how I can fix this?
(the output can be found below)
VS CODE OUTPUT:
The text was updated successfully, but these errors were encountered: