Last post Jun 29, 2009 04:36 PM by cwmizner
Jun 25, 2009 10:03 PM|cwmizner|LINK
I changed the output path from bin to bin\Debug\ for debug build and bin\Release for release build, soultion is not picking up the new locations, ideas?
Jun 26, 2009 12:33 AM|qwe123kids|LINK
Have U used for the folllwing thing
Project -- > Propties -->Build -->OutPut Path (D://MydeployAssembly)
Have U used
Jun 26, 2009 12:38 AM|cwmizner|LINK
that's how i changed the output path, the dlls are going where I want them to go, but my app is now broken as it's not finding them in debug mode nor on my staging server where i only have the release dlls in the bin/release dir
Jun 26, 2009 09:39 AM|cwmizner|LINK
anyone? this can't be that hard, my dlls are right there, the app just can't find them, it's supposed to go to gac, then then bin dir right? does it not auto search any sub dirs of the bin dir?
Jun 26, 2009 11:21 AM|cwmizner|LINK
just as I suspected, when i move my debug dll files from bin\Debug to just bin, the app gets farther along, it's choking on the next dll, but I got some more info this time, please see below, i know i could just move all my dlls to the bin dir, but that
defeats the purpose of what i changed, i want to segregate the debug and release dlls...
Source File: C:\trunk\Authorization\SubdomainRouter\Default.aspx.cs Line:
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Lib.UrlInfo, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null' could not be loaded.
=== Pre-bind state information ===LOG: User = NT AUTHORITY\NETWORK SERVICELOG: DisplayName = Lib.UrlInfo, Version=184.108.40.206, Culture=neutral, PublicKeyToken=null (Fully-specified)LOG: Appbase = file:///C:/trunk/Authorization/SubdomainRouter/LOG: Initial PrivatePath = C:\trunk\Authorization\SubdomainRouter\binCalling assembly : SEP.Authorization.SubdomainRouterWebSite, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null.===LOG: This bind starts in default load context.LOG: Using application configuration file: C:\trunk\Authorization\SubdomainRouter\web.configLOG: Using host configuration file: \\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.configLOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/f1af4eb1/bb93f900/Lib.UrlInfo.DLL.LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/f1af4eb1/bb93f900/Lib.UrlInfo/Lib.UrlInfo.DLL.LOG: Attempting download of new URL file:///C:/trunk/Authorization/SubdomainRouter/bin/Lib.UrlInfo.DLL.LOG: Attempting download of new URL file:///C:/trunk/Authorization/SubdomainRouter/bin/Lib.UrlInfo/Lib.UrlInfo.DLL.LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/f1af4eb1/bb93f900/Lib.UrlInfo.EXE.LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/f1af4eb1/bb93f900/Lib.UrlInfo/Lib.UrlInfo.EXE.LOG: Attempting download of new URL file:///C:/trunk/Authorization/SubdomainRouter/bin/Lib.UrlInfo.EXE.LOG: Attempting download of new URL file:///C:/trunk/Authorization/SubdomainRouter/bin/Lib.UrlInfo/Lib.UrlInfo.EXE.
[FileNotFoundException: Could not load file or assembly 'Lib.UrlInfo, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.] SEP.Authorization.SubdomainRouterWebSite.Default.Page_Load(Object sender, EventArgs e) in C:\trunk\Authorization\SubdomainRouter\Default.aspx.cs:83 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Jun 26, 2009 01:54 PM|qwe123kids|LINK
Primary Assembly Is Not able to Load "Lib.UrlInfo". So copy"Lib.UrlInfo" and Other Dll In folder Where U R Keeping Your primary Assembly..ORNot very sure U can Modify The We.config File with Absolute Path of Assemblyexample:-Seach Line in Web.config file which has Lib.URlInfo and Modify Ith Mention below<assemblies> <add assembly="C://Mypath/Lib.UrlInfo, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null"/> </assemblies>
Jun 26, 2009 02:00 PM|cwmizner|LINK
i want my debug and release dlls seperate, my real question here is how does it search for dlls and why doesn't it traverse the bin dir sub dirs?
i'm going to back to just putting everything in bin, i do a debug build it's fine, then when i do a release build it overrides the debug dlls, that's fine i guess
Jun 29, 2009 04:36 PM|cwmizner|LINK
can anyone help with this?
i'd like to get a better understanding in general.
i've got this monster solution with 52 projects and I've completely hosed it up, i'm working on getting back where i was, but again, want to understand a few things better.
it seems important to have differen debug and release dlls, agree?
what is the best method to differeciate? is it a good idea to have the output path set up to different dirs? (i did some testing at some point and noticed if you have release config set to same dir as debug and you build, it pretty nicely overrides the
debug dlls and even deletes the pdb files if you have the release config set to 'none' for debug info)
if the dirs are different, getting back to the same questions, how does the web server determine what dlls to load/use?