0
Code not working in Visual Studios
I was trying to use some C#code I learned in SoloLearn in VS. None of it works. Even sample code from SoloLearn. What's the disconnect?
5 ответов
+ 3
Can you write, not copy, a "hello world" program in C# in your VS install and run it successfully?
+ 2
Well then the current issue has nothing to do with SL or the code, but your installation of VS and the associated plugins, etc for the C# programming language. Unfortunately, I don't use VS, so I can't really be of any further assistance. Maybe, somebody else here knows more about this issue, but in the meantime I would suggest that you copy the error from VS into Google and search it to see if you can find a resolution. Good luck!
+ 1
ChaoticDawg No, it says, "NuGet packages need to be restored before building. NuGet MSBuild targets are missing and are needed for building. The NuGet MSBuild targets are generated when the NuGet packages are restored."
+ 1
ChaoticDawg Thank you! That's a good idea I suppose I was being lazy.
0
Which version of visual studio do you use ? Where did you get it from ? Is it visual studio or VS Code.