Visual Studio 2013, Project DLL Build not in Bin folder RRS feed

  • Question

  • User-1016535790 posted

    Not sure if this is a Asp.Net issue or VS 2013 issue.

    I downloaded my website into VS2013 by first creating an empty Webforms website.
    Then I used "Add new folder" and "Add new item" in Solution Explorer to import all the pages, user controls, class files.

    Everything works fine.

    But I see my project dll (Project1.dll say) not being rebuilt. It stays in the bin folder and has the same time stamp as when I downloaded it.
    IF I search for project1.dll on my pc I see that its being built in:
    C:\Users\ooo\AppData\Local\Temp\Temporary ASP.NET Files\vs\cafb2179\e9b9f4d7\assembly\dl3\f6915d3b\3c92c7b9_44c1d401

    Last time I edited my site was 2 years ago and never came across this issue. I would just edit stuff and upload (FTP) the updated dll from the bin folder.
    But now, no matter the changes; project.dll does not get updated in bin folder. 

    Saturday, March 2, 2019 11:59 AM

All replies

  • User1120430333 posted

    Do a Clean and Rebuild of the solution...

    Saturday, March 2, 2019 3:43 PM
  • User-1016535790 posted

    I have done a clean rebuild.
    There is no "Clean rebuild" option in VS2013 but according to this article:
    The "Rebuild" option does a clean rebuild.

    Unfortunately no luck.

    The old project dll (project1.dll) just sits in the bin folder without getting updated and the new version of project1.dll gets created here still:
    C:\Users\ooo\AppData\Local\Temp\Temporary ASP.NET Files\vs\cafb2179\e9b9f4d7\assembly\dl3\f6915d3b\7bac807f_17d1d401

    I have almost given up. I have reinstalled VS2013 a couple of times. I did have VS2017 before I installed VS2013 and then I uninstalled VS2017. Wonder if this has anything to do with it? 

    Here is my project solution file if this helps:

    Microsoft Visual Studio Solution File, Format Version 12.00
    # Visual Studio 2013
    VisualStudioVersion = 12.0.40629.0
    MinimumVisualStudioVersion = 10.0.40219.1
    Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "WhiteOrchid2", "http://localhost:50098", "{094F0F0A-7FF2-4108-8DE1-F33B46403FF4}"
    ProjectSection(WebsiteProperties) = preProject
    UseIISExpress = "true"
    TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
    Debug.AspNetCompiler.VirtualPath = "/localhost_50098"
    Debug.AspNetCompiler.PhysicalPath = "..\WhiteOrchid2\"
    Debug.AspNetCompiler.TargetPath = "..\WhiteOrchid2\bin\"
    Debug.AspNetCompiler.Updateable = "true"
    Debug.AspNetCompiler.ForceOverwrite = "true"
    Debug.AspNetCompiler.FixedNames = "false"
    Debug.AspNetCompiler.Debug = "True"
    Release.AspNetCompiler.VirtualPath = "/localhost_50098"
    Release.AspNetCompiler.PhysicalPath = "..\WhiteOrchid2\"
    Release.AspNetCompiler.TargetPath = "..\WhiteOrchid2\bin\"
    Release.AspNetCompiler.Updateable = "true"
    Release.AspNetCompiler.ForceOverwrite = "true"
    Release.AspNetCompiler.FixedNames = "false"
    Release.AspNetCompiler.Debug = "False"
    SlnRelativePath = "..\WhiteOrchid2\"
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
    Debug|Any CPU = Debug|Any CPU
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
    {094F0F0A-7FF2-4108-8DE1-F33B46403FF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    {094F0F0A-7FF2-4108-8DE1-F33B46403FF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
    GlobalSection(SolutionProperties) = preSolution
    HideSolutionNode = FALSE

    Sunday, March 3, 2019 1:36 PM
  • User409696431 posted

    Is this actually a website, not an application?  If so, it gets built on the server at the first request for the pages.  The local dll is built for you when you are testing, and is stored (as it will be on the server) outside of your site.  You don't publish a project.dll, just the pages.

    Did you mean to create an application, not a website, when you moved it to your PC and VS2013?   In VS3013, it would be File -> "New Project", then, under your language of choice, select Web, and then Asp.Net Web Application.

    Sunday, March 3, 2019 7:47 PM