The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Gumbatman (1) [Avatar] Offline
#1
Hello Mr. Grimes,

I am enjoying your book. However being a newbie I am unsure what I am doing incorrectly.

I made the Person1000 and Person2000 directories and placed the person.cs in each directory with the only changes being to their AssemblyVersion.

When I use the csc /r:person1000person.dll people.cs
command line I get the following error:

people.cs(12,4): error CS0246: The type or namespace name 'person' could not
found (are you missing a using directive or an assembly reference?)
people.cs(14,49): error CS0246: The type or namespace name 'p' could not be
found (are you missing a using directive or an assembly reference?)
people.cs(14,61): error CS0246: The type or namespace name 'p' could not be
found (are you missing a using directive or an assembly reference?)
people.cs(14,72): error CS0246: The type or namespace name 'p' could not be
found (are you missing a using directive or an assembly reference?)


Also, using the Visual Studio IDE, when I compile it, I get the error: The namespace '' already contains a definition for 'person'

I've gone over the code carefully and even downloaded the examples, but I am still getting this error. Could you
help me find the solution?

Thank you.

-Rob