Skip to content

Commit 2976190

Browse files
committed
Resolve #100 - Move Calculator
1 parent 8937226 commit 2976190

7 files changed

Lines changed: 103 additions & 2 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{E592306B-14CF-4FF1-9E04-38F16F88DD2A}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<RootNamespace>CSF.Calculator</RootNamespace>
11+
<AssemblyName>CSF.Calculator</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
</PropertyGroup>
14+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
15+
<DebugSymbols>true</DebugSymbols>
16+
<DebugType>full</DebugType>
17+
<Optimize>false</Optimize>
18+
<OutputPath>bin\Debug</OutputPath>
19+
<DefineConstants>DEBUG;</DefineConstants>
20+
<ErrorReport>prompt</ErrorReport>
21+
<WarningLevel>4</WarningLevel>
22+
<ConsolePause>false</ConsolePause>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25+
<DebugType>full</DebugType>
26+
<Optimize>true</Optimize>
27+
<OutputPath>bin\Release</OutputPath>
28+
<ErrorReport>prompt</ErrorReport>
29+
<WarningLevel>4</WarningLevel>
30+
<ConsolePause>false</ConsolePause>
31+
</PropertyGroup>
32+
<ItemGroup>
33+
<Reference Include="System" />
34+
</ItemGroup>
35+
<ItemGroup>
36+
<Compile Include="Properties\AssemblyInfo.cs" />
37+
<Compile Include="ICalculator.cs" />
38+
<Compile Include="SimpleCalculator.cs" />
39+
</ItemGroup>
40+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
41+
</Project>
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
//
2+
// AssemblyInfo.cs
3+
//
4+
// Author:
5+
// Craig Fowler <craig@craigfowler.me.uk>
6+
//
7+
// Copyright (c) 2016 Craig Fowler
8+
//
9+
// Permission is hereby granted, free of charge, to any person obtaining a copy
10+
// of this software and associated documentation files (the "Software"), to deal
11+
// in the Software without restriction, including without limitation the rights
12+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13+
// copies of the Software, and to permit persons to whom the Software is
14+
// furnished to do so, subject to the following conditions:
15+
//
16+
// The above copyright notice and this permission notice shall be included in
17+
// all copies or substantial portions of the Software.
18+
//
19+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25+
// THE SOFTWARE.
26+
using System.Reflection;
27+
using System.Runtime.CompilerServices;
28+
29+
// Information about this assembly is defined by the following attributes.
30+
// Change them to the values specific to your project.
31+
32+
[assembly: AssemblyTitle("CSF.Calculator")]
33+
[assembly: AssemblyDescription("")]
34+
[assembly: AssemblyConfiguration("")]
35+
[assembly: AssemblyCompany("CSF Software Limited")]
36+
[assembly: AssemblyProduct("")]
37+
[assembly: AssemblyCopyright("Craig Fowler")]
38+
[assembly: AssemblyTrademark("")]
39+
[assembly: AssemblyCulture("")]
40+
41+
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
42+
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
43+
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
44+
45+
[assembly: AssemblyVersion("1.0.*")]
46+
47+
// The following attributes are used to specify the signing key for the assembly,
48+
// if desired. See the Mono documentation for more information about signing.
49+
50+
//[assembly: AssemblyDelaySign(false)]
51+
//[assembly: AssemblyKeyFile("")]
52+

CSF.Core.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSF.Caches", "CSF.Caches\CS
5050
EndProject
5151
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSF.Security", "CSF.Security\CSF.Security.csproj", "{D46ED91C-6D2F-4B18-82B3-6EB2F001C121}"
5252
EndProject
53+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSF.Calculator", "CSF.Calculator\CSF.Calculator.csproj", "{E592306B-14CF-4FF1-9E04-38F16F88DD2A}"
54+
EndProject
5355
Global
5456
GlobalSection(SolutionConfigurationPlatforms) = preSolution
5557
Debug|Any CPU = Debug|Any CPU
@@ -128,6 +130,10 @@ Global
128130
{E563D7BC-1AB1-4AFB-8533-51315437C6E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
129131
{E563D7BC-1AB1-4AFB-8533-51315437C6E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
130132
{E563D7BC-1AB1-4AFB-8533-51315437C6E6}.Release|Any CPU.Build.0 = Release|Any CPU
133+
{E592306B-14CF-4FF1-9E04-38F16F88DD2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
134+
{E592306B-14CF-4FF1-9E04-38F16F88DD2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
135+
{E592306B-14CF-4FF1-9E04-38F16F88DD2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
136+
{E592306B-14CF-4FF1-9E04-38F16F88DD2A}.Release|Any CPU.Build.0 = Release|Any CPU
131137
{EF897908-7BAC-47F6-9495-6C827D532228}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
132138
{EF897908-7BAC-47F6-9495-6C827D532228}.Debug|Any CPU.Build.0 = Debug|Any CPU
133139
{EF897908-7BAC-47F6-9495-6C827D532228}.Release|Any CPU.ActiveCfg = Release|Any CPU

CSF/CSF.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
<ItemGroup>
4242
<Compile Include="AssemblyInfo.cs" />
4343
<Compile Include="Int32Extensions.cs" />
44-
<Compile Include="ICalculator.cs" />
45-
<Compile Include="SimpleCalculator.cs" />
4644
<Compile Include="IO\FileSystemInfoExtensions.cs" />
4745
<Compile Include="Fraction.cs" />
4846
<Compile Include="PrimeFactoriser.cs" />

Test.CSF/Test.CSF.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@
168168
<Project>{D46ED91C-6D2F-4B18-82B3-6EB2F001C121}</Project>
169169
<Name>CSF.Security</Name>
170170
</ProjectReference>
171+
<ProjectReference Include="..\CSF.Calculator\CSF.Calculator.csproj">
172+
<Project>{E592306B-14CF-4FF1-9E04-38F16F88DD2A}</Project>
173+
<Name>CSF.Calculator</Name>
174+
</ProjectReference>
171175
</ItemGroup>
172176
<ItemGroup>
173177
<Folder Include="IO\" />

0 commit comments

Comments
 (0)