Skip to content

Commit d4912b0

Browse files
committed
Added solution and build configuration.
1 parent 8fabaf8 commit d4912b0

File tree

12 files changed

+170
-59
lines changed

12 files changed

+170
-59
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ publish/
133133
# NuGet Packages
134134
*.nupkg
135135
# The packages folder can be ignored because of Package Restore
136-
**/packages/*
136+
/packages/*
137137
# except build/, which is used as an MSBuild target.
138138
!**/packages/build/
139139
# If using the old MSBuild-Integrated Package Restore, uncomment this:
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.31101.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autofac.Extras.EnterpriseLibraryConfigurator", "src\Autofac.Extras.EnterpriseLibraryConfigurator\Autofac.Extras.EnterpriseLibraryConfigurator.csproj", "{97BC9D7B-A233-4109-AFB7-1F2F0C137CCF}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autofac.Extras.Tests.EnterpriseLibraryConfigurator", "test\Autofac.Extras.Tests.EnterpriseLibraryConfigurator\Autofac.Extras.Tests.EnterpriseLibraryConfigurator.csproj", "{0122ECB8-93C3-4020-A28D-1078E32C5DB2}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{97BC9D7B-A233-4109-AFB7-1F2F0C137CCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{97BC9D7B-A233-4109-AFB7-1F2F0C137CCF}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{97BC9D7B-A233-4109-AFB7-1F2F0C137CCF}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{97BC9D7B-A233-4109-AFB7-1F2F0C137CCF}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{0122ECB8-93C3-4020-A28D-1078E32C5DB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{0122ECB8-93C3-4020-A28D-1078E32C5DB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{0122ECB8-93C3-4020-A28D-1078E32C5DB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{0122ECB8-93C3-4020-A28D-1078E32C5DB2}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal

Autofac.snk

596 Bytes
Binary file not shown.

CodeAnalysisDictionary.xml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<!-- Dictionary format defined here: http://msdn.microsoft.com/en-us/library/bb514188.aspx -->
3+
<Dictionary>
4+
<Words>
5+
<!--
6+
<Unrecognized>
7+
<Word></Word>
8+
</Unrecognized>
9+
-->
10+
<!-- Capitalize proper nouns and acronyms; "regular words" just lowercase. -->
11+
<Recognized>
12+
<Word>Api</Word>
13+
<Word>Autofac</Word>
14+
<Word>autowired</Word>
15+
<Word>autowiring</Word>
16+
<Word>composable</Word>
17+
<Word>configurator</Word>
18+
<Word>Ioc</Word>
19+
<Word>Mef</Word>
20+
<Word>Moq</Word>
21+
<Word>multitenancy</Word>
22+
<Word>Mvc</Word>
23+
<Word>Mvx</Word>
24+
<Word>Mvvm</Word>
25+
<Word>startable</Word>
26+
<Word>Owin</Word>
27+
</Recognized>
28+
<!--
29+
<Deprecated>
30+
<Term PreferredAlternate=""></Term>
31+
</Deprecated>
32+
<Compound>
33+
<Term CompoundAlternate=""></Term>
34+
</Compound>
35+
<DiscreteExceptions>
36+
<Term></Term>
37+
</DiscreteExceptions>
38+
-->
39+
</Words>
40+
<!--
41+
<Acronyms>
42+
<CasingExceptions>
43+
<Acronym></Acronym>
44+
</CasingExceptions>
45+
</Acronyms>
46+
-->
47+
</Dictionary>

Full.ruleset

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RuleSet Name="Autofac - Full Framework Rules" Description="This ruleset is for Autofac assemblies that target the full .NET framework." ToolsVersion="12.0">
3+
<IncludeAll Action="Warning" />
4+
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
5+
<Rule Id="CA1004" Action="None" />
6+
<Rule Id="CA1006" Action="None" />
7+
<Rule Id="CA1016" Action="None" />
8+
<Rule Id="CA1026" Action="None" />
9+
<Rule Id="CA1724" Action="None" />
10+
<Rule Id="CA2243" Action="None" />
11+
</Rules>
12+
</RuleSet>

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Autofac.Extras.EnterpriseLibraryConfigurator
22
Enterprise Library Configuration Support
3+
4+
[![Build status](https://ci.appveyor.com/api/projects/status/3o5xlwu9t8on7oue?svg=true)](https://ci.appveyor.com/project/Autofac/autofac-extras-enterpriselibraryconfigurator)

appveyor.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: 3.0.2.{build}
2+
3+
assembly_info:
4+
patch: true
5+
file: AssemblyInfo.cs
6+
assembly_version: "3.0.0.0"
7+
assembly_file_version: "{version}"
8+
assembly_informational_version: "3.0.2-CI-{build}"
9+
10+
configuration: Release
11+
12+
before_build: nuget restore
13+
14+
build:
15+
verbosity: minimal
16+
publish_nuget: true
17+
publish_nuget_symbols: true
18+
19+
deploy:
20+
- provider: NuGet
21+
server: https://www.myget.org/F/autofac/
22+
api_key:
23+
secure: N4KZCRegcmenMoJ0peZfQwDzqq+Wt4oxGzNTgvkrDxgWyZhw7hNwKmd4n2AsNKQX
24+
symbol_server: https://nuget.symbolsource.org/MyGet/autofac

src/Autofac.Extras.EnterpriseLibraryConfigurator/Autofac.Extras.EnterpriseLibraryConfigurator.csproj

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<AssemblyName>Autofac.Extras.EnterpriseLibraryConfigurator</AssemblyName>
1313
<FileAlignment>512</FileAlignment>
1414
<SignAssembly>true</SignAssembly>
15-
<AssemblyOriginatorKeyFile>..\..\..\Build\SharedKey.snk</AssemblyOriginatorKeyFile>
15+
<AssemblyOriginatorKeyFile>..\..\Autofac.snk</AssemblyOriginatorKeyFile>
1616
<TargetFrameworkVersion Condition="$(TargetFrameworkVersion)==''">v4.0</TargetFrameworkVersion>
1717
<TargetFrameworkProfile Condition="$(TargetFrameworkVersion)==''">
1818
</TargetFrameworkProfile>
@@ -27,7 +27,7 @@
2727
<DefineConstants>DEBUG;TRACE</DefineConstants>
2828
<ErrorReport>prompt</ErrorReport>
2929
<WarningLevel>4</WarningLevel>
30-
<CodeAnalysisRuleSet>..\..\..\Build\Full.ruleset</CodeAnalysisRuleSet>
30+
<CodeAnalysisRuleSet>..\..\Full.ruleset</CodeAnalysisRuleSet>
3131
<DocumentationFile>bin\Debug\Autofac.Extras.EnterpriseLibraryConfigurator.xml</DocumentationFile>
3232
<RunCodeAnalysis>true</RunCodeAnalysis>
3333
</PropertyGroup>
@@ -38,37 +38,37 @@
3838
<DefineConstants>TRACE</DefineConstants>
3939
<ErrorReport>prompt</ErrorReport>
4040
<WarningLevel>4</WarningLevel>
41-
<CodeAnalysisRuleSet>..\..\..\Build\Full.ruleset</CodeAnalysisRuleSet>
41+
<CodeAnalysisRuleSet>..\..\Full.ruleset</CodeAnalysisRuleSet>
4242
<DocumentationFile>bin\Release\Autofac.Extras.EnterpriseLibraryConfigurator.xml</DocumentationFile>
4343
<RunCodeAnalysis>true</RunCodeAnalysis>
4444
</PropertyGroup>
4545
<ItemGroup>
4646
<Reference Include="Autofac, Version=3.3.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
4747
<SpecificVersion>False</SpecificVersion>
48-
<HintPath>..\..\..\packages\Autofac.3.3.1\lib\net40\Autofac.dll</HintPath>
48+
<HintPath>..\..\packages\Autofac.3.3.1\lib\net40\Autofac.dll</HintPath>
4949
</Reference>
5050
<Reference Include="Microsoft.Practices.EnterpriseLibrary.Common">
51-
<HintPath>..\..\..\packages\EnterpriseLibrary.Common.5.0.505.0\lib\NET35\Microsoft.Practices.EnterpriseLibrary.Common.dll</HintPath>
51+
<HintPath>..\..\packages\EnterpriseLibrary.Common.5.0.505.0\lib\NET35\Microsoft.Practices.EnterpriseLibrary.Common.dll</HintPath>
5252
</Reference>
5353
<Reference Include="Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
5454
<SpecificVersion>False</SpecificVersion>
55-
<HintPath>..\..\..\packages\CommonServiceLocator.1.2\lib\portable-windows8+net40+sl5+windowsphone8\Microsoft.Practices.ServiceLocation.dll</HintPath>
55+
<HintPath>..\..\packages\CommonServiceLocator.1.2\lib\portable-windows8+net40+sl5+windowsphone8\Microsoft.Practices.ServiceLocation.dll</HintPath>
5656
</Reference>
5757
<Reference Include="Microsoft.Practices.Unity, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
5858
<SpecificVersion>False</SpecificVersion>
59-
<HintPath>..\..\..\packages\Unity.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.dll</HintPath>
59+
<HintPath>..\..\packages\Unity.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.dll</HintPath>
6060
</Reference>
6161
<Reference Include="Microsoft.Practices.Unity.Configuration, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
6262
<SpecificVersion>False</SpecificVersion>
63-
<HintPath>..\..\..\packages\Unity.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.Configuration.dll</HintPath>
63+
<HintPath>..\..\packages\Unity.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.Configuration.dll</HintPath>
6464
</Reference>
6565
<Reference Include="Microsoft.Practices.Unity.Interception, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
6666
<SpecificVersion>False</SpecificVersion>
67-
<HintPath>..\..\..\packages\Unity.Interception.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.Interception.dll</HintPath>
67+
<HintPath>..\..\packages\Unity.Interception.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.Interception.dll</HintPath>
6868
</Reference>
6969
<Reference Include="Microsoft.Practices.Unity.Interception.Configuration, Version=2.1.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7070
<SpecificVersion>False</SpecificVersion>
71-
<HintPath>..\..\..\packages\Unity.Interception.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.Interception.Configuration.dll</HintPath>
71+
<HintPath>..\..\packages\Unity.Interception.2.1.505.2\lib\NET35\Microsoft.Practices.Unity.Interception.Configuration.dll</HintPath>
7272
</Reference>
7373
<Reference Include="System" />
7474
<Reference Include="System.Configuration" />
@@ -80,23 +80,17 @@
8080
<Reference Include="System.Xml" />
8181
</ItemGroup>
8282
<ItemGroup>
83-
<Compile Include="..\..\..\GlobalAssemblyInfo.cs">
84-
<Link>Properties\GlobalAssemblyInfo.cs</Link>
85-
</Compile>
86-
<Compile Include="..\..\..\ProductAssemblyInfo.cs">
87-
<Link>Properties\ProductAssemblyInfo.cs</Link>
88-
</Compile>
89-
<CodeAnalysisDictionary Include="..\..\..\Build\CodeAnalysisDictionary.xml">
83+
<CodeAnalysisDictionary Include="..\..\CodeAnalysisDictionary.xml">
9084
<Link>CodeAnalysisDictionary.xml</Link>
9185
</CodeAnalysisDictionary>
9286
<Compile Include="AutofacContainerConfigurator.cs" />
9387
<Compile Include="AutofacParameterBuilderVisitor.cs" />
9488
<Compile Include="EnterpriseLibraryRegistrationExtensions.cs" />
9589
<Compile Include="Properties\AssemblyInfo.cs" />
96-
<Compile Include="Properties\VersionAssemblyInfo.cs" />
9790
</ItemGroup>
9891
<ItemGroup>
9992
<None Include="app.config" />
93+
<None Include="Autofac.Extras.EnterpriseLibraryConfigurator.nuspec" />
10094
<None Include="packages.config" />
10195
</ItemGroup>
10296
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>Autofac.Extras.EnterpriseLibraryConfigurator</id>
5+
<version>$version$</version>
6+
<authors>Autofac Contributors</authors>
7+
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
8+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
9+
<description>Microsoft Enterprise Library features generally assume Unity as the backing store for IoC operations. This extension allows you to use Autofa as the backing store for Microsoft Enterprise Library application blocks.</description>
10+
<summary>Autofac extension allowing Autofac to be used with Microsoft Enterprise Library.</summary>
11+
<language>en-US</language>
12+
<title>Autofac Extras: Enterprise Library Configuration Support</title>
13+
<projectUrl>http://autofac.org</projectUrl>
14+
<iconUrl>http://code.google.com/p/autofac/logo</iconUrl>
15+
<dependencies>
16+
<dependency id="Autofac" version="[3.3.1,4.0.0)" />
17+
<dependency id="CommonServiceLocator" version="1.2.0" />
18+
<dependency id="EnterpriseLibrary.Common" version="[5.0.505.0]" />
19+
</dependencies>
20+
</metadata>
21+
</package>

src/Autofac.Extras.EnterpriseLibraryConfigurator/Properties/AssemblyInfo.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,16 @@
44

55
[assembly: AssemblyTitle("Autofac.Extras.EnterpriseLibraryConfigurator")]
66
[assembly: ComVisible(false)]
7-
[assembly: CLSCompliant(true)]
7+
[assembly: CLSCompliant(true)]
8+
9+
[assembly: AssemblyCompany("Autofac Project - http://autofac.org")]
10+
[assembly: AssemblyProduct("Autofac")]
11+
[assembly: AssemblyTrademark("")]
12+
[assembly: AssemblyCulture("")]
13+
14+
[assembly: AssemblyVersion("0.0.0.0")]
15+
[assembly: AssemblyFileVersion("0.0.0.0")]
16+
[assembly: AssemblyInformationalVersion("0.0.0")]
17+
[assembly: AssemblyConfiguration("Release")]
18+
[assembly: AssemblyCopyright("Copyright © 2014 Autofac Contributors")]
19+
[assembly: AssemblyDescription("Enterprise Library Configuration Support")]

0 commit comments

Comments
 (0)