-
Notifications
You must be signed in to change notification settings - Fork 80
/
Cqrs.Ninject.WebApi.csproj
87 lines (76 loc) · 3.17 KB
/
Cqrs.Ninject.WebApi.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
<title>ASP.NET Web API with CQRS.NET and Ninject</title>
<Authors>Chinchilla Software</Authors>
<Company>Chinchilla Software</Company>
<Copyright>Copyright © 2022</Copyright>
<Description>Use Ninject as your IoC container of choice with WebAPI and CQRS.NET</Description>
<PackageLicenseFile></PackageLicenseFile>
<PackageProjectUrl>https://github.com/Chinchilla-Software-Com/CQRS</PackageProjectUrl>
<RepositoryUrl>https://github.com/Chinchilla-Software-Com/CQRS</RepositoryUrl>
<PackageReleaseNotes>
Version 2.1
* Added Ninject module for WebAPI
</PackageReleaseNotes>
<PackageIcon>images\icon.png</PackageIcon>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageTags>CQRS;CQRS.NET;Ninject;WebAPI</PackageTags>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Remove="Cqrs.Ninject.WebApi.xml" />
<None Remove="Tools\Create-Log-Table.sql" />
</ItemGroup>
<ItemGroup>
<None Include="tools\init.ps1">
<Pack>True</Pack>
<PackagePath>tools\</PackagePath>
</None>
<None Include="tools\install.ps1">
<Pack>True</Pack>
<PackagePath>tools\</PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\icon.png" Link="icon.png">
<Pack>True</Pack>
<PackagePath>images\</PackagePath>
</None>
</ItemGroup>
<PropertyGroup>
<OutputType>library</OutputType>
<TargetFrameworks>net46</TargetFrameworks>
<DocumentationFile>Cqrs.Ninject.WebApi.xml</DocumentationFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Ninject" Version="3.3.4" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
<PackageReference Include="Ninject" Version="3.2.2" />
<PackageReference Include="Ninject.MVC3" version="3.2.1.0" />
<PackageReference Include="Ninject.Web.Common.WebHost" Version="3.2.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Cqrs.WebApi\Cqrs.WebApi.csproj" />
<ProjectReference Include="..\..\Cqrs\Cqrs.csproj" />
<ProjectReference Include="..\Cqrs.Ninject\Cqrs.Ninject.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="IF NOT EXIST "$(ProjectDir)Tools" MKDIR "$(ProjectDir)Tools"
IF EXIST "$(SolutionDir)Framework\Cqrs\Tools\install.ps1" COPY /Y "$(SolutionDir)Framework\Cqrs\Tools\install.ps1" "$(ProjectDir)Tools\install.ps1"" />
</Target>
<!--
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="COPY /Y "$(SolutionDir)Framework\Cqrs\Tools\install.ps1" "$(ProjectDir)Tools\install.ps1"
COPY /Y "$(SolutionDir)Framework\Cqrs\Tools\install.ps1" "$(ProjectDir)Tools\init.ps1"" />
</Target>
-->
</Project>