Skip to content

Commit b8c59e5

Browse files
committed
[CF] renamed to Downsize
1 parent bd1c23e commit b8c59e5

16 files changed

+27
-38
lines changed

ImageScaler.sln Downsize.sln

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 2013
44
VisualStudioVersion = 12.0.40629.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageScaler", "ImageScaler\ImageScaler.csproj", "{3AC668DE-B358-4B20-84C8-0B60361CC096}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Downsize", "src\Downsize\Downsize.csproj", "{3AC668DE-B358-4B20-84C8-0B60361CC096}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -13,6 +13,7 @@ Global
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1414
{3AC668DE-B358-4B20-84C8-0B60361CC096}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1515
{3AC668DE-B358-4B20-84C8-0B60361CC096}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{3AC668DE-B358-4B20-84C8-0B60361CC096}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
1617
{3AC668DE-B358-4B20-84C8-0B60361CC096}.Release|Any CPU.ActiveCfg = Release|Any CPU
1718
{3AC668DE-B358-4B20-84C8-0B60361CC096}.Release|Any CPU.Build.0 = Release|Any CPU
1819
EndGlobalSection

packages/repositories.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<repositories>
3-
<repository path="..\ImageScaler\packages.config" />
3+
<repository path="..\src\Downsize\packages.config" />
44
</repositories>

readme.md

Whitespace-only changes.
File renamed without changes.

ImageScaler/DirectoryHelper.cs src/Downsize/DirectoryHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.IO;
44
using System.Linq;
55

6-
namespace ImageScaler
6+
namespace Downsize
77
{
88
public class DirectoryHelper
99
{

ImageScaler/ImageScaler.csproj src/Downsize/Downsize.csproj

+14-27
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<ProjectGuid>{3AC668DE-B358-4B20-84C8-0B60361CC096}</ProjectGuid>
88
<OutputType>Exe</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>ImageScaler</RootNamespace>
11-
<AssemblyName>ImageScaler</AssemblyName>
10+
<RootNamespace>Downsize</RootNamespace>
11+
<AssemblyName>Downsize</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14-
<NuGetPackageImportStamp>af210e33</NuGetPackageImportStamp>
14+
<NuGetPackageImportStamp>62627cda</NuGetPackageImportStamp>
1515
</PropertyGroup>
1616
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1717
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -32,21 +32,6 @@
3232
<ErrorReport>prompt</ErrorReport>
3333
<WarningLevel>4</WarningLevel>
3434
</PropertyGroup>
35-
<ItemGroup>
36-
<Reference Include="NDesk.Options, Version=0.2.1.0, Culture=neutral, processorArchitecture=MSIL">
37-
<HintPath>..\packages\NDesk.Options.0.2.1\lib\NDesk.Options.dll</HintPath>
38-
<Private>True</Private>
39-
</Reference>
40-
<Reference Include="System" />
41-
<Reference Include="System.Configuration" />
42-
<Reference Include="System.Core" />
43-
<Reference Include="System.Drawing" />
44-
<Reference Include="System.Xml.Linq" />
45-
<Reference Include="System.Data.DataSetExtensions" />
46-
<Reference Include="Microsoft.CSharp" />
47-
<Reference Include="System.Data" />
48-
<Reference Include="System.Xml" />
49-
</ItemGroup>
5035
<ItemGroup>
5136
<Compile Include="DirectoryHelper.cs" />
5237
<Compile Include="ImageConfigSection.cs" />
@@ -65,19 +50,21 @@
6550
<ItemGroup>
6651
<Content Include="FodyWeavers.xml" />
6752
</ItemGroup>
53+
<ItemGroup>
54+
<Reference Include="NDesk.Options, Version=0.2.1.0, Culture=neutral, processorArchitecture=MSIL">
55+
<HintPath>..\..\packages\NDesk.Options.0.2.1\lib\NDesk.Options.dll</HintPath>
56+
<Private>True</Private>
57+
</Reference>
58+
<Reference Include="System" />
59+
<Reference Include="System.Configuration" />
60+
<Reference Include="System.Drawing" />
61+
</ItemGroup>
6862
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
69-
<Import Project="..\packages\Fody.1.28.3\build\Fody.targets" Condition="Exists('..\packages\Fody.1.28.3\build\Fody.targets')" />
63+
<Import Project="..\..\packages\Fody.1.28.3\build\Fody.targets" Condition="Exists('..\..\packages\Fody.1.28.3\build\Fody.targets')" />
7064
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
7165
<PropertyGroup>
7266
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
7367
</PropertyGroup>
74-
<Error Condition="!Exists('..\packages\Fody.1.28.3\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.28.3\build\Fody.targets'))" />
75-
</Target>
76-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
77-
Other similar extension points exist, see Microsoft.Common.targets.
78-
<Target Name="BeforeBuild">
79-
</Target>
80-
<Target Name="AfterBuild">
68+
<Error Condition="!Exists('..\..\packages\Fody.1.28.3\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Fody.1.28.3\build\Fody.targets'))" />
8169
</Target>
82-
-->
8370
</Project>
File renamed without changes.

ImageScaler/ImageConfigSection.cs src/Downsize/ImageConfigSection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using System.Configuration;
33

4-
namespace ImageScaler
4+
namespace Downsize
55
{
66
public class ImageConfigSection : ConfigurationSection
77
{

ImageScaler/ImageExtensions.cs src/Downsize/ImageExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Drawing;
22
using System.Drawing.Imaging;
33

4-
namespace ImageScaler
4+
namespace Downsize
55
{
66
public static class ImageExtensions
77
{

ImageScaler/ImageHelper.cs src/Downsize/ImageHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Drawing.Imaging;
44
using System.Linq;
55

6-
namespace ImageScaler
6+
namespace Downsize
77
{
88
public static class ImageHelper
99
{

ImageScaler/ImageProcessor.cs src/Downsize/ImageProcessor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Drawing.Imaging;
44
using System.IO;
55

6-
namespace ImageScaler
6+
namespace Downsize
77
{
88
public class ImageProcessor
99
{

ImageScaler/ImageScalerService.cs src/Downsize/ImageScalerService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Drawing;
33
using System.Drawing.Drawing2D;
44

5-
namespace ImageScaler
5+
namespace Downsize
66
{
77
public class ImageScalerService
88
{

ImageScaler/LoggingService.cs src/Downsize/LoggingService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using System.IO;
33

4-
namespace ImageScaler
4+
namespace Downsize
55
{
66
public static class LoggingService
77
{

ImageScaler/Program.cs src/Downsize/Program.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66
using System.Reflection;
77
using NDesk.Options;
88

9-
namespace ImageScaler
9+
namespace Downsize
1010
{
1111
internal class Program
1212
{
13+
private static string _appName;
1314
public static string AppName
1415
{
15-
get { return Assembly.GetExecutingAssembly().GetName().Name; }
16+
get { return _appName ?? (_appName = Assembly.GetExecutingAssembly().GetName().Name); }
1617
}
1718

1819
private static void Main(string[] args)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)