Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

_ViewStart.cshtml not being "used"

townie's Avatar

townie

20 Apr, 2011 01:48 PM

When my webpages render - the view being rendered is not using _ViewStart.cshtml on appHarbor.

It is working fine on my laptop using Visual Studio 2010. I am not sure where to begin debugging. :-(

_ViewStart.cshtml

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

Folder structure looks fine to me.

  1. Support Staff 1 Posted by friism on 20 Apr, 2011 04:49 PM

    friism's Avatar

    Could something like this be the problem? If you can't get it working, feel free to invite support@ as a collaborator, and we can take a look.

  2. 2 Posted by townie on 20 Apr, 2011 05:05 PM

    townie's Avatar

    What does involving support as collaborator mean? :-)

    On Apr 20, 2011, at 10:19 PM, "Michael Friis" <[email blocked]
     > wrote:

  3. Support Staff 3 Posted by friism on 20 Apr, 2011 05:06 PM

    friism's Avatar

    We can look at your code. We delete it after we've helped you.

  4. 4 Posted by townie on 20 Apr, 2011 06:09 PM

    townie's Avatar

    I'd like to get support as a collaborator. Is there an invite procedure?

  5. Support Staff 5 Posted by friism on 20 Apr, 2011 06:22 PM

    friism's Avatar

    In the application interface on AppHarbor, follow the "Collaborators" link and add support(a)appharbor.com.

  6. 6 Posted by townie on 20 Apr, 2011 07:15 PM

    townie's Avatar

    Can support join as a collaborator please?

    On Apr 20, 2011, at 10:36 PM, "Michael Friis" <[email blocked]
     > wrote:

  7. 7 Posted by townie on 20 Apr, 2011 07:16 PM

    townie's Avatar

    Cool. Tis done!

  8. Support Staff 8 Posted by friism on 21 Apr, 2011 12:42 AM

    friism's Avatar

    The error is due to Build Action being set to None on _ViewStart.cshtml. Right-click _ViewStart.cshtml and set Build Action to Content.

  9. friism closed this discussion on 21 Apr, 2011 12:42 AM.

  10. townie re-opened this discussion on 21 Apr, 2011 12:56 AM

  11. 9 Posted by townie on 21 Apr, 2011 12:56 AM

    townie's Avatar

    Found the issue here as well *after* reading your reply. My bad, I
    googled some. Now changing the motto to appharbor innocent until
    proven guilty. (wish I could see the artifacts folder to have -aha-
    the viewstart file is not even here!)

    http://visualstudiogallery.msdn.microsoft.com/2b462e2e-5215-4d07-a4de-4c31c432c12b

    On Apr 21, 2011, at 6:12 AM, "Michael Friis" <[email blocked]
     > wrote:

  12. Support Staff 10 Posted by friism on 21 Apr, 2011 01:09 AM

    friism's Avatar

    Yeah, we'd like to expose deployed files in the interface.

  13. friism closed this discussion on 21 Apr, 2011 01:09 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac