Here's what I did to get to a faultless build with VS2005...
DJB-1101 Source: Upgrade Solution to VS2005
Removed web project reference to http://localhost\dotnetnuke
Added web project reference to http://localhost/dotnetnuke_2
DJB-1102 Source: Fix Reference Errors
Store.Admin DotNetNuke, Providers
Store.Admin.SqlDataProvider DotNetNuke, Admin
Store.Cart DotNetNuke, Cart
Store.Cart.AuthorizeNetProvider DotNetNuke, Admin, Cart, Components, Customer*
Store.Cart.PayPalProvider DotNetNuke, Admin, Cart, Components, Customer*
Store.Cart.SqlDataProvider DotNetNuke
Store.Catalog DotNetNuke
Store.CatalogSqlDataProvider DotNetNuke
Store.Components DotNetNuke
Store.Customer DotNetNuke
Store.Customer.SqlDataProvider DotNetNuke
Store.Providers DotNetNuke
Store.Providers.Address.DefaultAddressProvider DotNetNuke
Store.Providers.Address.DefaultAddressProvider.SqlDataProvider DotNetNuke
Store.Providers.Shipping.DefaultShippingProvider DotNetNuke
Store.Providers.Shipping.DefaultShippingProvider.SqlDataProvider DotNetNuke
Store.Providers.Tax.DefaultTaxProvider DotNetNuke
Store.Providers.Tax.DefaultTaxProvider.SqlDataProvider DotNetNuke
Store.WebControls DotNetNuke
BuildSupport: 0 Errors, 33 Warnings
DJB-1103 Verify References and Use
Removed unused references from projects references and source using/imports
Notes: Store.Cart.AuthorizeNetProvider, Microsoft.VisualBasic required.
Could move to common tools if used elsewhere (Store.Components.VisualBasicUtilities)
DJB-1104 Source: Fix Compiler Warnings
IAddressProvider.cs CS0108 hides inherited member (defined in base)
ProviderFactory.cs CS0162 unreachable code
ShippingControlBase.cs CS0108 hides inherited member (defined in base)
PaymentControlBase.cs CS0618 obsolete (requires testing)
ReviewInfo.cs CS0618 obsolete
DefaultAddressProfile.ascx.cs CS0105 duplicate namespace
AddressController.cs CS0108 hides inherited member (defined in base)
DefaultAddressCheckout.ascx.cs CS0414 never used
DefaultTaxCheckout.ascx.cs CS0414 never used
AccountSettings.ascx.cs CS0168 never used
DefaultShippingCheckout.ascx.cs CS0169 never used
BuildSupport: 0 Errors, 14 Warnings (known issues)
Notes: Requires refactoring and code reuse.
DJB-1105 Fix obsolete SQLDataProviders configuration managers
AdminSqlProvider.cs CS0618 obsolete *
Catalog.SqlDataProvider.cs CS0618 obsolete *
Cart.SqlDataProvider.cs CS0618 obsolete *
Customer.SqlDataProvider.cs CS0618 obsolete *
DefaultAddressProvider.SqlDataProvider.cs CS0618 obsolete *
DefaultShippingProvider.SqlDataProvider.cs CS0618 obsolete *
DefaultTaxProvider.SqlDataProvider.cs CS0618 obsolete *
//DotNetNuke.Framework.Providers.Provider objProvider = ((DotNetNuke.Framework.Providers.Provider)(_providerConfiguration.Providers[_providerConfiguration.DefaultProvider])); //if (objProvider.Attributes["connectionStringName"] != "" && System.Configuration.ConfigurationSettings.AppSettings[objProvider.Attributes["connectionStringName"]] != "") //{ // _connectionString = System.Configuration.ConfigurationSettings.AppSettings[objProvider.Attributes["connectionStringName"]]; //} //else //{ // _connectionString = objProvider.Attributes["connectionString"]; //} Provider objProvider = ((Provider)(_providerConfiguration.Providers[_providerConfiguration.DefaultProvider]));_connectionString =
ConfigurationManager.AppSettings[objProvider.Attributes["connectionStringName"]];if (_connectionString == "")_connectionString = objProvider.Attributes[
"connectionString"];
For code readability...
Added using DotNetNuke.Framework.Providers;
Notes; Needs refactoring not cut & copy
BuildSupport: 0 Errors, 0 Warnings (faultless, complete build)