----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Sitaraman Message 9 in Discussion Hi Correction!!! Am not a command line buff and always VS.Net IDE. My understanding was always that "/Imports:gac in CommandLine(basically Assembly level import)" is equivalent to "<%@ import namespace= "gac" %> in ASPX(basically page level import)<%@ import namespace= "gac" %><%@ import namespace= "gac" %>" is again equivalent to "Imports Additions in Project Properties of VS.Net IDE(again Assembly level import)". As senthil has already given the "<%@ import namespace= "gac" %> in the ASPX, giving it as a compilation parameter is only a duplication . But took a chance and tried out the command sent by u(if it had worked then my solution would have been a classic case of using an elephant gun to shoot a Mosquito ). The imports parameter add in the compilation command does not help. The command u have given , when used, will give the same error , as i have specified in the Step 2 of my Problem : Reason : Solution bullet points namely It still gace the same error "Compiler Error Message: BC30456: 'getname' is not a member of 'ASP.testgac1_aspx' : which means that the method is not recognised : For debugging i removed the method call Removing the method call will result in the error specified by me in pt 3 I got another error in the line "Imports gac" : which means that the namespace is not recognised : From the IIS Console, i made this as a Web Application and this solved "Imports gac" problem To be very precise, the exact error message is " BC30466: Namespace or type 'gac' for the Imports 'gac' cannot be found." This means that we are back to squire1 and the missing out of imports in the compilation command is not the culprit. So the problem cannot be solved by just giving the imports command!! regards, sr ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
