C
C#2y ago
! 휘백

✅ I can't use "Console" class

This is the screen I first built and faced in Rider. Even if I reload the project or open it in VS, it will appear the same. How can we resolve this?
No description
67 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
Exactly what? First of all, that picture was taken after I first created the project and it was completely loaded.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacle2y ago
if you click on the red text does it give you a suggestion to fix it?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
I added namespace:
No description
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
and those red texts say: 1. remove namespace 2. add new class : Console
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
i never do that
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
ok, i will do that just wait...
! 휘백
! 휘백OP2y ago
it is a file.
! 휘백
! 휘백OP2y ago
I think, my problem's reason is my envelonment...
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
No description
! 휘백
! 휘백OP2y ago
it is csproj
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}.Debug|Any CPU.Build.0 = Debug|Any CPU
{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}.Release|Any CPU.ActiveCfg = Release|Any CPU
{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}.Debug|Any CPU.Build.0 = Debug|Any CPU
{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}.Release|Any CPU.ActiveCfg = Release|Any CPU
{008ECE27-9BBF-4C84-8AAA-C8F230DF2871}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
and it is solution file
MODiX
MODiX2y ago
TeBeCo
can you open a console and type dotnet --info ?
Quoted by
React with ❌ to remove this embed.
! 휘백
! 휘백OP2y ago
.NET SDK:
Version: 8.0.100
Commit: 57efcf1350
Workload version: 8.0.100-manifests.6a1e483a
.NET SDK:
Version: 8.0.100
Commit: 57efcf1350
Workload version: 8.0.100-manifests.6a1e483a
the result.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
and when i was restart my pc, this window welcome me:
No description
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
ok, i will upload more, but it is korean
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
this is all
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
ok, i'll try it
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
this is result.
No description
! 휘백
! 휘백OP2y ago
and vs is repairing...
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
ok, i will translate it. wait... first error :
C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targe
ts (447,17): error MSB4111: You can specify only one of the include, remove, and update attributes for an entry element. [C:\Projects\Csharp_Projects\Console
App1\ConsoleApp1\ConsoleApp1.csproj]
C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targe
ts (447,17): error MSB4111: You can specify only one of the include, remove, and update attributes for an entry element. [C:\Projects\Csharp_Projects\Console
App1\ConsoleApp1\ConsoleApp1.csproj]
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
and second error is same
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
Yes
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
And this is a window that welcomed me when I restarted my computer. Can this be related?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
Okay, I guess it's not related. Then i can ignore this error.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
i guess... it is wallpaper engine XD
Dharmang
Dharmang2y ago
do you have adobe creative cloud?
! 휘백
! 휘백OP2y ago
mmm... I'm a bit shy, but I'm using one of the Adobe programs crack...
Dharmang
Dharmang2y ago
well thats the issue
! 휘백
! 휘백OP2y ago
But I'll be purchasing a formal license soon.
reflectronic
reflectronic2y ago
the latest rider does not support .NET 8 yet, i think so it may just not work only the new EAP supports it
MODiX
MODiX2y ago
! Hwibaek(휘백) / 멘션 환영
this is result.
Quoted by
From ! Hwibaek(휘백) / 멘션 환영
React with ❌ to remove this embed.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic2y ago
oh. uh. hm
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
oh, sorry im late
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백OP2y ago
It... It doesn't work on VS either. What's weird is that it worked well until yesterday
reflectronic
reflectronic2y ago
can you send that FrameworkReferenceResolution.ttargettts file that it's complaining about
! 휘백
! 휘백OP2y ago
mmm... im sorry but where is that file?
reflectronic
reflectronic2y ago
No description
! 휘백
! 휘백OP2y ago
Oh
! 휘백
! 휘백OP2y ago
reflectronic
reflectronic2y ago
okay, so, i found the issue you must have accidentally typed something into this file sometimes when there's a build error it leads you to one of these scripts and if you aren't careful you can accientally overwrite them
reflectronic
reflectronic2y ago
No description
reflectronic
reflectronic2y ago
delete Include="" (this could have also been fixed by reinstalling .NET 8)
! 휘백
! 휘백OP2y ago
Oh!!! You solved my problem!!! thanks for you!!! And sorry to use crack, i'll be use legal version soon
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?