diff --git a/WebConfigTransformRunner/.nuget/NuGet.Config b/WebConfigTransformRunner/.nuget/NuGet.Config new file mode 100644 index 0000000..67f8ea0 --- /dev/null +++ b/WebConfigTransformRunner/.nuget/NuGet.Config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/WebConfigTransformRunner/.nuget/NuGet.exe b/WebConfigTransformRunner/.nuget/NuGet.exe new file mode 100644 index 0000000..c41a0d0 Binary files /dev/null and b/WebConfigTransformRunner/.nuget/NuGet.exe differ diff --git a/WebConfigTransformRunner/.nuget/NuGet.targets b/WebConfigTransformRunner/.nuget/NuGet.targets new file mode 100644 index 0000000..3f8c37b --- /dev/null +++ b/WebConfigTransformRunner/.nuget/NuGet.targets @@ -0,0 +1,144 @@ + + + + $(MSBuildProjectDirectory)\..\ + + + false + + + false + + + true + + + false + + + + + + + + + + + $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) + + + + + $(SolutionDir).nuget + + + + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config + $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config + + + + $(MSBuildProjectDirectory)\packages.config + $(PackagesProjectConfig) + + + + + $(NuGetToolsPath)\NuGet.exe + @(PackageSource) + + "$(NuGetExePath)" + mono --runtime=v4.0.30319 "$(NuGetExePath)" + + $(TargetDir.Trim('\\')) + + -RequireConsent + -NonInteractive + + "$(SolutionDir) " + "$(SolutionDir)" + + + $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) + $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols + + + + RestorePackages; + $(BuildDependsOn); + + + + + $(BuildDependsOn); + BuildPackage; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WebConfigTransformRunner/.nuget/OctoPack.Tasks.dll b/WebConfigTransformRunner/.nuget/OctoPack.Tasks.dll new file mode 100644 index 0000000..4e87815 Binary files /dev/null and b/WebConfigTransformRunner/.nuget/OctoPack.Tasks.dll differ diff --git a/WebConfigTransformRunner/.nuget/OctoPack.targets b/WebConfigTransformRunner/.nuget/OctoPack.targets new file mode 100644 index 0000000..1ec6b88 --- /dev/null +++ b/WebConfigTransformRunner/.nuget/OctoPack.targets @@ -0,0 +1,104 @@ + + + + + + + + $(BuildDependsOn); + OctoPack + + + + + + true + + true + false + + + + + https://deploy.futurestack.nl/nuget/packages + API-BPSTFFYHZVTRMH6GDHZTLXWYQ + + + + false + + true + + + + + + + + + + MAIN + + + $(BranchName.SubString(0,20)) + + + + + %(AssemblyVersions.Version) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WebConfigTransformRunner/.nuget/packages.config b/WebConfigTransformRunner/.nuget/packages.config index 59dd8d3..89fb060 100644 --- a/WebConfigTransformRunner/.nuget/packages.config +++ b/WebConfigTransformRunner/.nuget/packages.config @@ -1,4 +1,5 @@  + \ No newline at end of file diff --git a/WebConfigTransformRunner/Program.cs b/WebConfigTransformRunner/Program.cs index 69b184d..f9c8c52 100644 --- a/WebConfigTransformRunner/Program.cs +++ b/WebConfigTransformRunner/Program.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace WebConfigTransformRunner { @@ -15,7 +12,7 @@ static void Main(string[] args) Console.WriteLine("WebConfigTransformer ConfigFilename TransformFilename ResultFilename"); Environment.Exit(1); } - if (!System.IO.File.Exists(args[0]) && !System.IO.File.Exists(args[1])) + if (!System.IO.File.Exists(args[0]) || !System.IO.File.Exists(args[1])) { Console.WriteLine("The config or transform file do not exist!"); Environment.Exit(2); diff --git a/WebConfigTransformRunner/Properties/AssemblyInfo.cs b/WebConfigTransformRunner/Properties/AssemblyInfo.cs index 476a1d3..b5f7e34 100644 --- a/WebConfigTransformRunner/Properties/AssemblyInfo.cs +++ b/WebConfigTransformRunner/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("1.0.2.1")] +[assembly: AssemblyFileVersion("1.0.2.1")] diff --git a/WebConfigTransformRunner/WebConfigTransformRunner.csproj b/WebConfigTransformRunner/WebConfigTransformRunner.csproj index a21fe69..8fc0b27 100644 --- a/WebConfigTransformRunner/WebConfigTransformRunner.csproj +++ b/WebConfigTransformRunner/WebConfigTransformRunner.csproj @@ -11,6 +11,8 @@ WebConfigTransformRunner v4.0 512 + .\ + true AnyCPU @@ -32,8 +34,9 @@ 4 - - packages\Microsoft.Web.Xdt.1.0.0-alpha\lib\net40\Microsoft.Web.XmlTransform.dll + + False + packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll @@ -55,11 +58,17 @@ - + \ No newline at end of file diff --git a/WebConfigTransformRunner/WebConfigTransformRunner.nuspec b/WebConfigTransformRunner/WebConfigTransformRunner.nuspec index 2206dc4..32dc778 100644 --- a/WebConfigTransformRunner/WebConfigTransformRunner.nuspec +++ b/WebConfigTransformRunner/WebConfigTransformRunner.nuspec @@ -2,7 +2,7 @@ WebConfigTransformRunner - 1.0.0.0 + 1.0.2.1 ASP.Net Web Config Transform Runner Command Line Tool Eric Hexter Eric Hexter @@ -10,11 +10,12 @@ false This is a commandline tool that will run an ASP.Net web.config tranformation Initial Release of the tool - Copyright 2013 + Copyright 2014 - + + \ No newline at end of file diff --git a/WebConfigTransformRunner/WebConfigTransformRunner.sln b/WebConfigTransformRunner/WebConfigTransformRunner.sln index 154bb21..a9210cf 100644 --- a/WebConfigTransformRunner/WebConfigTransformRunner.sln +++ b/WebConfigTransformRunner/WebConfigTransformRunner.sln @@ -1,10 +1,17 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 +# Visual Studio 2013 +VisualStudioVersion = 12.0.30501.0 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebConfigTransformRunner", "WebConfigTransformRunner.csproj", "{E37444E3-727E-4482-82D4-046A820B29B4}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{B2EE56B1-E9FA-44A1-83E3-88ED9A4E6412}" ProjectSection(SolutionItems) = preProject + .nuget\NuGet.Config = .nuget\NuGet.Config + .nuget\NuGet.exe = .nuget\NuGet.exe + .nuget\NuGet.targets = .nuget\NuGet.targets + .nuget\OctoPack.targets = .nuget\OctoPack.targets + .nuget\OctoPack.Tasks.dll = .nuget\OctoPack.Tasks.dll .nuget\packages.config = .nuget\packages.config EndProjectSection EndProject diff --git a/WebConfigTransformRunner/packages.config b/WebConfigTransformRunner/packages.config index e757f6a..700d332 100644 --- a/WebConfigTransformRunner/packages.config +++ b/WebConfigTransformRunner/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file