AggrorJorn Posted March 16, 2013 Share Posted March 16, 2013 Why I run my program in Visual studio, the programm doesn't work properly. It constantly says that it can not find a file at a specific location, but it is definetly there. Weird thing is, as soon as I run the compiled program directly from the explorer it does work. The file is found and being used. Any thoughts on what might be going on here? Quote Link to comment Share on other sites More sharing options...
Furbolg Posted March 16, 2013 Share Posted March 16, 2013 Visual Studio set another current dir, you have to copy your files into project folder or change the configuration but i dont remember which entry it was. // edited: sorry im tired its project folder Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 16, 2013 Author Share Posted March 16, 2013 The path of the file that Visual studio uses when I am compiling is correct. Quote Link to comment Share on other sites More sharing options...
Furbolg Posted March 16, 2013 Share Posted March 16, 2013 I've attached a screenshot how my dll configuration looks, is your similiar ? If yes then you have to change the line "$(ProjectDir)" to "$(ProjectDir)\$(Configuration)" ... i think. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 17, 2013 Author Share Posted March 17, 2013 When I restarted my computer this morning, everything worked fine! I haven't changed anything in the properties. :S Thanks for the suggestion Furbolg. Quote Link to comment Share on other sites More sharing options...
Furbolg Posted March 17, 2013 Share Posted March 17, 2013 Have you tried "Clean Solution" or "Rebuild Solution" yesterday ? Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 17, 2013 Author Share Posted March 17, 2013 Yeah a few times. Quote Link to comment Share on other sites More sharing options...
Furbolg Posted March 17, 2013 Share Posted March 17, 2013 Then you encountered one of the glorious VS bugs These bugs are annoying but its okay in the new versions, if you are crazy try visual studio 6 ( we are actually 11 i think)... it crashes everytime everywhere Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted March 17, 2013 Author Share Posted March 17, 2013 I still hope we get official visual strudio 2012 support. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.