Game Development Community

Error

by Quest Johnny · in Torsion · 03/29/2007 (3:37 pm) · 4 replies

I just copied the Torque/Example dir to begin fresh with, created a project with Torsion, and when I tried to run it, it said:

"The entry script cannot be updated to inject the debug hook because it was locked, read-only or didn't exist. Either disable OneClick debugging in this configuration or correct the problem with your entry script file."

www.eyesinthedark.org/torsion1.gif
My entry script file is: main.cs. It is not read-only or locked. What do I do?

#1
03/29/2007 (7:51 pm)
Double check your project and config settings... maybe a weird path got in there?
#2
03/29/2007 (8:00 pm)
First thing I checked

I copied it to e:\gdev\xtrek and the project settings are:

Base Directory = e:\gdev\xtrek
Entry Script = main.cs
configurations(basic):
Executable game\torquedemo.exe
Enable precompile
Enable one-click debug
#3
03/29/2007 (8:04 pm)
I think your issue is that your main.cs isn't in the base directory. If you change your base directory to e:\gdev\xtrek\game and the executable to just torquedemo.exe... i think it should work for you.
#4
03/29/2007 (8:36 pm)
Aha!!!