Follow-up to previous commit

main
Inga 🏳‍🌈 14 years ago
parent dca08280b1
commit 57c36e7bcc
  1. 8
      Builder/Builder.csproj
  2. 7
      Builder/Builder.exe.config
  3. 6
      Builder/Program.cs

@ -47,6 +47,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
@ -58,10 +59,6 @@
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="wix, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\Windows Installer XML v3.5\bin\wix.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
@ -99,6 +96,9 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="WiXPath" value="C:\Program Files (x86)\Windows Installer XML v3\bin\"/>
<add key="SVNPath" value="C:\Program Files\SlikSvn\bin\"/>
</appSettings>
</configuration>

@ -6,14 +6,16 @@ using System.IO;
//using Microsoft.Tools.WindowsInstallerXml;
//using System.Xml;
using System.Diagnostics;
using System.Configuration;
namespace Builder {
class Program {
static void Main(string[] args) {
const string WIXPATH = "C:\\Program Files (x86)\\Windows Installer XML v3\\bin\\";
try {
string WIXPATH = ConfigurationManager.AppSettings["WiXPath"];
string SVNPATH = ConfigurationManager.AppSettings["SVNPath"];
if(args.Length != 1) throw new ApplicationException("You should specify project name first");

Loading…
Cancel
Save