C
C#2y ago
ttl6

❔ build failed. error

New to C# and was watching a tutorial, after I closed the Microsoft visual studio, and re-opened the folder, I got this error.
65 Replies
Jester
Jester2y ago
did you open it via the solution of the project or just the folder? can you open the solution explorer? @ttl6
ttl6
ttl6OP2y ago
No clue What’s that?
Jester
Jester2y ago
one of those things in VS to see all files
ttl6
ttl6OP2y ago
Yes I can see t It
Jester
Jester2y ago
show its content
ttl6
ttl6OP2y ago
Jester
Jester2y ago
ok so you openes the folder instead of the .sln file in it beginners mistake close VS and open the .sln this time
ttl6
ttl6OP2y ago
What’s the .sln I’m in the file explorer
Jester
Jester2y ago
the solution file. it keeps track of the projects ur working on
ttl6
ttl6OP2y ago
I’m in the giraffe folder
Jester
Jester2y ago
see the Giraffe.sln?
ttl6
ttl6OP2y ago
Nope I see giraffe.csproj
Jester
Jester2y ago
do you have file extensions enabled?
ttl6
ttl6OP2y ago
The the giraffe folder I don’t think so
Jester
Jester2y ago
open that .csproj if there is no .sln
ttl6
ttl6OP2y ago
I opened it Now what do I do?
Jester
Jester2y ago
VS working correct now?
ttl6
ttl6OP2y ago
“There were build errors. Would you like to continue and run the last successful build?” I was missing the ; after the WriteLine I added it and now it says ^
Jester
Jester2y ago
look at the list of errors
ttl6
ttl6OP2y ago
I’m gonna add you from the acc I’m meant to be on I’ll send it all there Could you add me back? @●
Jester
Jester2y ago
no, i want this conversation to continue here
ttl6
ttl6OP2y ago
Alright
ttl6
ttl6OP2y ago
ttl6
ttl6OP2y ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Giraffe
{
class Program
{
static void Main(string[] args)
{

Console.WriteLine("Finding address...");
Console.ReadLine();

}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Giraffe
{
class Program
{
static void Main(string[] args)
{

Console.WriteLine("Finding address...");
Console.ReadLine();

}
}
}
I wrote the address part as a joke I wanted to take a pic of the terminal and send it to someone and scare them ☠️
Jester
Jester2y ago
huh
ttl6
ttl6OP2y ago
Idek
ttl6
ttl6OP2y ago
ttl6
ttl6OP2y ago
What is this
Jester
Jester2y ago
this looks fine
ttl6
ttl6OP2y ago
Ikr
Jester
Jester2y ago
the error is that you have this code twice but where is the second time?
ttl6
ttl6OP2y ago
I got one on my desktop Idek should I delete it? It’s different tho
Jester
Jester2y ago
no
ttl6
ttl6OP2y ago
Then? I think I need to delete it
Jester
Jester2y ago
HmmCouncilRTX1 it references it for some reason
ttl6
ttl6OP2y ago
It didn’t work either wys Way BROO should I create a new project?
Jester
Jester2y ago
<:PES_HuhWtf:642742545700618303> i guess you dont have much code yet so its not really an issue
ttl6
ttl6OP2y ago
Yes
Jester
Jester2y ago
to start over
ttl6
ttl6OP2y ago
Ima name it after you For being so useful
ttl6
ttl6OP2y ago
ttl6
ttl6OP2y ago
-tory
Jester
Jester2y ago
<:PES_Blush:661970504667758614>
ttl6
ttl6OP2y ago
Should I tick it
Jester
Jester2y ago
same directory thing? i dont
ttl6
ttl6OP2y ago
You could teach me C# Fairs
Jester
Jester2y ago
HmmCouncilRTX4 code nothing else, and dont just ask me, ask the server members
ttl6
ttl6OP2y ago
I would But I have my number verified here And I don’t use this account anymore And my other acc doesn’t have a number, so I couldn’t enter the server through it I’ll only ask that if we can be Hmm
Jester
Jester2y ago
<:watermelon_ketchup:1123564297251983421>
ttl6
ttl6OP2y ago
Not friends, but you be a helper As a Muslim, I can’t befriend a woman
Jester
Jester2y ago
HmmCouncilRTX2
ttl6
ttl6OP2y ago
Hmm
Jester
Jester2y ago
i dont have time for that
ttl6
ttl6OP2y ago
What do you have time for?
Jester
Jester2y ago
to SCsleepybb2 4am
ttl6
ttl6OP2y ago
3 am for me That’s okay
Jester
Jester2y ago
focus on the programming brother Prayge its more important than women
ttl6
ttl6OP2y ago
I don’t focus on women
Feast
Feast2y ago
bro it's...
ttl6
ttl6OP2y ago
I wanna delete this You’re meant to back me Bro to bro I’m a hoover I just deleted everything
Kao
Kao2y ago
@● is a boy.
Jester
Jester2y ago
shut up
Kao
Kao2y ago
Be polite son.
Jester
Jester2y ago
sorry
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