I've been searching the web for the last 2 days, and I can't find anything that seems to work. I get the following messages when I attempt to compile DNN 04.07.00 using VS2005, on Win XP SP2
Warning 1 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 201 69 DotNetNuke.Library
Warning 2 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 202 23 DotNetNuke.Library
Warning 3 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 207 77 DotNetNuke.Library
Warning 4 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 208 23 DotNetNuke.Library
Warning 5 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 214 44 DotNetNuke.Library
Warning 6 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 218 68 DotNetNuke.Library
Warning 7 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 222 81 DotNetNuke.Library
Warning 8 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 226 107 DotNetNuke.Library
Warning 9 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 244 171 DotNetNuke.Library
Warning 10 'DotNetNuke.Services.Localization.TokenReplace' is obsolete: 'This class has been deprecated, please use DotNetNuke.Services.Tokens.TokenReplace instead' D:\dev\web\dnnSource\Library\Components\Localization\TokenReplace.vb 245 24 DotNetNuke.Library
Warning 11 Function 'DeserializeModule' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. D:\dev\web\dnnSource\Library\Components\Modules\ModuleController.vb 532 9 DotNetNuke.Library
Warning 12 'Public Function GetDesktopModuleByFriendlyName(FriendlyName As String) As Entities.Modules.DesktopModuleInfo' is obsolete: 'As the FriendlyName is not guaranteed to be the same as when the module is created, this method has been replaced by GetDesktopModuleByModuleName(moduleName)' D:\dev\web\dnnSource\Library\Components\ResourceInstaller\PaDnnInstallerBase.vb 353 57 DotNetNuke.Library
Warning 13 'Public Shared Function HasModulePermission(moduleID As Integer, PermissionKey As String) As Boolean' is obsolete: 'This method has been deprecated. Please use HasModulePermission(ModuleID,TabId, PermissionKey)' D:\dev\web\dnnSource\Library\Components\Security\PortalSecurity.vb 614 20 DotNetNuke.Library
Warning 14 'Public Function GetDesktopModuleByFriendlyName(FriendlyName As String) As Entities.Modules.DesktopModuleInfo' is obsolete: 'As the FriendlyName is not guaranteed to be the same as when the module is created, this method has been replaced by GetDesktopModuleByModuleName(moduleName)' D:\dev\web\dnnSource\Library\Components\Shared\Globals.vb 2390 36 DotNetNuke.Library
Warning 15 'System.Xml.Xsl.XslTransform' is obsolete: 'This class has been deprecated. Please use System.Xml.Xsl.XslCompiledTransform instead. http://go.microsoft.com/fwlink/?linkid=14202' D:\dev\web\dnnSource\Library\Components\Shared\XmlUtils.vb 407 77 DotNetNuke.Library
Warning 16 'System.Xml.Xsl.XslTransform' is obsolete: 'This class has been deprecated. Please use System.Xml.Xsl.XslCompiledTransform instead. http://go.microsoft.com/fwlink/?linkid=14202' D:\dev\web\dnnSource\Library\Components\Shared\XmlUtils.vb 409 33 DotNetNuke.Library
Warning 17 Property 'Moveable' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. D:\dev\web\dnnSource\Library\Components\Skins\SolPartMenu.vb 249 13 DotNetNuke.Library
Warning 18 Property 'DelaySubmenuLoad' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. D:\dev\web\dnnSource\Library\Components\Skins\SolPartMenu.vb 699 13 DotNetNuke.Library
Warning 19 'SyndicationHandlerBase' is not CLS-compliant because it derives from 'GenericRssHttpHandlerBase', which is not CLS-compliant. D:\dev\web\dnnSource\Library\Components\SyndicationHandlers\SyndicationHandlerBase.vb 4 18 DotNetNuke.Library
Warning 20 event 'UserCreated' conflicts with function 'UserCreated' in the base class 'UserModuleBase' and should be declared 'Shadows'. D:\dev\web\dnnSource\Library\Components\Users\UserUserControlBase.vb 59 22 DotNetNuke.Library
Error 21 Name 'Config' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 68 16 http://localhost/DotNetNuke_2/
Error 22 Name 'Config' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 71 45 http://localhost/DotNetNuke_2/
Error 23 Name 'Config' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 75 16 http://localhost/DotNetNuke_2/
Error 24 Name 'Config' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 78 43 http://localhost/DotNetNuke_2/
Error 25 Name 'LogException' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 171 17 http://localhost/DotNetNuke_2/
Error 26 Type 'PortalController' is not defined. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 195 44 http://localhost/DotNetNuke_2/
Error 27 Type 'PortalInfo' is not defined. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 199 38 http://localhost/DotNetNuke_2/
Error 28 Name 'Scheduling' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 217 13 http://localhost/DotNetNuke_2/
Error 29 Name 'Scheduling' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 255 71 http://localhost/DotNetNuke_2/
Error 30 Type 'Scheduling.SchedulingProvider' is not defined. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 256 34 http://localhost/DotNetNuke_2/
Error 31 Name 'Scheduling' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 257 44 http://localhost/DotNetNuke_2/
Error 32 Name 'Scheduling' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 258 65 http://localhost/DotNetNuke_2/
Error 33 Name 'Config' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 286 16 http://localhost/DotNetNuke_2/
Error 34 Name 'Config' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 289 30 http://localhost/DotNetNuke_2/
Error 35 Name 'Config' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 293 20 http://localhost/DotNetNuke_2/
Error 36 Name 'Config' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 296 39 http://localhost/DotNetNuke_2/
Error 37 Name 'EventQueue' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 325 17 http://localhost/DotNetNuke_2/
Error 38 Name 'Scheduling' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 375 75 http://localhost/DotNetNuke_2/
Error 39 Type 'Scheduling.SchedulingProvider' is not defined. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 378 38 http://localhost/DotNetNuke_2/
Error 40 Name 'LogException' is not declared. D:\dev\web\dnnSource\Website\App_Code\Global.asax.vb 389 17 http://localhost/DotNetNuke_2/