I've got a problem with *Go *on Windows 7 (x64) and was wondering if anyone
can help me?
After building with *go build ...* I get the correct output file. (*.exe)
The new executable can be run, but can't be deleted or build again.
(Because it can't be removed.)
I first noticed the problem in *LiteIDE*, when I couldn't build after the
first initial build, but thought: *``Maybe some incorrect settings.''*.
But I tested it by building manually:
- The file can't be removed in explorer.
- The file can't be edited.
- The file *CAN *be run.
- Rebuilding gives: *Access is denied*.
- Right mouse shows the admin required icon for rename/delete, but even
with elevated privileges it doesn't work. (Just shows a try-again dialog)
Now the strange thing it 'reverts' back to a 'normal' file after a short
while. It is as if something is still using the file for a short(2-3m)
while after a build.
I've tried building executables with *Visual Studio 2008&2010* and they
don't have the same problem. (Same with *Java*)
I found one other mention of the problem on stackoverflow<http://stackoverflow.com/questions/14511495/go-language-access-is-denied-on-trying-to-go-install>,
sadly no solution. Does anyone have any idea what it might be? Or what
might cause these problems?
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.