Search code examples
c#linqsqlitevisual-studio-2012devart

Project does not run on other system without visual studio


I have created a project which is using devart Linq SQL and .Net 4.5. The steps I followed are,

  • Built the project.
  • Copied the Debug/Release folder to another system.
  • Installed devart + dotnet4.5 in this system.
  • Tried to run the .exe.

But nothing happens, no error no appearance of any thing. If I have VS installed in that other system then this runs smoothly. I'm not able to identify the problem.


Solution

  • Found the problem after a long time of research. I was using DB in the constructor of first form and My database file path in 'App.config' and Devart Linq's '**.lqml' was not absolute path and hard coded, this was the cause of the 'Application not working properly' in other systems. Just made it absolute and it is working fine now. Thanks All :)