I am getting an error when building an app in TFS 2010. Unresolved reference to symbol 'Property:NETFRAMEWORK45' in section 'Product:*'. This is for Wix 3.9
The Wix package has NetFxExtension referenced. I can build the wix on my local machine fine, but when I go to build it through TFS I get the error. Can anyone help me figure this out? I have the below code that is causing the error.
<PropertyRef Id="NETFRAMEWORK45"/>
<Condition Message="This application requires .NET Framework 4.5. Please install the .NET Framework 4.5 then run this installer again.">
<![CDATA[Installed OR NETFRAMEWORK45]]>
</Condition>
You have to include the
WixNetFxExtension
in your project, in up to 3 placesin the Wix element of your wxs file, add the namespace
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
Add a reference to
WixNetFxExtension.dll
in your projectlight.exe
, you also need to add-ext WixNetFxExtension
to your command line