c# - ASP.NET - Web application project's generated files are conflicting with classes -
we're trying convert 1 of our web site projects web application project. upon compilation, error:
compiler error message: cs0433: type 'profilecommon' exists in both 'c:\users\zdiemer\appdata\local\temp\temporary asp.net files\root\2cbd3103\74f6f60e\app_code.umlhohvl.dll' , 'c:\users\zdiemer\appdata\local\temp\temporary asp.net files\root\2cbd3103\74f6f60e\assembly\dl3\0a1b4881\881e27bf_c0b8d001\ratingdynamicswebapp.dll' i've tried following:
- cleaning , rebuilding
- creating new project , copying on old files
- renaming
app_codefolder - removing
app_codefolder - renaming declared
profilecommonclass in web application proejct - adding "
batch=false" compilation section ofweb.config
for reason, profilecommon still being generated @ compilation despite new project being web application project. can see httpcontext.current.profile of type profilecommon when stepping through code (renaming profilecommon different allows me make log in page, upon trying log in, encounter same error).
any clues?
i figured out. configuration issue. had forgotten add inherits="<namespace of custom profilecommon>" portion profile provider in web.config.
Comments
Post a Comment