Migration to 2.0: Codebehind file must exist?

Discussion in 'ASP .Net' started by DC, Jan 23, 2006.

  1. DC

    DC Guest

    Hi,

    with ASP 1.1 we use "satellite" Projects to develop Usercontrols. We
    then copy only the .ascx and the .dll to the actual webproject.

    Trying to migrate such a project to 2.0 does not work since the
    compiler complaints about the missing Codebehind .cs file.

    Is it possible to use the .ascx without codefiles in 2.0?

    TIA for any hint,

    Regards
    DC
     
    DC, Jan 23, 2006
    #1
    1. Advertisements

  2. DC

    Guest

    DC,

    MS is going to put out a version of VS 2005 that will use the same
    compile model as ASP.NET 1.1. I don't have the link right now --
    perhaps someone else can respond.

    Jim
     
    , Jan 23, 2006
    #2
    1. Advertisements

  3. DC

    Guest

  4. DC

    Jon Paal Guest

    I use 2.0 without codebehind ....




    "DC" <> wrote in message news:...
    > Hi,
    >
    > with ASP 1.1 we use "satellite" Projects to develop Usercontrols. We
    > then copy only the .ascx and the .dll to the actual webproject.
    >
    > Trying to migrate such a project to 2.0 does not work since the
    > compiler complaints about the missing Codebehind .cs file.
    >
    > Is it possible to use the .ascx without codefiles in 2.0?
    >
    > TIA for any hint,
    >
    > Regards
    > DC
    >
     
    Jon Paal, Jan 23, 2006
    #4
  5. DC

    Scott Allen Guest

    You could use a Web Deployment Project to pre-compile your user
    controls into just a .dll, and drop the dll in the bin directory.

    http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx

    --
    Scott
    http://www.OdeToCode.com/blogs/scott/

    On 23 Jan 2006 06:17:18 -0800, "DC" <> wrote:

    >Hi,
    >
    >with ASP 1.1 we use "satellite" Projects to develop Usercontrols. We
    >then copy only the .ascx and the .dll to the actual webproject.
    >
    >Trying to migrate such a project to 2.0 does not work since the
    >compiler complaints about the missing Codebehind .cs file.
    >
    >Is it possible to use the .ascx without codefiles in 2.0?
    >
    >TIA for any hint,
    >
    >Regards
    >DC
     
    Scott Allen, Jan 23, 2006
    #5
  6. DC

    DC Guest

    Thanks to everybody for the info. Sounds as if I had to wait for some
    additional MS components.

    Regards
    DC
     
    DC, Jan 25, 2006
    #6
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Y.S.
    Replies:
    3
    Views:
    1,316
    strajan
    Sep 17, 2003
  2. ben
    Replies:
    10
    Views:
    5,398
    Old Wolf
    Feb 25, 2004
  3. LT
    Replies:
    7
    Views:
    2,370
    Phlip
    Jul 25, 2004
  4. NeoGeoSNK
    Replies:
    25
    Views:
    1,322
    NeoGeoSNK
    Nov 24, 2006
  5. André
    Replies:
    2
    Views:
    1,114
    André
    Jun 23, 2008
  6. Lon Baker
    Replies:
    1
    Views:
    387
    Csaba Henk
    Mar 21, 2005
  7. Markus Mohr
    Replies:
    7
    Views:
    535
    Thomas 'PointedEars' Lahn
    Nov 28, 2003
  8. Boni Satani
    Replies:
    0
    Views:
    355
    Boni Satani
    Jan 9, 2014
Loading...