Added project.json files.

This commit is contained in:
David Fowler 2013-12-14 16:38:05 -08:00
parent e7ade37b3f
commit cb2e881d4b
7 changed files with 45 additions and 1 deletions

3
.gitignore vendored
View File

@ -23,4 +23,5 @@ PublishProfiles/
*DS_Store *DS_Store
*.ncrunchsolution *.ncrunchsolution
*.log *.log
*.vspx *.vspx
/.symbols

View File

@ -39,6 +39,9 @@
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServiceProviderExtensions.cs" /> <Compile Include="ServiceProviderExtensions.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Content Include="project.json" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@ -0,0 +1,6 @@
{
"dependencies": [],
"configurations": [
{ "net45": {} }
]
}

View File

@ -78,6 +78,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="packages.config" /> <None Include="packages.config" />
<Content Include="project.json" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Microsoft.AspNet.CoreServices\Microsoft.AspNet.CoreServices.csproj"> <ProjectReference Include="..\Microsoft.AspNet.CoreServices\Microsoft.AspNet.CoreServices.csproj">

View File

@ -0,0 +1,17 @@
{
"dependencies": [
{ "Owin": { "version": "1.0" } },
{ "Newtonsoft.Json": { "version": "4.5.11" } },
{ "Microsoft.Owin": { "version": "2.0.2" } },
{ "Microsoft.AspNet.WebApi.Client": { "version": "5.0.0" } },
{ "Microsoft.AspNet.CoreServices" : { } }
],
"configurations": [
{ "net45": {
"dependencies": [
{ "System.Net.Http" : { } }
]
}
}
]
}

View File

@ -78,6 +78,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="web.config" /> <Content Include="web.config" />
<Content Include="project.json" />
<None Include="web.Debug.config"> <None Include="web.Debug.config">
<DependentUpon>web.config</DependentUpon> <DependentUpon>web.config</DependentUpon>
</None> </None>

15
MvcSample/project.json Normal file
View File

@ -0,0 +1,15 @@
{
"dependencies": [
{ "Owin": { "version": "1.0" } },
{ "Microsoft.Owin.Diagnostics": { "version": "2.0.2" } },
{ "Microsoft.Owin": { "version": "2.0.2" } },
{ "Microsoft.AspNet.Mvc": { "version": "" } },
],
"configurations": [
{ "net45": {
"dependencies": [
{ "System.Net.Http" : { } }
] }
}
]
}