-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSqlCodeGen.csproj
More file actions
56 lines (46 loc) · 2.59 KB
/
SqlCodeGen.csproj
File metadata and controls
56 lines (46 loc) · 2.59 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Source Generator settings -->
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<IsRoslynComponent>true</IsRoslynComponent>
<!-- NuGet package settings -->
<PackageId>SqlCodeGen</PackageId>
<Version>1.0.8</Version>
<Authors>ESA</Authors>
<Description>Roslyn Source Generator for EF Core entity binding classes and TypeScript enums from SQL schema files. Reads SQL CREATE TABLE and MERGE statements directly - no database connection required.</Description>
<PackageTags>source-generator;roslyn;ef-core;code-generation;sql;typescript</PackageTags>
<RepositoryUrl>https://github.com/esassoc/SqlCodeGen</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!-- Include generator as analyzer -->
<IncludeBuildOutput>false</IncludeBuildOutput>
<DevelopmentDependency>true</DevelopmentDependency>
<!-- Suppress analyzer warnings for netstandard2.0 -->
<!-- RS1035: Allow file IO for writing generated files to disk (git history preservation) -->
<NoWarn>$(NoWarn);NU5128;RS1035</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
</ItemGroup>
<!-- Pack the generator into the analyzer folder of the NuGet package -->
<ItemGroup>
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>
<!-- Include MSBuild props and targets in the package -->
<ItemGroup>
<None Include="build\SqlCodeGen.props" Pack="true" PackagePath="build\" />
<None Include="build\SqlCodeGen.targets" Pack="true" PackagePath="build\" />
<None Include="build\Generate-TypeScriptEnums.ps1" Pack="true" PackagePath="build\" />
<None Include="README.md" Pack="true" PackagePath="\" />
<!-- Also include in buildTransitive for transitive consumption -->
<None Include="build\SqlCodeGen.props" Pack="true" PackagePath="buildTransitive\" />
<None Include="build\SqlCodeGen.targets" Pack="true" PackagePath="buildTransitive\" />
<None Include="build\Generate-TypeScriptEnums.ps1" Pack="true" PackagePath="buildTransitive\" />
</ItemGroup>
</Project>