v-wywang
Tue Mar 18 06:59:09 CDT 2008
Hello Bob,
>Is there a way to have a Macro that fires for environment events only for
a particular solution?
You can add check if current soluion is your particular solution in related
event.
For example:
Private Sub DocumentEvents_DocumentSaved(ByVal Document As EnvDTE.Document)
Handles DocumentEvents.DocumentSaved
Dim currentSolution As Solution
currentSolution = Document.DTE.Solution
If currentSolution.FullName =
"C:\Users\v-wywang\Documents....\WebApplication34.sln" Then
System.Windows.Forms.MessageBox.Show("Save File Name:" &
Document.Name)
End If
>This means that the macro needs to have a reference to assemblies in this
one solution, which is really
>tacky. Any thoughts or suggestions?
In Marco IDE, I'm afraid to say we cannot add reference to assemblies in
solution. You may consider using system.Reflection namespace to load dll,
and get some information from assemble.
>We have the VS 2005 team suite server stuff, but we've never turned on the
server or investigated what it can do for us.
I'm afraid to say you may have to do that by yourself. As far as I know,
TFS doesn't help on distribute macro to each one of your team.
Hope this helps. Please feel free to let me know if there is anything
unclear. We are glad to assist you.
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.