Unanswered Solver Foundation and the .NET GAC

  • Wednesday, February 27, 2013 5:59 PM
     
     

    I have made an app there are using the microsoft solver foundation, and its great. But my problem is that my client haven't installed the microsoft solver foundation, so when the run the program they got this error:

    Could not load file or assembly 'Microsoft.Solver.Foundation, Version=3.0.2.10889, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    I think its because it is installed into the GAC, but I can do that on the clients machine, are there any work around?

    Maybe I could use the dll only?

All Replies

  • Thursday, February 28, 2013 3:06 PM
     
     
    I have an application that I developed using MSF and it is distributed to a number of internal clients. I include the DLL for MSF with the application. In my Visual Studio project, the reference is pointing to the DLL which I have in my project folder, and the reference has "Copy Local" set to true. I don't recall the steps I took to get it setup that way, unfortunately. I hope this information helps you out.
  • Friday, March 01, 2013 7:18 AM
     
     

    Nice to now, that you have got it to work. My MSF DLL is in the bin folder and are also set to copy local.

    I haven't got it to work yet, but if you find a work around, I will like to now

    THANKS for the reply :)