C
C#14mo ago
bert

❔ Asp.NET Core Controller and View Problem

When i click right i'm looking like that. But i don't want this. When i watch video, his right-click is not like that. How i fix that?
No description
27 Replies
bert
bertOP14mo ago
I'm using macos btw
SG97
SG9714mo ago
well, how do you expect it to look "his right-click is not like that" doesn't really tell much
bert
bertOP14mo ago
No description
bert
bertOP14mo ago
his right click
SG97
SG9714mo ago
to me, that looks like Visual Studio
bert
bertOP14mo ago
my visual studio too
SG97
SG9714mo ago
so you're on Visual Studio fo Mac?
bert
bertOP14mo ago
yeah
SG97
SG9714mo ago
VS for Mac is different to VS for Windows (I think)
bert
bertOP14mo ago
yeah sure but he add view for his controller but i can't i tried write but i can't do this
SG97
SG9714mo ago
can't you just add a (Razor?) view by hand? instead of using that Add View.. context menu
bert
bertOP14mo ago
i'm new to Asp.NET and visual studio i was write JS, HTML, CSS etc. but i'm new here
SG97
SG9714mo ago
assuming it's this
bert
bertOP14mo ago
i tried this doesn't work
SG97
SG9714mo ago
what do you mean doesn't work
bert
bertOP14mo ago
i think the problem is me if you come vc i will show you
SG97
SG9714mo ago
this part doesn't work?
No description
SG97
SG9714mo ago
no need for vc, as I've never used a Mac
bert
bertOP14mo ago
document say "Creating like that (there are h1, c# block)" but when i click create i'm seeing empty file
SG97
SG9714mo ago
can you add to the the title or tabs Visual Studio for Mac maybe someone with the same setup can help better
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Iron
Iron14mo ago
Does hes controller look like yours when he create it?
bert
bertOP14mo ago
no
Iron
Iron14mo ago
Are you creating a controller as template or just adding a new file ? You can add empty controllers , but you can also add controllers with read and write actions etc
bert
bertOP14mo ago
i fixed, thank you
Accord
Accord14mo 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