Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Wix Localization with SharpDevelop 4.4

$
0
0

Note: this is a problem encountered while using SharpDevelop along with WiX toolkit.

I've prepared a en-us.wxl file like following,

<!--?xml version="1.0" encoding="utf-8"?--><wixlocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" codepage="1252" culture="en-us"><string id="ProductName">Awesome Software</string><string id="Comments">All rights reserved</string><string id="InstallButtonText">Install</string></wixlocalization>

Then I referenced a variable in the setup.wxs as,

<product manufacturer="My Company" upgradecode="SOME-GUID" version="1.0.0.0" language="1033" name="!(loc.ProductName)" id="*"></product>

I've modified the project property tab as well, to add culture 'en-us', there is no other option to link en-us to en-us.wxl though. Then I start to build the solution, I've got the following,

The localization variable !(loc.ProductName) is unknown. Please ensure the variable is defined. (LGHT0102) 

While I am trying the same thing under Visual Studio 2012, there is no such thing happening, it seems it is automatically linked. Please show me how can SharpDeveloper do it?


Viewing all articles
Browse latest Browse all 1764

Trending Articles