Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

The type or namespace name 'Tab' could not be found #16

Open
deepakvidhate opened this issue Feb 13, 2020 · 2 comments
Open

The type or namespace name 'Tab' could not be found #16

deepakvidhate opened this issue Feb 13, 2020 · 2 comments

Comments

@deepakvidhate
Copy link

Hello,
I get below error in initial build of the project.. please help.

Error CS0246 The type or namespace name 'Tab' could not be found (are you missing a using directive or an assembly reference?) ChannelGroupTabMVC \MSTeamsApp\microsoft-teams-sample-tabs\ChannelGroupTabMVC\Views\Tab\Tab.cshtml

@Sinonajose
Copy link

Hi,
Kindly help to fix the below-mentioned error in asap.

Error CS0246 The type or namespace name 'Tab' could not be found (are you missing a using directive or an assembly reference?) ChannelGroupTabMVC C:\Users\Admin\source\repos\Tab\ChannelGroupTabMVC\Views\Tab\Tab.cshtml

@luismaiaDEVSCOPE
Copy link

@{
    <section style="width: 100%; display: table">
        <div style="display:table-row">
            <div style="width: auto; display:table-cell;">
                @{ 
                    string g = ($"{@Model.GetGray()} gray!'");
                    <div id="gray" style="display:none;">@g</div>
                }
            </div>
            <div style="display: table-cell">
                @{ 
                    string r = ($"{@Model.GetRed()} red!'");
                    <div id="red" style="display:none;">@r</div>
                }
            </div>
        </div>
    </section>
 }

Still happening.
Just go ahead and fix the Tab.cshtml file.

Best Regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants