%windir%

Topics: User Forum
Dec 20, 2006 at 6:32 PM
I am trying to build documentation from two different machines. One has %windir% = c:\windows, the other %windir% = c:\winnt. Is there a way to specify the assembly dependency for the .Net framework folder as
%windir%\Microsoft.NET\Framework\v2.0.50727\.
so the same .shfb project file will run on both machines? Right now I get the following error:

BUILD FAILED: Could not find a part of the path 'D:\V5\DR\%windir%\Microsoft.NET\Framework\v2.0.50727'

It seems SHFB is trying to insert the dependency path onto the end of the current path if the dependency path is not absolute.

Thank you in advance, Brian

PS: version used = 1.3.2.0
Coordinator
Dec 20, 2006 at 8:54 PM
Add .NET Framework assemblies as GAC references, not paths to the framework folder versions.

Eric
Dec 20, 2006 at 10:21 PM
Thanks Eric. I was entertaining that thought and you confirmed it for me. All fixed up now. Thanks again.