Removed declared ANIs and referenced Microsoft.Net.Runtime.Interfaces instead

This commit is contained in:
David Fowler 2014-04-09 22:14:59 -07:00
parent e3c64aeb55
commit 0bda88145d
4 changed files with 2 additions and 27 deletions

View File

@ -1,10 +0,0 @@
using System;
namespace Microsoft.Net.Runtime
{
[AssemblyNeutral]
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
public sealed class AssemblyNeutralAttribute : Attribute
{
}
}

View File

@ -1,14 +0,0 @@
using System;
using System.Runtime.Versioning;
namespace Microsoft.Net.Runtime
{
[AssemblyNeutral]
public interface IApplicationEnvironment
{
string ApplicationName { get; }
string Version { get; }
string ApplicationBasePath { get; }
FrameworkName TargetFramework { get; }
}
}

View File

@ -20,7 +20,6 @@
<Content Include="Project.json" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyNeutralAttribute.cs" />
<Compile Include="Builder\BuilderFactory.cs" />
<Compile Include="Builder\HttpContextFactory.cs" />
<Compile Include="Builder\IBuilderFactory.cs" />
@ -28,7 +27,6 @@
<Compile Include="HostingContext.cs" />
<Compile Include="HostingEngine.cs" />
<Compile Include="HostingServices.cs" />
<Compile Include="IApplicationEnvironment.cs" />
<Compile Include="IHostingEngine.cs" />
<Compile Include="PipelineInstance.cs" />
<Compile Include="Program.cs" />

View File

@ -6,7 +6,8 @@
"Microsoft.AspNet.PipelineCore": "0.1-alpha-*",
"Microsoft.AspNet.Abstractions": "0.1-alpha-*",
"Microsoft.AspNet.FeatureModel": "0.1-alpha-*",
"Microsoft.AspNet.Security.DataProtection": "0.1-alpha-*"
"Microsoft.AspNet.Security.DataProtection": "0.1-alpha-*",
"Microsoft.Net.Runtime.Interfaces": "0.1-alpha-*"
},
"configurations": {
"net45": {},