By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,725 Members | 1,094 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,725 IT Pros & Developers. It's quick & easy.

@&%$! BC30456 error when rebuilding site w VWD Express

P: n/a
My desk has been beaten to a pulp by my forehead over this.

In my page's codebehind, IntelliSense recognizes the Methods in my homegrown
Class. That tells me the Imports directive is finding the Class in the
specified Namespace and that the Methods and Class are Public. The Methods
are actually Public Shared.

* If I do a simple Build =Build Page it succeeds.

* If I do a Build =Rebuild Web Site (or Build =Build Web Site) every one
of my references to Methods in the Class get flagged with "BC30456:
'<method>' is not a member of '<class>'."

It doesn't matter if I'm using VWD from a workstation editing the site via
HTTP or locally on the server as a filesystem project as Administrator.

I've checked and rechecked the FP extensions, recalculated the web, ran
aspnet_regiis -i and -r (I'm using version 2.0.50727 if it matters),
consulted a weegie board and several psychiatrists (in addition to my
physician for several "prescription" refills) with no luck (except the
"prescriptions" bit, that is -- feeling a little better, thank you). Figured
it was time to call in the experts here.

I (and my so-called physician) would really appreciate it if somebody here
would come up with a solution. Any help?
Apr 10 '07 #1
Share this Question
Share on Google+
4 Replies


P: n/a
BC30456 is a generic compiler error, so finding the cause of it being thrown
will not be an easy task - as your finding.

See if this thread helps you at all though.
http://www.thescripts.com/forum/thread474440.html

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"MyndPhlyp" <no****@homeright.nowwrote in message
news:eX**************@TK2MSFTNGP04.phx.gbl...
My desk has been beaten to a pulp by my forehead over this.

In my page's codebehind, IntelliSense recognizes the Methods in my
homegrown
Class. That tells me the Imports directive is finding the Class in the
specified Namespace and that the Methods and Class are Public. The Methods
are actually Public Shared.

* If I do a simple Build =Build Page it succeeds.

* If I do a Build =Rebuild Web Site (or Build =Build Web Site) every
one
of my references to Methods in the Class get flagged with "BC30456:
'<method>' is not a member of '<class>'."

It doesn't matter if I'm using VWD from a workstation editing the site via
HTTP or locally on the server as a filesystem project as Administrator.

I've checked and rechecked the FP extensions, recalculated the web, ran
aspnet_regiis -i and -r (I'm using version 2.0.50727 if it matters),
consulted a weegie board and several psychiatrists (in addition to my
physician for several "prescription" refills) with no luck (except the
"prescriptions" bit, that is -- feeling a little better, thank you).
Figured
it was time to call in the experts here.

I (and my so-called physician) would really appreciate it if somebody here
would come up with a solution. Any help?


Apr 10 '07 #2

P: n/a
Often, going to the Build menu and running "Clean Solution", then
"Rebuild Solution" will clear this up.

Apr 10 '07 #3

P: n/a

"Charlie Brown" <cb****@duclaw.comwrote in message
news:11**********************@y5g2000hsa.googlegro ups.com...
Often, going to the Build menu and running "Clean Solution", then
"Rebuild Solution" will clear this up.
Bummer. That option is in the Pro version. I'm using the Express version.
(Trying to wrestle with the correct External Tools command line right now to
see if I can create a Clean command.)
Apr 11 '07 #4

P: n/a
I don't think it was applicable. If I read it correctly the solution was to
add a CodeFile attribute in the page's directive. My code is code-behind.
<sighGuess I'll just have to keep beating this desk to a finer pulp.
"John Timney (MVP)" <x_****@timney.eclipse.co.ukwrote in message
news:6o******************************@eclipse.net. uk...
BC30456 is a generic compiler error, so finding the cause of it being
thrown
will not be an easy task - as your finding.

See if this thread helps you at all though.
http://www.thescripts.com/forum/thread474440.html

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"MyndPhlyp" <no****@homeright.nowwrote in message
news:eX**************@TK2MSFTNGP04.phx.gbl...
My desk has been beaten to a pulp by my forehead over this.

In my page's codebehind, IntelliSense recognizes the Methods in my
homegrown
Class. That tells me the Imports directive is finding the Class in the
specified Namespace and that the Methods and Class are Public. The
Methods
are actually Public Shared.

* If I do a simple Build =Build Page it succeeds.

* If I do a Build =Rebuild Web Site (or Build =Build Web Site) every
one
of my references to Methods in the Class get flagged with "BC30456:
'<method>' is not a member of '<class>'."

It doesn't matter if I'm using VWD from a workstation editing the site
via
HTTP or locally on the server as a filesystem project as Administrator.

I've checked and rechecked the FP extensions, recalculated the web, ran
aspnet_regiis -i and -r (I'm using version 2.0.50727 if it matters),
consulted a weegie board and several psychiatrists (in addition to my
physician for several "prescription" refills) with no luck (except the
"prescriptions" bit, that is -- feeling a little better, thank you).
Figured
it was time to call in the experts here.

I (and my so-called physician) would really appreciate it if somebody
here
would come up with a solution. Any help?


Apr 11 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.