C
C#15mo 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
bertOP15mo ago
I'm using macos btw
SG97
SG9715mo ago
well, how do you expect it to look "his right-click is not like that" doesn't really tell much
bert
bertOP15mo ago
No description
bert
bertOP15mo ago
his right click
SG97
SG9715mo ago
to me, that looks like Visual Studio
bert
bertOP15mo ago
my visual studio too
SG97
SG9715mo ago
so you're on Visual Studio fo Mac?
bert
bertOP15mo ago
yeah
SG97
SG9715mo ago
VS for Mac is different to VS for Windows (I think)
bert
bertOP15mo ago
yeah sure but he add view for his controller but i can't i tried write but i can't do this
SG97
SG9715mo ago
can't you just add a (Razor?) view by hand? instead of using that Add View.. context menu
bert
bertOP15mo ago
i'm new to Asp.NET and visual studio i was write JS, HTML, CSS etc. but i'm new here
SG97
SG9715mo ago
assuming it's this
bert
bertOP15mo ago
i tried this doesn't work
SG97
SG9715mo ago
what do you mean doesn't work
bert
bertOP15mo ago
i think the problem is me if you come vc i will show you
SG97
SG9715mo ago
this part doesn't work?
No description
SG97
SG9715mo ago
no need for vc, as I've never used a Mac
bert
bertOP15mo ago
document say "Creating like that (there are h1, c# block)" but when i click create i'm seeing empty file
SG97
SG9715mo 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 User15mo ago
Message Not Public
Sign In & Join Server To View
Iron
Iron15mo ago
Does hes controller look like yours when he create it?
bert
bertOP15mo ago
no
Iron
Iron15mo 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
bertOP15mo ago
i fixed, thank you
Accord
Accord15mo 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.

Did you find this page helpful?