diff --git a/.gitignore b/.gitignore index fd5204b..d61be7b 100644 --- a/.gitignore +++ b/.gitignore @@ -133,7 +133,7 @@ publish/ # NuGet Packages *.nupkg # The packages folder can be ignored because of Package Restore -**/packages/* +/packages/* # except build/, which is used as an MSBuild target. !**/packages/build/ # If using the old MSBuild-Integrated Package Restore, uncomment this: diff --git a/Autofac.Extras.DomainServices.sln b/Autofac.Extras.DomainServices.sln new file mode 100644 index 0000000..6b8ef16 --- /dev/null +++ b/Autofac.Extras.DomainServices.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autofac.Extras.DomainServices", "src\Autofac.Extras.DomainServices\Autofac.Extras.DomainServices.csproj", "{4A3A14BB-7EBA-4326-AA38-966A74B34ABF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autofac.Extras.Tests.DomainServices", "test\Autofac.Extras.Tests.DomainServices\Autofac.Extras.Tests.DomainServices.csproj", "{0100653D-0EFC-44E2-88D3-BA66762B8A7D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4A3A14BB-7EBA-4326-AA38-966A74B34ABF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4A3A14BB-7EBA-4326-AA38-966A74B34ABF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4A3A14BB-7EBA-4326-AA38-966A74B34ABF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4A3A14BB-7EBA-4326-AA38-966A74B34ABF}.Release|Any CPU.Build.0 = Release|Any CPU + {0100653D-0EFC-44E2-88D3-BA66762B8A7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0100653D-0EFC-44E2-88D3-BA66762B8A7D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0100653D-0EFC-44E2-88D3-BA66762B8A7D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0100653D-0EFC-44E2-88D3-BA66762B8A7D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Autofac.snk b/Autofac.snk new file mode 100644 index 0000000..8c803ff Binary files /dev/null and b/Autofac.snk differ diff --git a/CodeAnalysisDictionary.xml b/CodeAnalysisDictionary.xml new file mode 100644 index 0000000..e15c3b3 --- /dev/null +++ b/CodeAnalysisDictionary.xml @@ -0,0 +1,47 @@ + + + + + + + + Api + Autofac + autowired + autowiring + composable + configurator + Ioc + Mef + Moq + multitenancy + Mvc + Mvx + Mvvm + startable + Owin + + + + + diff --git a/Full.ruleset b/Full.ruleset new file mode 100644 index 0000000..417a489 --- /dev/null +++ b/Full.ruleset @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index 21d963c..db51e8b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # Autofac.Extras.DomainServices Autofac Domain Service Factory for RIA Services + +[![Build status](https://ci.appveyor.com/api/projects/status/7cy42ia922we7v3w?svg=true)](https://ci.appveyor.com/project/Autofac/autofac-extras-domainservices) \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..168c7d5 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,24 @@ +version: 3.1.0.{build} + +assembly_info: + patch: true + file: AssemblyInfo.cs + assembly_version: "3.1.0.0" + assembly_file_version: "{version}" + assembly_informational_version: "3.1.0-CI-{build}" + +configuration: Release + +before_build: nuget restore + +build: + verbosity: minimal + publish_nuget: true + publish_nuget_symbols: true + +deploy: +- provider: NuGet + server: https://www.myget.org/F/autofac/ + api_key: + secure: N4KZCRegcmenMoJ0peZfQwDzqq+Wt4oxGzNTgvkrDxgWyZhw7hNwKmd4n2AsNKQX + symbol_server: https://nuget.symbolsource.org/MyGet/autofac \ No newline at end of file diff --git a/src/Autofac.Extras.DomainServices/Autofac.Extras.DomainServices.csproj b/src/Autofac.Extras.DomainServices/Autofac.Extras.DomainServices.csproj index 97bdc6a..0a21155 100644 --- a/src/Autofac.Extras.DomainServices/Autofac.Extras.DomainServices.csproj +++ b/src/Autofac.Extras.DomainServices/Autofac.Extras.DomainServices.csproj @@ -16,7 +16,7 @@ 3.5 true - ..\..\..\Build\SharedKey.snk + ..\..\Autofac.snk v4.0 Client @@ -28,7 +28,7 @@ DEBUG;TRACE prompt 4 - ..\..\..\Build\Full.ruleset + ..\..\Full.ruleset true bin\Debug\Autofac.Extras.DomainServices.xml @@ -39,36 +39,30 @@ TRACE prompt 4 - ..\..\..\Build\Full.ruleset + ..\..\Full.ruleset true bin\Release\Autofac.Extras.DomainServices.xml - ..\..\..\packages\Autofac.3.4.0\lib\net40\Autofac.dll + ..\..\packages\Autofac.3.4.0\lib\net40\Autofac.dll - ..\..\..\packages\Autofac.Web.3.2.0\lib\net40\Autofac.Integration.Web.dll + ..\..\packages\Autofac.Web.3.2.0\lib\net40\Autofac.Integration.Web.dll - - Properties\GlobalAssemblyInfo.cs - - - Properties\ProductAssemblyInfo.cs - - + CodeAnalysisDictionary.xml - + diff --git a/src/Autofac.Extras.DomainServices/Autofac.Extras.DomainServices.nuspec b/src/Autofac.Extras.DomainServices/Autofac.Extras.DomainServices.nuspec new file mode 100644 index 0000000..e513a02 --- /dev/null +++ b/src/Autofac.Extras.DomainServices/Autofac.Extras.DomainServices.nuspec @@ -0,0 +1,23 @@ + + + + Autofac.Extras.DomainServices + $version$ + Autofac Contributors + http://www.opensource.org/licenses/mit-license.php + false + This extension allows you to use Autofac dependency injection in RIA domain services. + Autofac extension for RIA services support. + en-US + Autofac Extras: Domain Service Factory for RIA Services + http://autofac.org + http://code.google.com/p/autofac/logo + + + + + + + + + \ No newline at end of file diff --git a/src/Autofac.Extras.DomainServices/Properties/AssemblyInfo.cs b/src/Autofac.Extras.DomainServices/Properties/AssemblyInfo.cs index 58e1b00..cdb3239 100644 --- a/src/Autofac.Extras.DomainServices/Properties/AssemblyInfo.cs +++ b/src/Autofac.Extras.DomainServices/Properties/AssemblyInfo.cs @@ -4,4 +4,16 @@ [assembly: AssemblyTitle("Autofac.Extras.DomainServices")] [assembly: ComVisible(false)] -[assembly: CLSCompliant(true)] \ No newline at end of file +[assembly: CLSCompliant(true)] + +[assembly: AssemblyCompany("Autofac Project - http://autofac.org")] +[assembly: AssemblyProduct("Autofac")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: AssemblyVersion("0.0.0.0")] +[assembly: AssemblyFileVersion("0.0.0.0")] +[assembly: AssemblyInformationalVersion("0.0.0")] +[assembly: AssemblyConfiguration("Release")] +[assembly: AssemblyCopyright("Copyright © 2014 Autofac Contributors")] +[assembly: AssemblyDescription("Autofac Domain Service Factory for RIA Services")] \ No newline at end of file diff --git a/src/Autofac.Extras.DomainServices/Properties/VersionAssemblyInfo.cs b/src/Autofac.Extras.DomainServices/Properties/VersionAssemblyInfo.cs deleted file mode 100644 index dabfc62..0000000 --- a/src/Autofac.Extras.DomainServices/Properties/VersionAssemblyInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34003 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; -using System.Resources; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -[assembly: AssemblyVersion("3.0.0.0")] -[assembly: AssemblyFileVersion("3.0.0.0")] -[assembly: AssemblyConfiguration("Release built on 2014-01-07 21:40")] -[assembly: AssemblyCopyright("Copyright © 2014 Autofac Contributors")] -[assembly: AssemblyDescription("Autofac.Extras.DomainServices 3.0.0")] - - diff --git a/test/Autofac.Extras.Tests.DomainServices/Autofac.Extras.Tests.DomainServices.csproj b/test/Autofac.Extras.Tests.DomainServices/Autofac.Extras.Tests.DomainServices.csproj index 05c0bd9..9de76e1 100644 --- a/test/Autofac.Extras.Tests.DomainServices/Autofac.Extras.Tests.DomainServices.csproj +++ b/test/Autofac.Extras.Tests.DomainServices/Autofac.Extras.Tests.DomainServices.csproj @@ -16,7 +16,7 @@ 3.5 true - ..\..\..\Build\SharedKey.snk + ..\..\Autofac.snk v4.0 Client ..\..\..\ @@ -41,35 +41,29 @@ - ..\..\..\packages\Autofac.3.4.0\lib\net40\Autofac.dll + ..\..\packages\Autofac.3.4.0\lib\net40\Autofac.dll - ..\..\..\packages\Autofac.Web.3.2.0\lib\net40\Autofac.Integration.Web.dll + ..\..\packages\Autofac.Web.3.2.0\lib\net40\Autofac.Integration.Web.dll - ..\..\..\packages\Moq.4.2.1312.1622\lib\net40\Moq.dll + ..\..\packages\Moq.4.2.1312.1622\lib\net40\Moq.dll - ..\..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll + ..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll - - Properties\GlobalAssemblyInfo.cs - - - Properties\VersionAssemblyInfo.cs - - + {4a3a14bb-7eba-4326-aa38-966a74b34abf} Autofac.Extras.DomainServices