Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - runtime compilation and referencing WinFX assemblies

 
 
Old 01-10-2006   #1 (permalink)
Mike


 
 

runtime compilation and referencing WinFX assemblies

I am doing some runtime compilation. The code being compiled needs access to
the PresentationFramework.dll assembly which is in the Global Assembly Cache.
However, the CompilerParameters.ReferencedAssemblies only works w/ the full
path to the PresentationFramework dll on my machine. Is there a way to
determine the path to the most recent PresentationFramework assembly on my
machine in the GAC at runtime?

My System SpecsSystem Spec
Old 01-10-2006   #2 (permalink)
Ashish Shetty [MSFT]


 
 

Re: runtime compilation and referencing WinFX assemblies

KB 317540 (http://support.microsoft.com/default...b;en-us;317540)
documents some GAC APIs. Perhaps they may be of help.

Regards,

Ashish Shetty [MSFT]
Program Manager, Windows Presentation Foundation (Avalon)
Blog: http://nerddawg.blogspot.com
---
This posting is provided "AS IS" with no warranties, and confers no rights.


"Mike" <Mike@discussions.microsoft.com> wrote in message
news:85B9956C-FDC6-4846-A4FA-A7CF3F70ABDC@microsoft.com...
>I am doing some runtime compilation. The code being compiled needs access
>to
> the PresentationFramework.dll assembly which is in the Global Assembly
> Cache.
> However, the CompilerParameters.ReferencedAssemblies only works w/ the
> full
> path to the PresentationFramework dll on my machine. Is there a way to
> determine the path to the most recent PresentationFramework assembly on my
> machine in the GAC at runtime?



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Myst Compilation Set Vista Games
Compilation Error .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46