|
 |
aspdotnet_website_programming thread: missing assembly refernece?
Message #1 by "Todd Mueller" <lenny_92675@y...> on Thu, 31 Oct 2002 15:38:35
|
|
All,
This is the error message i receive on all projects when trying to
compile. It always bombs on the 'Business' reference and cant seem to
correct the error. Anyone run up against this and figure it out?
C:\Inetpub\wwwroot\main\wrox\thePhile\Modules\Forums\Forums.Business\Catego
ry.cs(10): The type or namespace name 'Business' does not exist in the
class or namespace 'Wrox.WebModules' (are you missing an assembly
reference?)
Chopps
Message #2 by "Mike Gale" <info@d...> on Fri, 1 Nov 2002 05:32:58 +1300
|
|
Todd Mueller wrote:
> This is the error message I receive on all projects when trying to
> compile. It always bombs on the 'Business' reference and cant seem to
> correct the error. Anyone run up against this and figure it out?
>
>
C:\Inetpub\wwwroot\main\wrox\thePhile\Modules\Forums\Forums.Business\Cat
ego
> ry.cs(10): The type or namespace name 'Business' does not exist in the
> class or namespace 'Wrox.WebModules' (are you missing an assembly
> reference?)
If you're using VStudio look at your namespace.
The following ways spring to mind
1) In the "object browser"
2) In the "class" explorer pane
3) Using autocomplete, start at a root part of a namespace and build it
up in the code editor (destroy the code after you've found what you
need).
If you're not using VS I'm not so sure but SharpDevelop (I'm fairly
sure) has equivalent functionality.
This will show you where the namespace/class name has gone wrong.
(NOTE: The behaviour of your coding differs between C# and VB.NET!)
Then fix your references, recompile check again.
Mike Gale, Decision Engineering (NZ) Ltd.
Message #3 by "Todd Mueller" <lenny_92675@y...> on Thu, 31 Oct 2002 17:09:17
|
|
This is the problem throughout all projects in the solution
Wrox.WebModules.Business.BizObject
its saying WebModules.Business doesnt exist and it doesnt under the class
view. this is what it looks like
thePhile
- Wrox
- thePhile
- Webmodules
- Accounts
- Forums
Chopps
Message #4 by David Barnes <DavidB@w...> on Thu, 31 Oct 2002 17:26:47 -0000
|
|
Hi Todd
Sorry to hear you're having problems. Are you opening the CSPROJ files
individually, or are you opening the single SLN file?
You should be opening ThePhile.SLN. If you've opened ThePhile.CSPROJ, it's
likely to have overwritten the proper version of the SLN file, so you may
need to unzip another copy from the code download.
Feel free to contact me off the list if you require more information.
Cheers
David Barnes
Editor, Wrox Press
> -----Original Message-----
> From: Todd Mueller [mailto:lenny_92675@y...]
> Sent: Thursday, October 31, 2002 5:09 PM
> To: Website Programming with ASP.NET
> Subject: [aspdotnet_website_programming] RE: missing assembly
> refernece?
>
>
> This is the problem throughout all projects in the solution
>
> Wrox.WebModules.Business.BizObject
>
> its saying WebModules.Business doesnt exist and it doesnt
> under the class
> view. this is what it looks like
>
> thePhile
> - Wrox
> - thePhile
> - Webmodules
> - Accounts
> - Forums
>
>
> Chopps
>
>
>
Message #5 by "Todd Mueller" <lenny_92675@y...> on Thu, 31 Oct 2002 17:54:49
|
|
problem resolved
i was referencing the thePhile.SNK improperly causing the error.
Todd
|
|
 |