Forum C# Cannot add reference to another project.

Cannot add reference to another project.

Postby Vania » August 27th, 2012, 7:07 pm

When I try to add a reference to another project in the solution I get:
"- error: Reference found to [ProjectName]. You can only reference PlayerIO.GameLibrary.dll"

Should all my code be in a single project?
Vania
 
Posts: 198
Joined: March 24th, 2010, 9:01 pm

Re: Cannot add reference to another project.

Postby Henrik » August 28th, 2012, 12:05 pm

Yes, because you can only upload a single DLL. You can still have as many namespaces as you want in your project though, you're not bound in any way there, so simply include the external project as a subfolder to your serverside code project, instead of as a subproject to your solution. You'll get the exact same results.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to C#



cron