Thanks for the instructions. The steps to load get the macro running worked
to a certain extent.
Each time I loaded the Macro IDE, I was getting a messagebox stating that
the samples.vsmacros file was invalid or inaccessible. I looked in the path
the message referenced and the folder was there, but no .vsmacros file.
This same message was coming up each time I launched VS --- so I googled
around a bit and found instructions on how to remove the samples macro
project here: http://www.dotnet247.com/247reference/msgs/37/186297.aspx
That solved the problem and now my pending checkins open as they should.
A couple of things to note here:
1: Am I "missing out" on anything without that samples.vsmacros? How do I
re-install it?
2: Is it possible that missing file is part of the problem in getting the
pending checkins tab to populate?
3: When testing the issue on your end, are you using a large solution? I'm
using VS2005, SP1 - Source safe edition is 2005. My solution contains 8
projects - 4 class projects, 1 windows project, 1 database project, 2 setup
projects. I also have 2 solution folders. When the pending checkins tab
loads, it states it's processing approximately 600 files and counts down
rapidly until all is loaded (takes about 4 seconds or so)
Thanks.
Hello Matt
Thanks for your reply.
>1: Am I "missing out" on anything without that samples.vsmacros? How do I
re-install it?
.vsmacros is a macro project. By default, VS 2005 load the sample macro
from "<User>\Documents\Visual Studio
2005\Projects\VSMacros80\Samples\Samples.vsmacros". If there is no
samples.vsmacros file, the error message will be thrown.
To re-install it, you can copy the original version of sample.vsmacros file
from "C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\samples.vsmacros" to your local profile folder
"<User>\Documents\Visual Studio
2005\Projects\VSMacros80\Samples\Samples.vsmacros", and then load the
project again by [Tools|Macros|Load Macro Project] in VS 2005 IDE.
a) copy "C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\samples.vsmacros" to your local profile
"<User>\Documents\Visual Studio
2005\Projects\VSMacros80\Samples\Samples.vsmacros""
b) Start VS 2005 IDE
c) Click Tools|Macros|Load Macro Project
d) Choose "<User>\Documents\Visual Studio
2005\Projects\VSMacros80\Samples\Samples.vsmacros"
e) Samples Macro project will be load into VS 2005 Macro IDE.
>2: Is it possible that missing file is part of the problem in getting the
pending checkins tab to populate?
I think it is not related to the sample macro project. I unload sample
macro project, and then try to repro the issue. The "pending checkins"
window works fine.
>3: When testing the issue on your end, are you using a large solution? I'm
using VS2005, SP1 - Source safe edition is 2005. My solution contains 8
projects - 4 class projects, 1 windows project, 1 database project, 2 setup
projects. I also have 2 solution folders. When the pending checkins tab
loads, it states it's processing approximately 600 files and counts down
rapidly until all is loaded (takes about 4 seconds or so)
I created a new solution (which includes 4 class projects (about 500
classes), 1 windows project, 1 database project, 2 setup projects, 2
solution folders), added the whole solution to source control (VSS 2005) by
VS IDE. But, I still cannot repro the issue. "Pending checkins" window
works fine on my side.
If you have concern on this issue very much, we suggest you may contact
Microsoft CSS directly. The CSS engineer will connect to your machine and
perform on-site debug. However, according to Newsgroup policy, we cannot
provide such service.
If the problem is confirmed to be a product bug, the case charge will be
free.
You can check http://support.microsoft.com for regional support phone
numbers.
Hope this helps. Please let me know if there is anything we can help with,
I'm glad to assist you.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Matt F - 16 Aug 2007 05:05 GMT
With the macro that you've helped me with, it provided the functionality
that I need, so there isn't any beneifit to me pursuing further. Only
reason I offered additional info was in case it was of use to you.
Thanks for your help - it's performing as I need it to.
WenYuan Wang [MSFT] - 16 Aug 2007 10:56 GMT
Thanks for your reply, Matt.
This is great news that the macros helps on your case.
Please let me know if you meet any other issue in VS IDE next time.
It's my pleasure to assist you.
Have a nice day.
Best regards,
Wen Yuan
Microsoft Online Community Support
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.