C
C#7mo 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 User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
Exactly what? First of all, that picture was taken after I first created the project and it was completely loaded.
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
Jimmacle
Jimmacle7mo ago
if you click on the red text does it give you a suggestion to fix it?
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
I added namespace:
No description
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
and those red texts say: 1. remove namespace 2. add new class : Console
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
i never do that
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
ok, i will do that just wait...
! 휘백
! 휘백7mo ago
it is a file.
! 휘백
! 휘백7mo ago
I think, my problem's reason is my envelonment...
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
No description
! 휘백
! 휘백7mo ago
it is csproj
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo 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
MODiX7mo ago
TeBeCo
can you open a console and type dotnet --info ?
Quoted by
React with ❌ to remove this embed.
! 휘백
! 휘백7mo 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 User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
and when i was restart my pc, this window welcome me:
No description
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
ok, i will upload more, but it is korean
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
this is all
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
ok, i'll try it
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
this is result.
No description
! 휘백
! 휘백7mo ago
and vs is repairing...
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo 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 User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
and second error is same
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
Yes
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
And this is a window that welcomed me when I restarted my computer. Can this be related?
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
Okay, I guess it's not related. Then i can ignore this error.
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
i guess... it is wallpaper engine XD
Dharmang
Dharmang7mo ago
do you have adobe creative cloud?
! 휘백
! 휘백7mo ago
mmm... I'm a bit shy, but I'm using one of the Adobe programs crack...
Dharmang
Dharmang7mo ago
well thats the issue
! 휘백
! 휘백7mo ago
But I'll be purchasing a formal license soon.
reflectronic
reflectronic7mo 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
MODiX7mo ago
! Hwibaek(휘백) / 멘션 환영
this is result.
Quoted by
From ! Hwibaek(휘백) / 멘션 환영
React with ❌ to remove this embed.
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
reflectronic
reflectronic7mo ago
oh. uh. hm
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
oh, sorry im late
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
! 휘백
! 휘백7mo ago
It... It doesn't work on VS either. What's weird is that it worked well until yesterday
reflectronic
reflectronic7mo ago
can you send that FrameworkReferenceResolution.ttargettts file that it's complaining about
! 휘백
! 휘백7mo ago
mmm... im sorry but where is that file?
reflectronic
reflectronic7mo ago
No description
! 휘백
! 휘백7mo ago
Oh
! 휘백
! 휘백7mo ago
reflectronic
reflectronic7mo 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
reflectronic7mo ago
No description
reflectronic
reflectronic7mo ago
delete Include="" (this could have also been fixed by reinstalling .NET 8)
! 휘백
! 휘백7mo ago
Oh!!! You solved my problem!!! thanks for you!!! And sorry to use crack, i'll be use legal version soon
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View