how Xojo move the files to de Bebug location so it can find it and i can test the app
Use the post build step to copy.
i am lost
show error can found WebRep_GasDB.vsp
#if TargetMacOS then
#if DebugBuild then
Session.projectPath = GetFolderItem("/Users/alexiscolonlugo/Documents/WebRep_GasDB.vsp")
Debug01=Session.projectPath
#Else
Session.projectPath = GetFolderItem(“WebRep_GasDB.vsp” )
#endif
#endif
what is i have no idea
Use the post build step to copy.
In the navigator highlight OSX then click the insert button and select “Copy Files” under build step. You’ll then be able to drag your external files into the layout editor to have the IDE copy them to the debug and build folder when compiling.
Thanks Wayne
Hi Wayne
Is no Working
Unhandled VException
Message: File “/Users/alexiscolonlugo/Documents/HomeDev/GasRbWeb_colon/WebRep_GasDB.vsp” does not exist.
#if TargetMacOS then
#if DebugBuild then
Session.projectPath = GetFolderItem("/Users/alexiscolonlugo/Documents/HomeDev/GasRbWeb_colon/WebRep_GasDB.vsp")
Debug01=Session.projectPath
#Else
Session.projectPath = GetFolderItem(“WebRep_GasDB.vsp” )
#endif
#endif
If you’ve added WebRep_GasDB.vsp to your post build copy step you won’t need to check for debugbuild. Make sure your copyfiles step is after build.
How I check this copyfiles step is after build
If any setting on IDE ?
Your build settings should look like this
Then you can add files by clicking the + button or dragging files to the layout editor.
Just use
Session.projectPath = GetFolderItem("WebRep_GasDB.vsp" )
It should work in debug mode and when built.
no works (Hi Wayne what version of Xojo you Using)
File “WebRep_GasDB.vsp” does not exist.
Now It Works i change the name of the Folder make a new one and copy all files.
thanks
Great!