Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

The case of the bizarre vanishing file?

0 views
Skip to first unread message

David Webber

unread,
Dec 21, 2009, 3:53:09 PM12/21/09
to
1. Yesterday I attempted to compile my source code and was told that the
file

sourceannotations.h

included in sal.h was not present.

Sure enough

C:\Program files (x86)\Microsoft Visual Studio 9.0\VC\include\sal.h

does include the file

C:\Program files (x86)\Microsoft Visual Studio
9.0\VC\include\CodeAnalysis\sourceannotations.h

and sure enough, it wasn't there.

2. So I copied it in there from the old Visual Studio installation (on the
machine I'm transferring my projects from) and all was well.

3. Except that over the course of today it has vanished twice more.
(I am currently working on a complicated new DLL with compilation failing
more often than not as I get things straightened out.)

There's something deeply suspicious going on here - can anyone enlighten me?

Dave
--
David Webber
Mozart Music Software
http://www.mozart.co.uk
For discussion and support see
http://www.mozart.co.uk/mozartists/mailinglist.htm

David Webber

unread,
Dec 22, 2009, 3:36:42 AM12/22/09
to
It seems to be happening when I close visual studio and re-open it, if that
is anything to go on.

David Lowndes

unread,
Dec 22, 2009, 4:25:35 AM12/22/09
to
>It seems to be happening when I close visual studio and re-open it, if that
>is anything to go on.

Weird.

Any sign of the installer running when you restart VS?

What happens if you place that file in a different (include) location
- one different from where it ought to be installed by default?

Dave

Tom Walker

unread,
Dec 22, 2009, 11:10:02 AM12/22/09
to
"David Webber" <da...@musical-dot-demon-dot-co.uk> wrote in message
news:uEtfgAog...@TK2MSFTNGP06.phx.gbl...

> 3. Except that over the course of today it has vanished twice more.
> (I am currently working on a complicated new DLL with compilation failing
> more often than not as I get things straightened out.)

Just a guess. When you copy the file into the Program Files subdirectory,
are you doing the copy from an elevated (administrator) command prompt? If
not, then the file is probably really getting copied into a subdirectory of
C:\Users\David\AppData\Local\VirtualStore. Are you running Visual Studio
elevated? If so then it might not see the files in the VirtualStore
subdirectories.

David Webber

unread,
Dec 22, 2009, 11:07:54 AM12/22/09
to

"David Lowndes" <Dav...@example.invalid> wrote in message
news:a241j51ai4gsanbke...@4ax.com...

Well it has just happened to one of my own header files too - so maybe that
answers the question.

I have a feeling it is something to do with it being a new 64bit win7
machine, but I can't put my finger on anything.

David Lowndes

unread,
Dec 22, 2009, 6:54:54 PM12/22/09
to
>I have a feeling it is something to do with it being a new 64bit win7
>machine, but I can't put my finger on anything.

Anything else about the machine behaving oddly? Ran a chkdsk?

Dave

David Webber

unread,
Dec 24, 2009, 12:35:12 PM12/24/09
to

"David Lowndes" <Dav...@example.invalid> wrote in message

news:n0n2j59idr6a5sv5b...@4ax.com...

>>I have a feeling it is something to do with it being a new 64bit win7
>>machine, but I can't put my finger on anything.
>
> Anything else about the machine behaving oddly? Ran a chkdsk?

No and no - but it seems miraculously to have started behaving itself for
the last couple of days.

Weird!

I'll come back to this if it happens again. Meanwhile I need to install
some printers and am sort of hoping that 64bit drivers are available for all
the ones I need.

Thanks for the ideas.

David Webber

unread,
Dec 24, 2009, 12:40:04 PM12/24/09
to

"Tom Walker" <nob...@example.com> wrote in message
news:#GXS4Eyg...@TK2MSFTNGP06.phx.gbl...

Interesting thought, but there's nothing like this in the virtual store.
I *think* I am doing all the appropriate operations in elevated mode. (I am
copying from Windows explorer and giving explicit permission when asked.)

0 new messages