WantToBeeMe
WantToBeeMe
CC#
Created by WantToBeeMe on 9/26/2024 in #help
✅ Weird .net error that comes out of nowhere when i start up my project
the thing is, This error pops up whenever I load the project in rider So i diditn even ran the code, and yet for some unknow reason it still executes this line of code?? but also in the most weirdest directory
7 replies
CC#
Created by WantToBeeMe on 9/26/2024 in #help
✅ Weird .net error that comes out of nowhere when i start up my project
No description
7 replies
CC#
Created by WantToBeeMe on 9/26/2024 in #help
✅ Weird .net error that comes out of nowhere when i start up my project
Wait this is so weird
7 replies
CC#
Created by WantToBeeMe on 8/27/2024 in #help
Console.WriteLine does nothing
then i am so confused why it worked in the first place
25 replies
CC#
Created by WantToBeeMe on 8/27/2024 in #help
Console.WriteLine does nothing
lol
25 replies
CC#
Created by WantToBeeMe on 8/27/2024 in #help
Console.WriteLine does nothing
I want to debug stuff, but i dont want to constantly get stopped by the breakpoint. If i find something, i want to be able to read the terminal and check if a method ran or not
25 replies
CC#
Created by WantToBeeMe on 8/27/2024 in #help
Console.WriteLine does nothing
i know thats something you dont want to hear lol, as a programmer
25 replies
CC#
Created by WantToBeeMe on 8/27/2024 in #help
Console.WriteLine does nothing
but the thing is, it worked on my other PC XD
25 replies
CC#
Created by WantToBeeMe on 8/27/2024 in #help
Console.WriteLine does nothing
WPF
25 replies
CC#
Created by WantToBeeMe on 8/27/2024 in #help
Console.WriteLine does nothing
as you can see, Line 16 didnt print anything in the console. However, (line 17) MessageBos.Show did infact show
25 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
oh wait, no i see what you mean with not making it a resource (since copyTo... was first encapsulated in the resource tag, and now in the none tag)
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
but does this mean i should do it this way?
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
oh thnx that works indeed
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
how would i approach it then? what is the comman way people do it?
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
also, if i add it like so
<ItemGroup>
<None Remove="hamlet.txt" />
<Resource Include="hamlet.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
</ItemGroup>
<ItemGroup>
<None Remove="hamlet.txt" />
<Resource Include="hamlet.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
</ItemGroup>
and then run dontnet build then it does Build successfull but still does not copy it over
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
wait sorry i dont understand?
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
i mean, if its the build stuff where it also sais something about server -> ...\server\bin\Debug\net6.0\server.dll, then it sais nothing about a test file called hamlet.txt
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
I have honestly no idea where i see that I thought it recompled whenever you changed something in the program code?
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
No description
21 replies
CC#
Created by WantToBeeMe on 4/27/2024 in #help
how to read .txt file next to the Program.cs
so if i understand correctly there are 2 ways of doing this 1. the dirty fix: adding ../../../ to the path 2. the propper fix: copying over the file to the bin directory (next to the executable)
21 replies