How to check for .net framework 4.7.1 with Wix 3.11

后端 未结 1 2111
猫巷女王i
猫巷女王i 2021-02-15 14:09

I am trying to check for .net Version with Wix 3.11 via Condition. This works fine until 4.5 like this:


  

        
1条回答
  •  遥遥无期
    2021-02-15 14:35

    That method (PropertyRef) is syntactical sugar. The NetFxExtension preprocessor injects the implementation at compile time. WiX is currently lagging behind. The implementation you are looking for would be something like:

    
    =#461308]]>
    
    

    https://github.com/wixtoolset/issues/issues/5575

    Update (hot33331): Added a # before the number 461308. Without that it did not work for me.

    0 讨论(0)
提交回复
热议问题