Creating Files in Visual Studio
My teacher wanted me to create other files that are cs similar to his in the screenshot. Although when I go to create the file I don't have the same option
![No description](https://cdn.answeroverflow.com/1199448001215742022/Screenshot_2024-01-23_121609.png)
![No description](https://cdn.answeroverflow.com/1199448001559679110/Screenshot_2024-01-23_121635.png)
35 Replies
you have to open the solution, you've open the folder
you can double click on the sln file from your windows explorer
Did you create the project via VS?
Close VS, open the project in the explorer
Make sure you have an
.sln
file, a .csproj
file, and at least one .cs
file
Double-click the .sln
If it works, cool. If it doesn't, let us know because it means it's a common bug with a simple fix
Or just disappear, that's cool as well![kappa](https://cdn.discordapp.com/emojis/600754464147898396.png)
I cant even fine the sln file
you mean like explorer?
Yes, the file explorer
For example
![No description](https://cdn.answeroverflow.com/1199456063410421811/image.png)
okay I found it via irhgt lcick
And are the files I mentioned there?
Yes
double clicked and opened
![No description](https://cdn.answeroverflow.com/1199456528009285734/Screenshot_934.png)
Aight, seems like the path issue then
Try this quick fix: $dotnetpath
* Open
powershell
in a terminal in admin mode as in the following video:
https://cdn.discordapp.com/attachments/569261465463160900/1157744344183341156/20230930-1822-10.7436061.mp4
* copy/paste the following script
* it will tell you if it detects invalid Path
setup
* Press Enter to confirm
@TeBeCo let's hope your new and improved version works ![when](https://cdn.discordapp.com/emojis/968512924698169415.png)
![when](https://cdn.discordapp.com/emojis/968512924698169415.png)
hold on for some reason it doesnt want to copy n past e