forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServiceStack.Razor.BuildTask.csproj
More file actions
95 lines (92 loc) · 4.86 KB
/
ServiceStack.Razor.BuildTask.csproj
File metadata and controls
95 lines (92 loc) · 4.86 KB
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
88
89
90
91
92
93
94
95
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>ServiceStack.Razor.BuildTask</PackageId>
<AssemblyName>ServiceStack.Razor.BuildTask</AssemblyName>
<TargetFrameworks>net45</TargetFrameworks>
<IsTool>true</IsTool>
<Title>.NET v4.5 only features for ServiceStack</Title>
<PackageDescription>
ServiceStack Razor Documentation: http://razor.servicestack.net
Compile Razor Views into a compiled .dll you can use in ServiceStack hosts to eliminate Razor View compilation at runtime for instant start-up times.
</PackageDescription>
<PackageTags>Razor;ViewEngine;View;Templates;Controllers;ASP.NET;Self-Host;ServiceStack</PackageTags>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ServiceStack.Interfaces\ServiceStack.Interfaces.csproj" />
<ProjectReference Include="..\ServiceStack.Common\ServiceStack.Common.csproj" />
<PackageReference Include="ServiceStack.Text" Version="$(Version)" />
<PackageReference Include="Microsoft.AspNet.Razor" Version="3.2.7" />
<PackageReference Include="System.Memory" Version="4.5.4" />
<Reference Include="System" />
<Reference Include="System.Web" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xml" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Configuration" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Build.Framework" />
<Reference Include="Microsoft.Build.Utilities.v4.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\AddPageVirtualPathAttribute.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\AggregateCodeTransformer.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\DefaultCodeTransformers.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\DirectivesBasedTransformers.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\ExcludeFromCodeCoverageTransformer.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\MakeTypePartial.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\MvcWebConfigTransformer.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\RazorCodeTransformerBase.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\RemoveLineHiddenPragmas.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\RewriteLinePragmas.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\SetTypeNamespace.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\SetTypeVisibility.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\SuffixFileNameTransformer.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CodeTransformers\WebConfigTransformer.cs" />
<Compile Include="..\ServiceStack.Razor\Compilation\CompilerServices.cs">
<Link>CompilerServices.cs</Link>
</Compile>
<Compile Include="..\ServiceStack.Razor\Compilation\DirectivesParser.cs">
<Link>DirectivesParser.cs</Link>
</Compile>
<Compile Include="..\ServiceStack.Razor\Compilation\EventArgs.cs">
<Link>EventArgs.cs</Link>
</Compile>
<Compile Include="..\ServiceStack.Razor\Compilation\IRazorCodeTransformer.cs">
<Link>IRazorCodeTransformer.cs</Link>
</Compile>
<Compile Include="..\ServiceStack.Razor\Compilation\IRazorHost.cs">
<Link>IRazorHost.cs</Link>
</Compile>
<Compile Include="..\ServiceStack.Razor\Compilation\RazorPageHost.cs">
<Link>RazorPageHost.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="ServiceStack.Razor.BuildTask.targets">
<Pack>true</Pack>
<PackagePath>build</PackagePath>
</Content>
<Content Include="*.ps1">
<Pack>true</Pack>
<PackagePath>tools</PackagePath>
</Content>
</ItemGroup>
<!--https://github.com/NuGet/Home/issues/6321#issuecomment-353511169-->
<PropertyGroup>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificBuildOutput);GetMyPackageFiles</TargetsForTfmSpecificContentInPackage>
</PropertyGroup>
<Target Name="GetMyPackageFiles" DependsOnTargets="Publish">
<ItemGroup>
<TfmSpecificPackageFiles Include="$(PublishDir)/**/*.*" />
</ItemGroup>
<!--All published file in different tools/tfm-->
<ItemGroup>
<TfmSpecificPackageFile Include="@(TfmSpecificPackageFiles)">
<PackagePath>tools/%(TfmSpecificPackageFiles.RecursiveDir)%(TfmSpecificPackageFiles.Filename)%(TfmSpecificPackageFiles.Extension)</PackagePath>
</TfmSpecificPackageFile>
</ItemGroup>
</Target>
</Project>