-1

This is so frustrating. For some reason I have added a dependency Microsoft.VisualStudio.Text.Logic into my application so when I deploy it, it gives me the typical "Unable to install or run the application. The application requires that assembly XXX be installed in the Global Assmebly Cache (GAC) first". No big deal.

So I went to the application files section and it doesn't show up. Then I checked my references and nothing shows up. As a last ditch effort I checked under the "Add References" panel and it's not there. For some reason my Build Server has it, but all my end users as well as my development machine do not. Is there anywhere that I can check as to what dependencies are required and remove them? I cant find any code in my application that would required this DLL.

I guess this question can be generalized as this: "What is the best way to find dependencies for a project to prevent new ones from being created"?

halfer
  • 19,824
  • 17
  • 99
  • 186
brhardwick
  • 3,065
  • 2
  • 15
  • 17

1 Answers1

0

So i found a solution that probably doesnt directly solve it for most people, but it is something good to keep in mind. What i didnt realize was that the Visual Studio versions were different and for some reason the one on the build server was adding a bunch of dependencies (like 15). I solved the issue by updating the server to contain the same visual studio version as my development machine.

brhardwick
  • 3,065
  • 2
  • 15
  • 17
  • I am facing same issue. can anyone tell me what is build server and how to configure it ? i am using vs 2012 professional. – Manish Gupta Nov 20 '15 at 06:09