Skip to content

Commit

Permalink
Added solution and build configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmg committed Feb 2, 2015
1 parent c34479c commit 8a0aa9d
Show file tree
Hide file tree
Showing 12 changed files with 158 additions and 47 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.Web.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.Integration.Web", "src\Autofac.Integration.Web\Autofac.Integration.Web.csproj", "{4BDD9D14-BACA-416C-919E-E9FF100F8F5D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autofac.Tests.Integration.Web", "tests\Autofac.Tests.Integration.Web\Autofac.Tests.Integration.Web.csproj", "{929BAA80-5ED7-484B-81C8-A4ACC9FF2009}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4BDD9D14-BACA-416C-919E-E9FF100F8F5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4BDD9D14-BACA-416C-919E-E9FF100F8F5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4BDD9D14-BACA-416C-919E-E9FF100F8F5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4BDD9D14-BACA-416C-919E-E9FF100F8F5D}.Release|Any CPU.Build.0 = Release|Any CPU
{929BAA80-5ED7-484B-81C8-A4ACC9FF2009}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{929BAA80-5ED7-484B-81C8-A4ACC9FF2009}.Debug|Any CPU.Build.0 = Debug|Any CPU
{929BAA80-5ED7-484B-81C8-A4ACC9FF2009}.Release|Any CPU.ActiveCfg = Release|Any CPU
{929BAA80-5ED7-484B-81C8-A4ACC9FF2009}.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.Web
ASP.NET WebForms integration for Autofac

[![Build status](https://ci.appveyor.com/api/projects/status/m440xdhvmm15iiw0?svg=true)](https://ci.appveyor.com/project/Autofac/autofac-web)
24 changes: 24 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: 3.2.0.{build}

assembly_info:
patch: true
file: AssemblyInfo.cs
assembly_version: "3.2.0.0"
assembly_file_version: "{version}"
assembly_informational_version: "3.2.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
18 changes: 6 additions & 12 deletions src/Autofac.Integration.Web/Autofac.Integration.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\..\Build\SharedKey.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\..\Autofac.snk</AssemblyOriginatorKeyFile>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand All @@ -24,7 +24,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.Integration.Web.xml</DocumentationFile>
</PropertyGroup>
Expand All @@ -35,27 +35,21 @@
<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.Integration.Web.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Autofac, Version=3.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<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="System" />
<Reference Include="System.Web" />
<Reference Include="System.Core" />
</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="Forms\AttributedInjection.cs" />
Expand Down Expand Up @@ -85,7 +79,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Forms\PropertyInjection.cs" />
<Compile Include="Forms\PropertyInjectionModule.cs" />
<Compile Include="Properties\VersionAssemblyInfo.cs" />
<Compile Include="RegistrationExtensions.cs" />
<Compile Include="Forms\UnsetPropertyInjection.cs" />
<Compile Include="Forms\UnsetPropertyInjectionModule.cs" />
Expand Down Expand Up @@ -121,6 +114,7 @@
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="Autofac.Integration.Web.nuspec" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
19 changes: 19 additions & 0 deletions src/Autofac.Integration.Web/Autofac.Integration.Web.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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.Web</id>
<version>$version$</version>
<authors>Autofac Contributors</authors>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>ASP.NET WebForms integration for Autofac</description>
<summary>Provides dependency management and property injection for ASP.NET WebForms Pages.</summary>
<language>en-US</language>
<title>Autofac WebForms Integration</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)" />
</dependencies>
</metadata>
</package>
16 changes: 15 additions & 1 deletion src/Autofac.Integration.Web/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("Autofac.Integration.Web")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Web, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e049261b18878327dfaaf0d666dea3bd2b0e4f18b33929ad4e5fbc9087e7eda3c1291d2de579206d9b4292456abffbe8be6c7060b36da0c33b883e3878eaf7c89fddf29e6e27d24588e81e86f3a22dd7b1a296b5f06fbfb500bbd7410faa7213ef4e2ce7622aefc03169b0324bcd30ccfe9ac8204e4960be6")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: CLSCompliant(true)]

[assembly: AssemblyCompany("Autofac Project - http://autofac.org")]
[assembly: AssemblyProduct("Autofac")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]

[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 ASP.NET WebForms Integration")]
23 changes: 0 additions & 23 deletions src/Autofac.Integration.Web/Properties/VersionAssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\..\Build\SharedKey.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\..\Autofac.snk</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
Expand Down Expand Up @@ -59,10 +59,10 @@
<ItemGroup>
<Reference Include="Autofac, Version=3.4.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<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="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">
Expand All @@ -79,17 +79,11 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\..\Source\Autofac.Integration.Web\Properties\VersionAssemblyInfo.cs">
<Link>Properties\VersionAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Forms\AttributedInjectionModuleFixture.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Source\Autofac.Integration.Web\Autofac.Integration.Web.csproj">
<ProjectReference Include="..\..\src\Autofac.Integration.Web\Autofac.Integration.Web.csproj">
<Project>{4BDD9D14-BACA-416C-919E-E9FF100F8F5D}</Project>
<Name>Autofac.Integration.Web</Name>
</ProjectReference>
Expand Down

0 comments on commit 8a0aa9d

Please sign in to comment.