-
Notifications
You must be signed in to change notification settings - Fork 3
/
Smart.Data.Accessor.Generator.Tools.csproj
60 lines (50 loc) · 2.16 KB
/
Smart.Data.Accessor.Generator.Tools.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
<RootNamespace>Smart.Data.Accessor.Generator</RootNamespace>
<CodeAnalysisRuleSet>..\Smart.Data.Accessor.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0' or '$(TargetFramework)' == 'net6.0'">
<OutputType>Exe</OutputType>
</PropertyGroup>
<PropertyGroup>
<NoPackageAnalysis>true</NoPackageAnalysis>
<IncludeBuildOutput>false</IncludeBuildOutput>
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>
<PropertyGroup>
<PackageId>Usa.Smart.Data.Accessor</PackageId>
<Title>Smart.Data.Accessor</Title>
<Description>Smart data accessor generator library</Description>
<PackageTags>smart ado.net orm dao</PackageTags>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0' or '$(TargetFramework)' == 'net6.0'">
<FrameworkReference Include="Microsoft.AspNetCore.App" PrivateAssets="All" />
<FrameworkReference Include="Microsoft.WindowsDesktop.App.WPF" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0' or '$(TargetFramework)' == 'net6.0'">
<ProjectReference Include="..\Smart.Data.Accessor.Generator.Core\Smart.Data.Accessor.Generator.Core.csproj" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Smart.Data.Accessor\Smart.Data.Accessor.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="build\**" Pack="True" PackagePath="build" />
</ItemGroup>
<Target Name="PackToolsDependencies" BeforeTargets="GenerateNuspec">
<ItemGroup>
<_PackageFiles Include="bin\Release\net8.0\**">
<PackagePath>tools\net8.0</PackagePath>
<Visible>false</Visible>
<BuildAction>Content</BuildAction>
</_PackageFiles>
</ItemGroup>
<ItemGroup>
<_PackageFiles Include="bin\Release\net6.0\**">
<PackagePath>tools\net6.0</PackagePath>
<Visible>false</Visible>
<BuildAction>Content</BuildAction>
</_PackageFiles>
</ItemGroup>
</Target>
</Project>