C
C#2y ago
pothead

❔ netcore versions and c# activating in game in VSC

hello everyone! my friend has a c# game in VSC that works on their computer when they run it in vsc but not on mine, why? I noticed I dont have any netcore app thingy, so I noticed they have netcore app 3.1, and that version is not supported anymore, would it work if I downloaded netcore app version 7?? or what do I do!?
5 Replies
reflectronic
reflectronic2y ago
you would have to upgrade the project to .NET 7 it should be a one-line change inside the csproj, you would change <TargetFramework>netcoreapp3.1</TargetFramework> to <TargetFramework>net7.0</TargetFramework> then you would be able to run it with .NET 7
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
pothead
potheadOP2y ago
hello! can you show me where I would do that?
reflectronic
reflectronic2y ago
there’s a file somewhere that ends with “.csproj” somewhere, right? it’s usually near the root folder of the project something like NameOfGame.csproj
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server