Setup file(*.msi) also includes .aspx.cs (source code) files also RRS feed

  • Question

  • User-1074449634 posted

    My project is recently migrated from 2008 to 2010

    actualy we developed project in VS 2005 in that we created setup file but when we migrated to vs2008 setup file giving problem to us.

    now when we make setup file it is including .aspx.cs files also but this if we publish our project it wont including source code.

    why setup file including .aspx.cs files is there any way to change.

    plz replay ASAP

    Thursday, September 30, 2010 2:05 AM


  • User-153615472 posted


    This is most likely to do with "codefile=abc.aspx.cx" rather than "codebehind=abc.aspx.cs".

    This affects how project is built/compiled.

    Check the declarations at the top of your aspx pages and see how the the aspx.cs is defined.

    You'll find plenty of discuss on "codebehind versus codefile" online.

    Hope this helps, mark as answer if it does.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, September 30, 2010 5:17 AM