Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

Commit

Permalink
Added strongly named assemblies. Closes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
christophano committed Jun 28, 2015
1 parent fc67756 commit cbcd344
Show file tree
Hide file tree
Showing 12 changed files with 264 additions and 4 deletions.
94 changes: 94 additions & 0 deletions Effort.Extra.EF6.StrongName/Effort.Extra.EF6.StrongName.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.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>{E06BEDC6-B9CE-46A2-B13C-FE3B34B7F131}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Effort.Extra.EF6</RootNamespace>
<AssemblyName>Effort.Extra.EF6</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>
<DocumentationFile>bin\Release\Effort.Extra.EF6.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Effort">
<HintPath>..\packages\Effort.EF6.1.1.4\lib\net45\Effort.dll</HintPath>
</Reference>
<Reference Include="EntityFramework">
<HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="EntityFramework.SqlServer">
<HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
</Reference>
<Reference Include="NMemory">
<HintPath>..\packages\NMemory.1.0.1\lib\net45\NMemory.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Data.Entity.Design" />
<Reference Include="System.Transactions" />
<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="..\Effort.Extra\ObjectData.cs">
<Link>ObjectData.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\ObjectDataCollection.cs">
<Link>ObjectDataCollection.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\ObjectDataLoader.cs">
<Link>ObjectDataLoader.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\ObjectDataLoaderFactory.cs">
<Link>ObjectDataLoaderFactory.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\ObjectTableDataLoader`1.cs">
<Link>ObjectTableDataLoader`1.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\TableNamingStrategy.cs">
<Link>TableNamingStrategy.cs</Link>
</Compile>
<Compile Include="..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="Effort.Extra.EF6.StrongName.nuspec" />
<None Include="packages.config" />
</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>
24 changes: 24 additions & 0 deletions Effort.Extra.EF6.StrongName/Effort.Extra.EF6.StrongName.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Effort.Extra.EF6.StrongName</id>
<version>1.2.3</version>
<title>Extra Effort for EF6 (storngly named)</title>
<owners>Chris Rodgers</owners>
<authors>Chris Rodgers</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Dynamic entity data loader for Effort; Strongly named version.</summary>
<description>Create database definitions in code and load them into the effort in-memory database at runtime</description>
<references>
<reference file="Effort.Extra.EF6.dll" />
</references>
<dependencies>
<dependency id="Effort.EF6" />
</dependencies>
</metadata>
<files>
<file src="bin\Release\Effort.Extra.EF6.dll" target="lib" />
<file src="bin\Release\Effort.Extra.EF6.pdb" target="lib" />
<file src="bin\Release\Effort.Extra.EF6.xml" target="lib" />
</files>
</package>
4 changes: 4 additions & 0 deletions Effort.Extra.EF6.StrongName/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using System.Reflection;

[assembly: AssemblyTitle("Effort.Extra.EF6")]
[assembly: AssemblyKeyFile("../Effort.Extra.snk")]
6 changes: 6 additions & 0 deletions Effort.Extra.EF6.StrongName/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Effort.EF6" version="1.1.4" targetFramework="net45" />
<package id="EntityFramework" version="6.0.0" targetFramework="net45" />
<package id="NMemory" version="1.0.1" targetFramework="net45" />
</packages>
87 changes: 87 additions & 0 deletions Effort.Extra.StrongName/Effort.Extra.StrongName.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.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>{2BBD99E5-8301-4F22-B31B-1310262EF635}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Effort.Extra</RootNamespace>
<AssemblyName>Effort.Extra</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>
<DocumentationFile>bin\Release\Effort.Extra.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Effort">
<HintPath>..\packages\Effort.1.1.4\lib\net45\Effort.dll</HintPath>
</Reference>
<Reference Include="NMemory">
<HintPath>..\packages\NMemory.1.0.1\lib\net45\NMemory.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data.Entity" />
<Reference Include="System.Data.Entity.Design" />
<Reference Include="System.Transactions" />
<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="..\Effort.Extra\ObjectData.cs">
<Link>ObjectData.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\ObjectDataCollection.cs">
<Link>ObjectDataCollection.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\ObjectDataLoader.cs">
<Link>ObjectDataLoader.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\ObjectDataLoaderFactory.cs">
<Link>ObjectDataLoaderFactory.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\ObjectTableDataLoader`1.cs">
<Link>ObjectTableDataLoader`1.cs</Link>
</Compile>
<Compile Include="..\Effort.Extra\TableNamingStrategy.cs">
<Link>TableNamingStrategy.cs</Link>
</Compile>
<Compile Include="..\SharedAssemblyInfo.cs">
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Effort.Extra.StrongName.nuspec" />
<None Include="packages.config" />
</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>
24 changes: 24 additions & 0 deletions Effort.Extra.StrongName/Effort.Extra.StrongName.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Effort.Extra.StrongName</id>
<version>1.2.3</version>
<title>Extra Effort (strongly named)</title>
<owners>Chris Rodgers</owners>
<authors>Chris Rodgers</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>Dynamic entity data loader for Effort; Strongly named version.</summary>
<description>Create database definitions in code and load them into the effort in-memory database at runtime</description>
<references>
<reference file="Effort.Extra.dll" />
</references>
<dependencies>
<dependency id="Effort" />
</dependencies>
</metadata>
<files>
<file src="bin\Release\Effort.Extra.dll" target="lib" />
<file src="bin\Release\Effort.Extra.pdb" target="lib" />
<file src="bin\Release\Effort.Extra.xml" target="lib" />
</files>
</package>
4 changes: 4 additions & 0 deletions Effort.Extra.StrongName/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using System.Reflection;

[assembly: AssemblyTitle("Effort.Extra")]
[assembly: AssemblyKeyFile("../Effort.Extra.snk")]
5 changes: 5 additions & 0 deletions Effort.Extra.StrongName/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Effort" version="1.1.4" targetFramework="net45" />
<package id="NMemory" version="1.0.1" targetFramework="net45" />
</packages>
12 changes: 12 additions & 0 deletions Effort.Extra.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Effort.Extra.Tests", "Effor
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Effort.Extra.EF6", "Effort.Extra.EF6\Effort.Extra.EF6.csproj", "{4AB03D69-5B8B-4D6A-BA6B-FCF7B747ACA4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Effort.Extra.StrongName", "Effort.Extra.StrongName\Effort.Extra.StrongName.csproj", "{2BBD99E5-8301-4F22-B31B-1310262EF635}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Effort.Extra.EF6.StrongName", "Effort.Extra.EF6.StrongName\Effort.Extra.EF6.StrongName.csproj", "{E06BEDC6-B9CE-46A2-B13C-FE3B34B7F131}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -27,6 +31,14 @@ Global
{4AB03D69-5B8B-4D6A-BA6B-FCF7B747ACA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4AB03D69-5B8B-4D6A-BA6B-FCF7B747ACA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4AB03D69-5B8B-4D6A-BA6B-FCF7B747ACA4}.Release|Any CPU.Build.0 = Release|Any CPU
{2BBD99E5-8301-4F22-B31B-1310262EF635}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2BBD99E5-8301-4F22-B31B-1310262EF635}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2BBD99E5-8301-4F22-B31B-1310262EF635}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2BBD99E5-8301-4F22-B31B-1310262EF635}.Release|Any CPU.Build.0 = Release|Any CPU
{E06BEDC6-B9CE-46A2-B13C-FE3B34B7F131}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E06BEDC6-B9CE-46A2-B13C-FE3B34B7F131}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E06BEDC6-B9CE-46A2-B13C-FE3B34B7F131}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E06BEDC6-B9CE-46A2-B13C-FE3B34B7F131}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Binary file added Effort.Extra.snk
Binary file not shown.
4 changes: 3 additions & 1 deletion Effort.Extra/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using System.Reflection;
using System.Runtime.CompilerServices;

[assembly: AssemblyTitle("Effort.Extra")]
[assembly: AssemblyTitle("Effort.Extra")]
[assembly: InternalsVisibleTo("Effort.Extra.Tests")]
4 changes: 1 addition & 3 deletions SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: AssemblyDescription("Dynamic entity data loader for Effort")]
Expand All @@ -11,5 +10,4 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("fadfc421-9ef5-4198-8eb0-fbbfcbae1167")]
[assembly: AssemblyVersion("1.2.3")]
[assembly: InternalsVisibleTo("Effort.Extra.Tests")]
[assembly: AssemblyVersion("1.2.3")]

0 comments on commit cbcd344

Please sign in to comment.