Problem with VS Installer

Nov 22, 2012 at 10:00 PM

Hi together,

I want to build a Setup projekt (vdproj) in VS 2010, but the XMLTransform doesn't work properly, the .config file is empty:

App.config:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="Test" value=""/>
    <add key="Test1" value=""/>
  </appSettings>
</configuration>

App.Release.config:

<?xml version="1.0"?>
<!-- For more information on using app.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <appSettings>
    <add key="Test" value="Yes" xdt:Transform="Replace" xdt:Locator="Match(key)" />
    <add key="Test1" value="No" xdt:Transform="Replace" xdt:Locator="Match(key)" />
  </appSettings>
</configuration>

Test.exe.config:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="Test" value=""/>
    <add key="Test1" value=""/>
  </appSettings>
</configuration>

I see the Test.exe.config in the bin\Release is ok, but after installation of TestSetup.msi I find only a "empty" Test.exe.config. What is the problem?

Could anybody help me?

Thanx in advance,

pbo