locked
Office365 Visual Studio 2013 sub main was not found in '' RRS feed

  • Question

  • I have a web app for Office 365 that was created in Napa and downloaded to Visual Studio 2013.

    I get an error message on the Visual Studio 2013 Console. 

    the error simply states: sub main was not found in '' (Those are empty quotes there).

    This is a pure JavaScript application of type "Class Library" which was set as Class Library when I exported the project from Napa to Visual Studio.

    Startup Object is "None", and I do not see any way to supply a value in that field.

    Should I set this up as a Windows Forms Application?

    How can I get rid of this error message from the console?

    Additional information on my code structure:

    It appears I need to add this code someplace:

    ....Module Module1 .... .... Sub Main() .... .... EndSubEndModule

    But, where do I place that code? What kind of module is that?

    Here is my application files structure:

    Solution <name> [2 projects]

    ....<project 1>

    ....Properties

    ....<project 1>.xml

    ........<project 1>.xml

    ....<project 2>

    ........My Project

    ........AppCompose

    ........AppRead

    ........Home

    ........Content

    ........Images

    ........Scripts

    packages.config

    Web.config

    So, if I need to create a new module, please tell me how I would create that

    module and if there are any specific names I must give it.

    thanks.

    -john

    Tuesday, June 10, 2014 1:41 PM

Answers

All replies