all groups > visual studio .net general > november 2006 >
You're in the

visual studio .net general

group:

Dependencies problem


Dependencies problem Federico Halperin
11/21/2006 11:03:17 AM
visual studio .net general:
Hi everyone,

I'm having a problem with dependencies in a solution. This solution has
6 projects, and there's one that contains many things that are used by
all the others. This "common" project is web-based.

When I want to reference this project (in the Add Reference / Projects
tab), the only ones that show up are non-web (the other 4 projects),
and the only way I've found to reference it from another app (which is
web-based as well) is:

1) Deploy the project (I'm using Microsoft Web Deployment Projects
2005)
2) Reference the generated dll

This is the error I'm getting when building the solution:

Error 1 The type 'ASP.global_asax' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\projectname\2ac63e7c\79b37a4c\App_global.asax.leykb_q3.dll' and
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\projectname\2ac63e7c\79b37a4c\assembly\dl3\bffe3a85\06576cea_9d0dc701\Project.DLL'
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\projectname\2ac63e7c\79b37a4c\App_Web_bfffqvfw.8.cs 51

Which looks like a crossed reference. Any ideas on how to solve this
problem?!

Thanks,
Re: Dependencies problem Gerry Hickman
11/21/2006 10:21:30 PM
Hi,

You probably know this was a major problem with VS2005, but used to work
in the "old" web-dev model of 2003? I believe there's a plug-in to try
and fix it, but you say you are using "Microsoft Web Deployment
Projects", is this the plug-in? As I understand it, the plug-in is
supposed to enable VS2005 to behave like VS2003 when it comes to shared
code?

[quoted text, click to view]


--
AddThis Social Bookmark Button