Jithin
Jithin

Reputation: 21

ASP.NET Build Error : The type exists in both dlls

While building my project, I got the below error message.

The type 'tracker_ascx' exists in both 'AppData\Local\Temp\190\Temporary ASP.NET Files\root\web_tracker.ascx.7a9a6bd4.fnv2mhdj.dll' and 'AppData\Local\Temp\190\Temporary ASP.NET Files\root\web_tracker.ascx.7a9a6bd4.pxdl7dxj.dll'.

The application runs in .NET Framework 4.0

Upvotes: 1

Views: 3124

Answers (2)

Hernan Guzman
Hernan Guzman

Reputation: 1235

In adition to clean and rebuild your solution, you can also delete the content of the "Temporary ASP.NET Files" folder in order to force a dynamic recompilation of your applications.

Upvotes: -1

Microsoft DN
Microsoft DN

Reputation: 10020

This probably happend because you may have reference of old dlls even if u added new version. Just clean your solution and then rebuild it.

Upvotes: 2

Related Questions