Skip to content

Commit c74bdd2

Browse files
committed
Added solution and build configuration.
1 parent c53485e commit c74bdd2

File tree

12 files changed

+168
-51
lines changed

12 files changed

+168
-51
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:

Autofac.Extras.MvvmCross.sln

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.MvvmCross", "src\Autofac.Extras.MvvmCross\Autofac.Extras.MvvmCross.csproj", "{1C6A45CE-216B-4F3B-8EBC-CB8782B76E7E}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autofac.Extras.Tests.MvvmCross", "test\Autofac.Extras.Tests.MvvmCross\Autofac.Extras.Tests.MvvmCross.csproj", "{BFC1B673-4FB5-4240-8495-095802188DFD}"
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+
{1C6A45CE-216B-4F3B-8EBC-CB8782B76E7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{1C6A45CE-216B-4F3B-8EBC-CB8782B76E7E}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{1C6A45CE-216B-4F3B-8EBC-CB8782B76E7E}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{1C6A45CE-216B-4F3B-8EBC-CB8782B76E7E}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{BFC1B673-4FB5-4240-8495-095802188DFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{BFC1B673-4FB5-4240-8495-095802188DFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{BFC1B673-4FB5-4240-8495-095802188DFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{BFC1B673-4FB5-4240-8495-095802188DFD}.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>

Portable.ruleset

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RuleSet Name="Autofac - Portable Class Library Rules" Description="This ruleset is for Autofac assemblies that build as Portable Class Libraries." 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="CA1005" Action="None" />
7+
<Rule Id="CA1006" Action="None" />
8+
<Rule Id="CA1016" Action="None" />
9+
<Rule Id="CA1020" Action="None" />
10+
<Rule Id="CA1026" Action="None" />
11+
<Rule Id="CA1032" Action="None" />
12+
<Rule Id="CA1716" Action="None" />
13+
<Rule Id="CA1724" Action="None" />
14+
<Rule Id="CA2000" Action="None" />
15+
<Rule Id="CA2243" Action="None" />
16+
</Rules>
17+
</RuleSet>

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ Autofac.Extras.MvvmCross
22
========================
33

44
MvvmCross integration for Autofac IoC
5+
6+
[![Build status](https://ci.appveyor.com/api/projects/status/bg69gsksk4nxawso?svg=true)](https://ci.appveyor.com/project/Autofac/autofac-extras-mvvmcross)

appveyor.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: 3.3.0.{build}
2+
3+
assembly_info:
4+
patch: true
5+
file: AssemblyInfo.cs
6+
assembly_version: "3.3.0.0"
7+
assembly_file_version: "{version}"
8+
assembly_informational_version: "3.3.0-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.MvvmCross/Autofac.Extras.MvvmCross.csproj

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<RootNamespace>Autofac.Extras.MvvmCross</RootNamespace>
1111
<AssemblyName>Autofac.Extras.MvvmCross</AssemblyName>
1212
<SignAssembly>true</SignAssembly>
13-
<AssemblyOriginatorKeyFile>..\..\..\Build\SharedKey.snk</AssemblyOriginatorKeyFile>
13+
<AssemblyOriginatorKeyFile>..\..\Autofac.snk</AssemblyOriginatorKeyFile>
1414
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1515
<TargetFrameworkProfile>Profile259</TargetFrameworkProfile>
1616
<FileAlignment>512</FileAlignment>
@@ -28,7 +28,7 @@
2828
<ErrorReport>prompt</ErrorReport>
2929
<WarningLevel>4</WarningLevel>
3030
<DocumentationFile>bin\Debug\Autofac.Extras.MvvmCross.xml</DocumentationFile>
31-
<CodeAnalysisRuleSet>..\..\..\Build\Portable.ruleset</CodeAnalysisRuleSet>
31+
<CodeAnalysisRuleSet>..\..\Portable.ruleset</CodeAnalysisRuleSet>
3232
<RunCodeAnalysis>false</RunCodeAnalysis>
3333
</PropertyGroup>
3434
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -38,36 +38,33 @@
3838
<DefineConstants>TRACE</DefineConstants>
3939
<ErrorReport>prompt</ErrorReport>
4040
<WarningLevel>4</WarningLevel>
41-
<CodeAnalysisRuleSet>..\..\..\Build\Portable.ruleset</CodeAnalysisRuleSet>
41+
<CodeAnalysisRuleSet>..\..\Portable.ruleset</CodeAnalysisRuleSet>
4242
<DocumentationFile>bin\Release\Autofac.Extras.MvvmCross.xml</DocumentationFile>
4343
<RunCodeAnalysis>false</RunCodeAnalysis>
4444
</PropertyGroup>
4545
<ItemGroup>
4646
<Reference Include="Autofac">
47-
<HintPath>..\..\..\packages\Autofac.3.5.0\lib\portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\Autofac.dll</HintPath>
47+
<HintPath>..\..\packages\Autofac.3.5.0\lib\portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\Autofac.dll</HintPath>
4848
</Reference>
4949
<Compile Include="AutofacMvxIocProviderResources.Designer.cs">
5050
<AutoGen>True</AutoGen>
5151
<DesignTime>True</DesignTime>
5252
<DependentUpon>AutofacMvxIocProviderResources.resx</DependentUpon>
5353
</Compile>
5454
<Compile Include="Properties\AssemblyInfo.cs" />
55-
<Compile Include="..\..\..\GlobalAssemblyInfo.cs">
56-
<Link>Properties\GlobalAssemblyInfo.cs</Link>
57-
</Compile>
58-
<CodeAnalysisDictionary Include="..\..\..\Build\CodeAnalysisDictionary.xml">
55+
<CodeAnalysisDictionary Include="..\..\CodeAnalysisDictionary.xml">
5956
<Link>CodeAnalysisDictionary.xml</Link>
6057
</CodeAnalysisDictionary>
61-
<Compile Include="Properties\VersionAssemblyInfo.cs" />
6258
<Compile Include="AutofacMvxIocProvider.cs" />
6359
<Reference Include="Cirrious.CrossCore">
64-
<HintPath>..\..\..\packages\MvvmCross.HotTuna.CrossCore.3.2.1\lib\portable-win+net45+wp8+win8+wpa81+MonoTouch+MonoAndroid\Cirrious.CrossCore.dll</HintPath>
60+
<HintPath>..\..\packages\MvvmCross.HotTuna.CrossCore.3.2.1\lib\portable-win+net45+wp8+win8+wpa81+MonoTouch+MonoAndroid\Cirrious.CrossCore.dll</HintPath>
6561
</Reference>
6662
<Reference Include="Cirrious.MvvmCross.Localization">
67-
<HintPath>..\..\..\packages\MvvmCross.HotTuna.CrossCore.3.2.1\lib\portable-win+net45+wp8+win8+wpa81+MonoTouch+MonoAndroid\Cirrious.MvvmCross.Localization.dll</HintPath>
63+
<HintPath>..\..\packages\MvvmCross.HotTuna.CrossCore.3.2.1\lib\portable-win+net45+wp8+win8+wpa81+MonoTouch+MonoAndroid\Cirrious.MvvmCross.Localization.dll</HintPath>
6864
</Reference>
6965
</ItemGroup>
7066
<ItemGroup>
67+
<None Include="Autofac.Extras.MvvmCross.nuspec" />
7168
<None Include="packages.config" />
7269
</ItemGroup>
7370
<ItemGroup>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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.MvvmCross</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>This extension provides support for using Autofac as the DI framework in MvvmCross.</description>
10+
<summary>Autofac extension supporting MvvmCross dependency injection.</summary>
11+
<language>en-US</language>
12+
<title>Autofac Extras: MvvmCross IoC 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.5.0,4.0.0)" />
17+
<dependency id="MvvmCross.HotTuna.CrossCore" version="[3.2.1,4.0.0)" />
18+
</dependencies>
19+
</metadata>
20+
</package>
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
using System;
22
using System.Reflection;
3+
using System.Resources;
34

45
// MvvmCross integration is not marked with APTCA because the MvvmCross
56
// framework is all SecurityCritical by default.
67
using System.Runtime.InteropServices;
78

89
[assembly: AssemblyTitle("Autofac.Extras.MvvmCross")]
10+
[assembly: CLSCompliant(false)] // MvvmCross is not marked CLS compliant.
11+
[assembly: ComVisible(false)]
912

10-
// MvvmCross is not marked CLS compliant.
11-
[assembly: CLSCompliant(false)]
13+
[assembly: AssemblyCompany("Autofac Project - http://autofac.org")]
14+
[assembly: AssemblyProduct("Autofac")]
15+
[assembly: AssemblyTrademark("")]
16+
[assembly: AssemblyCulture("")]
17+
[assembly: NeutralResourcesLanguage("en")]
1218

13-
[assembly: ComVisible(false)]
19+
[assembly: AssemblyVersion("0.0.0.0")]
20+
[assembly: AssemblyFileVersion("0.0.0.0")]
21+
[assembly: AssemblyInformationalVersion("0.0.0")]
22+
[assembly: AssemblyConfiguration("Release")]
23+
[assembly: AssemblyCopyright("Copyright © 2014 Autofac Contributors")]
24+
[assembly: AssemblyDescription("MvvmCross integration for Autofac IoC")]

0 commit comments

Comments
 (0)