In article <58**********************************@microsoft.co m>,
Ro*********@discussions.microsoft.com says...
My first ASP.NET 2.0 app.
I added a reference to a class library containg the types I want to as a
source of data to populate my pages. The dll and all the dlls it uses appear
in the newly created bin folder.
I add the using directive to the page and try to call the type but I keep
getting an error that a type in one temporary folder conflicts with another
type in another tempory folder. The assemblies are not strongly named.
How are dlls added in 2.0? What am I doing wrong? I read the various FAQs to
no avail. Can anyone help. Thanks
Sorry to the group.
After another few hours of grief, I downloaded the PayPal-enabled eCommerce
Starter Kit End-To-End Sample at
http://www.commercestarterkit.org/
I found out that
1 - The page can't use the reference directly but...
2 - A page can talk to a class in the App_Code folder
3 - The class in the App_Code folder can use the added reference
4 - Life is good.
If anyone can explain why that is I would appreciate it. A different paradigm
for sure. The fact that there is no namespace in the page's code behind is
going to take some further time to understand/
As it's still early, I have put off buying a book. I'm looking for one that
focuses more on what is new in 2.0 under the hood. One that wasn't written in
the early beta stages. Any recommendations?
TIA
Robert Zurer