Last post Dec 05, 2005 11:20 PM by ScottGu
Dec 01, 2005 02:05 AM|dronad|LINK
Dec 01, 2005 03:57 PM|ScottGu|LINK
Dec 02, 2005 09:33 AM|dronad|LINK
Thanks ... that works. I can't however, get the Web Project to remember its third-pary DLL references (even when the DLLS are sitting a folder in the current web project) ... nor does it seem to remember the Start-Up project.
Anyone have thoughts on this?
Dec 02, 2005 02:16 PM|nichole@ms|LINK
Hi David -
1. Have you tried putting the DLLs in a \bin directory? Things in the bin directory should be automatically referenced. If one is not in your project you can manually add one:
a. From the Solution Explorer, right click the Web App
b. Choose - Add ASP.NET Folder from the context menu
c. Choose 'Bin'
2. For the Start-Up project. Have you looked at the Web Project's Property Pages? Again, from the Solution Explorer, right click the Web App. Choose 'Property Pages' near the bottom of the context menu. A Property Pages dialog should
now appear. From there, choose 'Start Options' in the tree at the left. From there you can choose a Start URL or a specific page. The default is 'use current page' - so whatever you have selected when you push F5 is what will run.
Dec 02, 2005 03:00 PM|ScottGu|LINK
Also -- are you adding references to your web project by selecting the project, right-clicking, and select "Add Reference"? This will add the reference to your project.
Dec 02, 2005 08:51 PM|Blake05|LINK
Dec 03, 2005 09:58 PM|dronad|LINK
Yes, I was right-clicking to Add reference and that would work but if I save the solution and put/pull from source control ... is just doesn't take. I don't love the /bin solution since I like to pull third-party dlls from source control and we don't generally
keep anything in /bin.
I created another library project and referenced the third party dlls in there and then referenced *that* project in my web project and am limping along like so, but still somewhat confused about it all.
Dec 05, 2005 11:20 PM|ScottGu|LINK
Can you check your \bin folder to see if there are .refresh files persisted on disk inside it? These files contain information about the assemblies to dynamically pull in and update. The .refresh files will get checked into source control, but the .dll
files won't. This way your references will travel with you -- but the assemblies can live outside the project.
Hope this helps,