This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<ItemGroup Label="Common"> | |
<ReferencePath-FW Include="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\*.dll" /> | |
</ItemGroup> | |
<PropertyGroup> | |
<ProjectDir>X:\Projects\Costura-Sample\</ProjectDir> | |
<FodySolutionDir>X:\Projects\Costura-Sample\</FodySolutionDir> | |
</PropertyGroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string ReadAsmCopyRightInfo(Assembly asm) | |
{ | |
var asmInfo = String.Empty; | |
var attr = asm.GetCustomAttributes(false).OfType<AssemblyCopyrightAttribute>().FirstOrDefault(); | |
if (null != attr) | |
asmInfo = attr.Copyright; | |
return asmInfo; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The main entry point for the process | |
static void Main() | |
{ | |
#if (!DEBUG) | |
System.ServiceProcess.ServiceBase[] ServicesToRun; | |
ServicesToRun = new System.ServiceProcess.ServiceBase[] { new Service1() }; | |
System.ServiceProcess.ServiceBase.Run(ServicesToRun); | |
#else | |
// Debug code: this allows the process to run as a non-service. | |
// It will kick off the service start point, but never kill it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<project name="check installer" default="check-installed-files" basedir="." xmlns="http://nant.sf.net/release/0.85-rc3/nant.xsd"> | |
<description> | |
</description> | |
<property name="buildarea.dir" value="C:\path\to\buildarea" /> | |
<property name="msitarget.dir" value="_installer" /> | |
<property name="msi.file" value="ProductName.msi" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -qr --ignore-file-name-case <sourcefolder> <targetfolder> |