No new DLL in VS2008 project

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DeShark
    New Member
    • Apr 2012
    • 11

    No new DLL in VS2008 project

    I have a web site project that was last built in May of 2009. I made a copy and tried to build it with VS2008.. it builds... but I don't get a new DLL. The project is a web site with VB code behind the aspx pages. Any idea what I need to do here? I am getting very frustrated with this.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    A new DLL is only created if code changes are detected or there is nothing already built.

    Have you tried publishing the website?

    Comment

    • DeShark
      New Member
      • Apr 2012
      • 11

      #3
      I have made changes to both .aspx and the .vb support files. It should rebuild the dll right? It is not doing that. I am running Windows 7 and VS2008. I also tried VS2010. Same thing.

      Comment

      • DeShark
        New Member
        • Apr 2012
        • 11

        #4
        I have even debugged it with a breakpoint in the .vb code. When it hits the breakpoint... the call stack refers to the .dll. Why won't this damn thing compile a new copy of the .dll???

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          What makes you think a new DLL isn't being compiled?
          Have you tried deleting the files in the bin folders?
          If you do this, and recompile, you should see that a new DLL has been generated.

          -Frinny

          Comment

          • DeShark
            New Member
            • Apr 2012
            • 11

            #6
            I don't think they are being compiled because they are still dated 2009. Yes I have tried deleting them.. then I get reference errors.. from the inherits= at the top of the .aspx page. I thought deleting them and rebuilding would work too. There is a reference setup to the DLL. Seems like a catch 22. Any ideas? This is really bizzare!

            Comment

            • DeShark
              New Member
              • Apr 2012
              • 11

              #7
              I've even tried it on a different machine to make sure it wasn't my PC. Same thing. :(

              Comment

              • Frinavale
                Recognized Expert Expert
                • Oct 2006
                • 9749

                #8
                What is the DLL that you are talking about?
                What's it called?

                -Frinny

                Comment

                • DeShark
                  New Member
                  • Apr 2012
                  • 11

                  #9
                  it's named after my project... jld06.dll. I also have jld06.pdb and jld06.xml in the bin folder. All dated 5/6/2009.

                  Comment

                  • Frinavale
                    Recognized Expert Expert
                    • Oct 2006
                    • 9749

                    #10
                    Ok, so you have an ASP.NET project called "jld06".

                    When you build the project you don't get any errors but you are not seeing an updated jld06.dll in the bin folder.

                    Just out of curiosity, what are the current configuration settings for the Build action for Visual Studio...what does your build action do?

                    Does it produce files in the release folder in the bin folder or does it produce files in the debug folder in the bin folder?

                    Comment

                    • Frinavale
                      Recognized Expert Expert
                      • Oct 2006
                      • 9749

                      #11
                      Wait a second!

                      Based on the fact that you're getting errors when you delete the bin folder, I have a feeling you don't have the actual project.

                      I think you might just have the files that were produced from a publish done in 2009.

                      Does your project have a .sln file?

                      -Frinny

                      Comment

                      • DeShark
                        New Member
                        • Apr 2012
                        • 11

                        #12
                        Yes I have a project called jld06. Not sure about the build action. I see release and debug options. Neither bin or debug files get updated. I have files in both but they are 2009.

                        Yes I have a .sln file I am using to open the project. As well as a .vbproj file. Would it be easier to email or chat about this?

                        Comment

                        • Frinavale
                          Recognized Expert Expert
                          • Oct 2006
                          • 9749

                          #13
                          I cannot accept anything like that right now due to the configuration that I am using at the moment. If you want to attach it to this thread I can download it later when I'm using a different configuration that allows me to do what you're suggesting.
                          Last edited by Frinavale; Apr 4 '12, 06:58 PM.

                          Comment

                          • Frinavale
                            Recognized Expert Expert
                            • Oct 2006
                            • 9749

                            #14
                            One more thing, did you transfer this project from over the network?
                            Or, are you trying to use the project remotely??

                            Comment

                            • DeShark
                              New Member
                              • Apr 2012
                              • 11

                              #15
                              I've tried VS2008 and VS2010 with the same results. I had a local copy of the project that I had saved from the last time I modified it. I tried that one and I downloaded a copy from the production web server. Same results. I am doing all my work on local machines.

                              Comment

                              Working...