Hi, I work at a school and a classroom has visual studio community and Unity. When the students go to External tools, visual studio is not showing up and the students can’t add it, due to restrictions accessing the C drive. Is there a config file that I can edit to point Unity to visual studio or another way to achieve this? Thanks
What restrictions, exactly?
Make sure each user project has the Code Editor Package for Visual Studio installed to enable automatic discovery of local Visual Studio installations and to enable generation of C# projects that Visual Studio can use.
If installation discovery fails, the underlying storage for the code editor path is registry entry HKEY_CURRENT_USER\Software\Unity Technologies\Unity Editor 5.x\kScriptsDefaultApp_h2657262712 which should have a binary value pointing to C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe
Hi thanks for replying. Students can’t access or browse the C drive. They can only run programs from the program files folders but cannot browse them.
Thanks I am sure the code editor is installed but ill double check. Ill look at the reg key as well.
Thanks.