can you add another function?

Last post 04-29-2006 2:09 AM by daqingshu. 2 replies.

Sort Posts:

  • can you add another function?

    04-28-2006, 3:00 PM
    • Member
      10 point Member
    • daqingshu
    • Member since 04-28-2006, 2:43 PM
    • China
    • Posts 2

    the default build type is not very satisfiable, and the not so old VS 2005 Web Application Projects also is not good

    once I create a WAP, and I put a folder App_code in it, I build it ,  I got a dll, then, when I fresh browser, the builded dll and the class in App_code folder   will build together by  aspnet_wp, then I got an error.

    so I try modify the aspx file, CodeBehind -> CodeFile, it worked well

    since I want to deploy it , I just only build it once

    but I think it may be get some another instable I don't know 

    I don't like build it every time, and also, I don't like open a slowly web site

  • Re: can you add another function?

    04-29-2006, 12:56 AM
    • Contributor
      2,498 point Contributor
    • Blake05
    • Member since 12-02-2005, 11:22 PM
    • Wisconsin
    • Posts 501
    I have a few questions for you. Did you add the app_code folder yourself or did you do it in visual studio.

    Also please post in text or a picture of the error that you are recieveing.
  • Re: can you add another function?

    04-29-2006, 2:09 AM
    • Member
      10 point Member
    • daqingshu
    • Member since 04-28-2006, 2:43 PM
    • China
    • Posts 2

    yes, because I try convert Visual Studio 2005 Web Site to the new  Visual Studio 2005 Web Application Projects

    my project name is Panda.Web.Test, the output dll name also is Panda.Web.Test.dll

    I put a folder App_code in visual studio manually, and visual studio can recognize it as a special folder

    in app_code I put a class webutility.cs

    the error occured when I browser a aspx wrote like

    <%@ Page Language="C#" AutoEventWireUp="true" CodeBehind="test1.aspx.cs" inheite="test1" %>
    <script runat="server">
      void Page_Load()
      {
            webutility.getAllControls();
       }
      </script>
    ....

    ......

    it said class webutility can be find in apsx_23746f.dll and  34578.Panda.Web.Test.dll  in Temporary ASP.NET Files


     

     

Page 1 of 1 (3 items)