Follow-up to previous commit

main
Inga 🏳‍🌈 15 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> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Core"> <Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework> <RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference> </Reference>
@ -58,10 +59,6 @@
</Reference> </Reference>
<Reference Include="System.Data" /> <Reference Include="System.Data" />
<Reference Include="System.Xml" /> <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>
<ItemGroup> <ItemGroup>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
@ -99,6 +96,9 @@
<Install>true</Install> <Install>true</Install>
</BootstrapperPackage> </BootstrapperPackage>
</ItemGroup> </ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- 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. 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,15 +6,17 @@ using System.IO;
//using Microsoft.Tools.WindowsInstallerXml; //using Microsoft.Tools.WindowsInstallerXml;
//using System.Xml; //using System.Xml;
using System.Diagnostics; using System.Diagnostics;
using System.Configuration;
namespace Builder { namespace Builder {
class Program { class Program {
static void Main(string[] args) { static void Main(string[] args) {
const string WIXPATH = "C:\\Program Files (x86)\\Windows Installer XML v3\\bin\\";
try { try {
string WIXPATH = ConfigurationManager.AppSettings["WiXPath"];
string SVNPATH = ConfigurationManager.AppSettings["SVNPath"];
if(args.Length != 1) throw new ApplicationException("You should specify project name first"); if(args.Length != 1) throw new ApplicationException("You should specify project name first");
string path = args[0]; string path = args[0];

Loading…
Cancel
Save