IDE Anomaly: Project Modifed Date incorrect.

J

Jeff S

Not a showstopper (but annoying nevertheless):

On the Start page of VS.NET 2003, the list of projects from which I can
choose shows the Modified date of each project listed. The date actually
displayed on my list is the date the project was created (not modified). I
can open and close the project, save changes, etc, and the date listed does
not change.

On another computer with VS.NET 2003, the ModifiedDate gets updated to the
current date if I even open and immediately close a project.

I've Repaired the installation of VS.NET 2003 on the machine that doesn't
show the true Modified Date (Control Panel | Add/Remove Programs... Repair
Installation).

Any suggestions?

The box is running XP Pro/SP1. There is no other version of VS.NET on the
box (never has been).

Thanks

Jeff
 
H

Herfried K. Wagner [MVP]

Hello,

Jeff S said:
Not a showstopper (but annoying nevertheless):

On the Start page of VS.NET 2003, the list of projects
from which I can choose shows the Modified date of
each project listed. The date actually displayed on my
list is the date the project was created (not modified). I
can open and close the project, save changes, etc, and
the date listed does not change.

That's a "known" problem. I feel sorry, I am not able to provide a
solution.

Regards,
Herfried K. Wagner
 
B

BJS

Jeff S said:
Not a showstopper (but annoying nevertheless):

On the Start page of VS.NET 2003, the list of projects from which I can
choose shows the Modified date of each project listed. The date actually
displayed on my list is the date the project was created (not modified). I
can open and close the project, save changes, etc, and the date listed does
not change.

On another computer with VS.NET 2003, the ModifiedDate gets updated to the
current date if I even open and immediately close a project.

I've Repaired the installation of VS.NET 2003 on the machine that doesn't
show the true Modified Date (Control Panel | Add/Remove Programs... Repair
Installation).

Any suggestions?

The box is running XP Pro/SP1. There is no other version of VS.NET on the
box (never has been).

Thanks

Jeff

Thanks to the hints in this post:

http://groups.google.com/groups?hl=...-8&[email protected]

I created a VS.NET add-in solution that resolves this problem.

I'd be happy to send the solution files to anyone who wants it.

In essence, I just created a VS.NET add-in project as described in:

http://msdn.microsoft.com/library/d...ry/en-us/vsintro7/html/vxconCreatingAddIn.asp

And then I added a few lines of code:

In the Connect Class, I instantiate the following:

Dim WithEvents bldEvents As BuildEvents

And then I add the following Sub to the Connect Class:

Private Sub bldEvents_OnBuildDone(ByVal Scope As EnvDTE.vsBuildScope,
ByVal Action As EnvDTE.vsBuildAction) Handles bldEvents.OnBuildDone

applicationObject.Solution.SaveAs(applicationObject.Solution.FullName)

End Sub

Seems to work pretty well.

Thanks,
Brian Saville
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top