-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathMeadow.SolCodeGen.csproj
93 lines (74 loc) · 3.69 KB
/
Meadow.SolCodeGen.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
88
89
90
91
92
93
<Project Sdk="Microsoft.NET.Sdk">
<!--<Project Sdk="Microsoft.NET.Sdk" DefaultTargets="Build;Publish;Pack">-->
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<!--<GeneratePackageOnBuild>true</GeneratePackageOnBuild>-->
<!--<PackAsTool>true</PackAsTool>-->
<!--<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>-->
<!--<RestoreProjectStyle>PackageReference</RestoreProjectStyle>-->
<NoPackageAnalysis>true</NoPackageAnalysis>
<OutputType>Exe</OutputType>
<ToolCommandName>Meadow.SolCodeGen</ToolCommandName>
<AssemblyName>Meadow.SolCodeGen</AssemblyName>
<IncludeBuildOutput>false</IncludeBuildOutput>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Internal|AnyCPU' ">
<IntermediateOutputPath>obj\Internal\$(TargetFramework)</IntermediateOutputPath>
<OutputPath>bin\Internal</OutputPath>
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
<DefineConstants>;LANG_7_3;TRACE;DEBUG;NETCOREAPP;NETCOREAPP2_1</DefineConstants>
<DocumentationFile>obj\Internal\$(TargetFramework)\Meadow.SolCodeGen.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.2.5" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="2.10.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
<PackageReference Include="SolcLib.Native" Version="0.4.25.32" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'Release'">
<PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.8.3" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Meadow.Contract\Meadow.Contract.csproj" />
</ItemGroup>
<Target Name="AfterBuildDoPublish" AfterTargets="AfterBuild">
<Message Importance="High" Text="Running publish after build" />
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="Publish" />
</Target>
<Target Name="AfterPublishDoPack" AfterTargets="Publish" Condition="'$(Configuration)' == 'Release'">
<Message Importance="High" Text="Running pack after publish" />
<MSBuild Projects="$(MSBuildProjectFullPath)" Targets="Pack" />
</Target>
<Target Name="PackTaskDependencies" BeforeTargets="GenerateNuspec">
<Message Importance="High" Text="Setting up package structure" />
<Message Importance="High" Text="Packing tool dir $(OutputPath)/publish" />
<!--<ItemGroup>
<PackageReference Update="@(PackageReference)" PrivateAssets="All" />
</ItemGroup>-->
<ItemGroup>
<_PackageFiles Include="$(OutputPath)/publish/**/*">
<BuildAction>None</BuildAction>
<PackagePath>tools/netcoreapp2.1/any/</PackagePath>
</_PackageFiles>
<_PackageFiles Include="_._">
<BuildAction>None</BuildAction>
<PackagePath>lib/netstandard2.0/</PackagePath>
</_PackageFiles>
<_PackageFiles Include="Targets/Meadow.SolCodeGen.targets">
<BuildAction>None</BuildAction>
<PackagePath>build/netstandard2.0/</PackagePath>
</_PackageFiles>
<_PackageFiles Include="Targets/GenerateFromSol.targets">
<BuildAction>None</BuildAction>
<PackagePath>tools/</PackagePath>
</_PackageFiles>
</ItemGroup>
</Target>
</Project>