Skip to content

Commit

Permalink
Added solution file and build configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmg committed Feb 3, 2015
1 parent cdf43a9 commit c7884dd
Show file tree
Hide file tree
Showing 12 changed files with 163 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
28 changes: 28 additions & 0 deletions Autofac.Extras.DomainServices.sln
Original file line number Diff line number Diff line change
@@ -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
Binary file added Autofac.snk
Binary file not shown.
47 changes: 47 additions & 0 deletions CodeAnalysisDictionary.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Dictionary format defined here: http://msdn.microsoft.com/en-us/library/bb514188.aspx -->
<Dictionary>
<Words>
<!--
<Unrecognized>
<Word></Word>
</Unrecognized>
-->
<!-- Capitalize proper nouns and acronyms; "regular words" just lowercase. -->
<Recognized>
<Word>Api</Word>
<Word>Autofac</Word>
<Word>autowired</Word>
<Word>autowiring</Word>
<Word>composable</Word>
<Word>configurator</Word>
<Word>Ioc</Word>
<Word>Mef</Word>
<Word>Moq</Word>
<Word>multitenancy</Word>
<Word>Mvc</Word>
<Word>Mvx</Word>
<Word>Mvvm</Word>
<Word>startable</Word>
<Word>Owin</Word>
</Recognized>
<!--
<Deprecated>
<Term PreferredAlternate=""></Term>
</Deprecated>
<Compound>
<Term CompoundAlternate=""></Term>
</Compound>
<DiscreteExceptions>
<Term></Term>
</DiscreteExceptions>
-->
</Words>
<!--
<Acronyms>
<CasingExceptions>
<Acronym></Acronym>
</CasingExceptions>
</Acronyms>
-->
</Dictionary>
12 changes: 12 additions & 0 deletions Full.ruleset
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Autofac - Full Framework Rules" Description="This ruleset is for Autofac assemblies that target the full .NET framework." ToolsVersion="12.0">
<IncludeAll Action="Warning" />
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
<Rule Id="CA1004" Action="None" />
<Rule Id="CA1006" Action="None" />
<Rule Id="CA1016" Action="None" />
<Rule Id="CA1026" Action="None" />
<Rule Id="CA1724" Action="None" />
<Rule Id="CA2243" Action="None" />
</Rules>
</RuleSet>
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
24 changes: 24 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\..\Build\SharedKey.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\..\Autofac.snk</AssemblyOriginatorKeyFile>
<TargetFrameworkVersion Condition="$(TargetFrameworkVersion)==''">v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile Condition="$(TargetFrameworkVersion)==''">Client</TargetFrameworkProfile>
</PropertyGroup>
Expand All @@ -28,7 +28,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>..\..\..\Build\Full.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>..\..\Full.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>true</RunCodeAnalysis>
<DocumentationFile>bin\Debug\Autofac.Extras.DomainServices.xml</DocumentationFile>
</PropertyGroup>
Expand All @@ -39,36 +39,30 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>..\..\..\Build\Full.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet>..\..\Full.ruleset</CodeAnalysisRuleSet>
<RunCodeAnalysis>true</RunCodeAnalysis>
<DocumentationFile>bin\Release\Autofac.Extras.DomainServices.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Autofac">
<HintPath>..\..\..\packages\Autofac.3.4.0\lib\net40\Autofac.dll</HintPath>
<HintPath>..\..\packages\Autofac.3.4.0\lib\net40\Autofac.dll</HintPath>
</Reference>
<Reference Include="Autofac.Integration.Web">
<HintPath>..\..\..\packages\Autofac.Web.3.2.0\lib\net40\Autofac.Integration.Web.dll</HintPath>
<HintPath>..\..\packages\Autofac.Web.3.2.0\lib\net40\Autofac.Integration.Web.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ServiceModel.DomainServices.Server, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\..\..\ProductAssemblyInfo.cs">
<Link>Properties\ProductAssemblyInfo.cs</Link>
</Compile>
<CodeAnalysisDictionary Include="..\..\..\Build\CodeAnalysisDictionary.xml">
<CodeAnalysisDictionary Include="..\..\CodeAnalysisDictionary.xml">
<Link>CodeAnalysisDictionary.xml</Link>
</CodeAnalysisDictionary>
<Compile Include="AutofacDomainServiceFactory.cs" />
<Compile Include="AutofacDomainServiceModule.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\VersionAssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Autofac.Extras.DomainServices.nuspec" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>Autofac.Extras.DomainServices</id>
<version>$version$</version>
<authors>Autofac Contributors</authors>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>This extension allows you to use Autofac dependency injection in RIA domain services.</description>
<summary>Autofac extension for RIA services support.</summary>
<language>en-US</language>
<title>Autofac Extras: Domain Service Factory for RIA Services</title>
<projectUrl>http://autofac.org</projectUrl>
<iconUrl>http://code.google.com/p/autofac/logo</iconUrl>
<dependencies>
<dependency id="Autofac" version="[3.4.0,4.0.0)" />
<dependency id="Autofac.Web" version="[3.2.0,4.0.0)" />
</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.ServiceModel.DomainServices.Server" />
</frameworkAssemblies>
</metadata>
</package>
14 changes: 13 additions & 1 deletion src/Autofac.Extras.DomainServices/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,16 @@

[assembly: AssemblyTitle("Autofac.Extras.DomainServices")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[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")]

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\..\Build\SharedKey.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\..\Autofac.snk</AssemblyOriginatorKeyFile>
<TargetFrameworkVersion Condition="$(TargetFrameworkVersion)==''">v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile Condition="$(TargetFrameworkVersion)==''">Client</TargetFrameworkProfile>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
Expand All @@ -41,35 +41,29 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Autofac">
<HintPath>..\..\..\packages\Autofac.3.4.0\lib\net40\Autofac.dll</HintPath>
<HintPath>..\..\packages\Autofac.3.4.0\lib\net40\Autofac.dll</HintPath>
</Reference>
<Reference Include="Autofac.Integration.Web">
<HintPath>..\..\..\packages\Autofac.Web.3.2.0\lib\net40\Autofac.Integration.Web.dll</HintPath>
<HintPath>..\..\packages\Autofac.Web.3.2.0\lib\net40\Autofac.Integration.Web.dll</HintPath>
</Reference>
<Reference Include="Moq">
<HintPath>..\..\..\packages\Moq.4.2.1312.1622\lib\net40\Moq.dll</HintPath>
<HintPath>..\..\packages\Moq.4.2.1312.1622\lib\net40\Moq.dll</HintPath>
</Reference>
<Reference Include="nunit.framework">
<HintPath>..\..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
<HintPath>..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.ServiceModel.DomainServices.Server" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\..\Source\Autofac.Extras.DomainServices\Properties\VersionAssemblyInfo.cs">
<Link>Properties\VersionAssemblyInfo.cs</Link>
</Compile>
<Compile Include="DomainServiceFactoryFixture.cs" />
<Compile Include="DomainServiceModuleFixture.cs" />
<Compile Include="FakeDomainService.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Source\Autofac.Extras.DomainServices\Autofac.Extras.DomainServices.csproj">
<ProjectReference Include="..\..\src\Autofac.Extras.DomainServices\Autofac.Extras.DomainServices.csproj">
<Project>{4a3a14bb-7eba-4326-aa38-966a74b34abf}</Project>
<Name>Autofac.Extras.DomainServices</Name>
</ProjectReference>
Expand Down

0 comments on commit c7884dd

Please sign in to comment.