Skip to content
Permalink
Browse files

Added Model project and created a shared assembly versioning file

  • Loading branch information...
sumo300 committed Dec 19, 2013
1 parent 5094766 commit 6b0b359db5b2f383135e8c8548fbc378867da838
@@ -0,0 +1,38 @@
#region SeeSharpShip.Model is Copyright (C) 2011-2013 Michael J. Sumerano.

// This file is part of SeeSharpShip.Model.
//
// SeeSharpShip.Model is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// SeeSharpShip.Model is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with SeeSharpShip.Model. If not, see <http://www.gnu.org/licenses/>.

#endregion

using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.

[assembly: AssemblyTitle("SeeSharpShip.Model")]
[assembly: AssemblyDescription("Models/DTOs the SeeSharpShip library depends on")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.

[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM

[assembly: Guid("4b054aad-4ca3-4f83-8060-d95cf6a24dd6")]
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{FC5A0764-DECB-483A-86D7-87DFED5A4CAC}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SeeSharpShip.Model</RootNamespace>
<AssemblyName>SeeSharpShip.Model</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Versioning\AssemblyVersionInfo.cs">
<Link>Properties\AssemblyVersionInfo.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
@@ -18,5 +18,5 @@
#endregion

namespace SeeSharpShip.Tests.FedEx {
public class RateRequest : ServiceProxies..RateRequest {}
public class RateRequest : ServiceProxies.RateRequest {}
}
@@ -1,36 +1,38 @@
using System.Reflection;
using System.Runtime.CompilerServices;
#region SeeSharpShip.Tests is Copyright (C) 2011-2013 Michael J. Sumerano.

// This file is part of SeeSharpShip.Tests.
//
// SeeSharpShip.Tests is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// SeeSharpShip.Tests is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with SeeSharpShip.Tests. If not, see <http://www.gnu.org/licenses/>.

#endregion

using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.

[assembly: AssemblyTitle("SeeSharpShip.Tests")]
[assembly: AssemblyDescription("A shipping library written in C# that wraps popular U.S. shipping APIs like USPS, UPS, FedEx and DHL.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Michael J. Sumerano")]
[assembly: AssemblyProduct("SeeSharpShip.Tests")]
[assembly: AssemblyCopyright("Copyright © Michael J. Sumerano")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyDescription("Unit/integration tests for the SeeSharpShip library")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.

[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("61a5804a-06b0-4551-afc2-438de8119d74")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// 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("0.1.7.0")]
[assembly: AssemblyFileVersion("0.1.7.0")]
[assembly: Guid("61a5804a-06b0-4551-afc2-438de8119d74")]
@@ -39,6 +39,9 @@
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Versioning\AssemblyVersionInfo.cs">
<Link>Properties\AssemblyVersionInfo.cs</Link>
</Compile>
<Compile Include="FedEx\RateRequest.cs" />
<Compile Include="FedEx\RateServiceTests.cs" />
<Compile Include="ModelExtensionsTests.cs" />
@@ -24,6 +24,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Transforms", "Transforms",
NuGet\Transforms\web.config.transform = NuGet\Transforms\web.config.transform
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SeeSharpShip.Model", "SeeSharpShip.Model\SeeSharpShip.Model.csproj", "{FC5A0764-DECB-483A-86D7-87DFED5A4CAC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Versioning", "Versioning", "{A158E824-CAB0-4314-A8B1-D4366C80B9E2}"
ProjectSection(SolutionItems) = preProject
Versioning\AssemblyVersionInfo.cs = Versioning\AssemblyVersionInfo.cs
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -38,6 +45,10 @@ Global
{C3587780-0550-41FC-BABC-AB081F3C843F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C3587780-0550-41FC-BABC-AB081F3C843F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C3587780-0550-41FC-BABC-AB081F3C843F}.Release|Any CPU.Build.0 = Release|Any CPU
{FC5A0764-DECB-483A-86D7-87DFED5A4CAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FC5A0764-DECB-483A-86D7-87DFED5A4CAC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FC5A0764-DECB-483A-86D7-87DFED5A4CAC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FC5A0764-DECB-483A-86D7-87DFED5A4CAC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -278,7 +278,7 @@ II.2.12 &lt;HandlesEvent /&gt;&#xD;
&lt;/Patterns&gt;&#xD;
</s:String>
<s:String x:Key="/Default/CodeStyle/CSharpMemberOrderPattern/LayoutType/@EntryValue">CustomLayout</s:String>
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderRegionName/@EntryValue">$PROJECT$ is Copyright (C) $CREATED_YEAR$-$CURRENT_YEAR$ Michael J. Sumerano.</s:String>
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderRegionName/@EntryValue">$PROJECT$ is Copyright (C) 2011-$CURRENT_YEAR$ Michael J. Sumerano.</s:String>
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue">This file is part of $PROJECT$.&#xD;
&#xD;
$PROJECT$ is free software: you can redistribute it and/or modify&#xD;
@@ -1,39 +1,38 @@
using System;
#region SeeSharpShip is Copyright (C) 2011-2013 Michael J. Sumerano.

// This file is part of SeeSharpShip.
//
// SeeSharpShip is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// SeeSharpShip is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with SeeSharpShip. If not, see <http://www.gnu.org/licenses/>.

#endregion

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.

[assembly: AssemblyTitle("SeeSharpShip")]
[assembly: AssemblyDescription("A shipping library written in C# that wraps popular U.S. shipping APIs like USPS, UPS, FedEx and DHL.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Michael J. Sumerano")]
[assembly: AssemblyProduct("SeeSharpShip")]
[assembly: AssemblyCopyright("Copyright © Michael J. Sumerano")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.

[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f1ce1a96-faee-4dab-883d-eea06adde82e")]

[assembly: CLSCompliant(true)]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// 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("0.1.7.0")]
[assembly: AssemblyFileVersion("0.1.7.0")]
[assembly: Guid("f1ce1a96-faee-4dab-883d-eea06adde82e")]
@@ -45,6 +45,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Versioning\AssemblyVersionInfo.cs">
<Link>Properties\AssemblyVersionInfo.cs</Link>
</Compile>
<Compile Include="Extensions\EnumExtensions.cs" />
<Compile Include="Extensions\StringExtensions.cs" />
<Compile Include="Models\Usps\Domestic\FirstClassMailTypes.cs" />
@@ -169,6 +172,12 @@
<ItemGroup>
<Folder Include="Models\FedEx\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SeeSharpShip.Model\SeeSharpShip.Model.csproj">
<Project>{fc5a0764-decb-483a-86d7-87dfed5a4cac}</Project>
<Name>SeeSharpShip.Model</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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.
@@ -0,0 +1,54 @@
#region SeeSharpShip is Copyright (C) 2011-2013 Michael J. Sumerano.

// This file is part of SeeSharpShip.
//
// SeeSharpShip is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// SeeSharpShip is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with SeeSharpShip. If not, see <http://www.gnu.org/licenses/>.

#endregion

using System;
using System.Reflection;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.

[assembly: AssemblyCompany("Michael J. Sumerano")]
[assembly: AssemblyProduct("SeeSharpShip")]
[assembly: AssemblyCopyright("Copyright © Michael J. Sumerano")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

#if DEBUG

[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Retail")]
#endif

[assembly: CLSCompliant(true)]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// 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("0.1.7.0")]
[assembly: AssemblyFileVersion("0.1.7.0")]

0 comments on commit 6b0b359

Please sign in to comment.
You can’t perform that action at this time.