Mario Cuervo

Mario Cuervo

  • NA
  • 26
  • 6.8k

Conflicts with bin\Debug\ in VS 10, c#, SQL

Jul 21 2014 10:43 AM
I'm working in a project using SQL server 2008, c#, VS 10. At some point I started getting warnings (about 932 of them) of the following kind:
 
[ The type "SomeType" in MySlnName\MySlnName\SomeType.cs conflicts with the imported type
"SomeType" in MySlnName\MySlnName\bin\Debug\MySlnName.exe ] 
 
I found many, many similar cases in my search on the internet. The solutions vary and some of them claim they have solved their problems, however mine still persists. Here is what I have done following what I've seen in similar cases:
1) Make sure that the MySlnName.exe in referred only once in the Application Files under the Publish tab of Project Properties. 
2) Deleted the bin folder 
3) Clean Solution
4) Rebuild Solution
5) Load the project again in VS 10 and Debug...
Still getting the same 932 warnings!!
 
I must have some wrong setting(s) or the location of my solution files is either duplicated or wrong. Can anybody help ??
 

Answers (1)