|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>netstandard2.0</TargetFramework> |
| 5 | + <IncludeBuildOutput>false</IncludeBuildOutput> |
| 6 | + <NoPackageAnalysis>true</NoPackageAnalysis> |
| 7 | + |
| 8 | + <PackageId>XmlSchemaClassGenerator.SourceGenerator</PackageId> |
| 9 | + <Authors>Sven Hübner</Authors> |
| 10 | + <Description>Source generator for POCOs from XSD schema files, based on XmlSchemaClassGenerator</Description> |
| 11 | + <PackageTags>xml;xsd;Schema;Source Generator;poco;XmlSchemaClassGenerator</PackageTags> |
| 12 | + <PackageProjectUrl>https://github.com/mganss/XmlSchemaClassGenerator</PackageProjectUrl> |
| 13 | + <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
| 14 | + <RepositoryType>git</RepositoryType> |
| 15 | + <RepositoryUrl>git://github.com/mganss/XmlSchemaClassGenerator</RepositoryUrl> |
| 16 | + <RootNamespace>XmlSchemaClassGenerator</RootNamespace> |
| 17 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 18 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 19 | + <IncludeSymbols>true</IncludeSymbols> |
| 20 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 21 | + </PropertyGroup> |
| 22 | + |
| 23 | + <ItemGroup> |
| 24 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" /> |
| 25 | + </ItemGroup> |
| 26 | + |
| 27 | + <ItemGroup> |
| 28 | + <ProjectReference Include="..\XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj" PrivateAssets="all" /> |
| 29 | + </ItemGroup> |
| 30 | + |
| 31 | + <ItemGroup> |
| 32 | + <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.10.0" PrivateAssets="all" /> |
| 33 | + <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" /> |
| 34 | + </ItemGroup> |
| 35 | + |
| 36 | + <ItemGroup> |
| 37 | + <PackageReference Include="System.CodeDom" Version="5.0.0" PrivateAssets="all" GeneratePathProperty="true" /> |
| 38 | + <PackageReference Include="System.Text.Encoding.CodePages" Version="5.0.0" PrivateAssets="all" GeneratePathProperty="true" /> |
| 39 | + <PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" PrivateAssets="all" GeneratePathProperty="true" /> |
| 40 | + <PackageReference Include="System.ValueTuple" Version="4.5.0" PrivateAssets="all" GeneratePathProperty="true" /> |
| 41 | + <PackageReference Include="System.ComponentModel.Annotations" Version="4.4.0" GeneratePathProperty="true"/> |
| 42 | + </ItemGroup> |
| 43 | + |
| 44 | + <PropertyGroup> |
| 45 | + <GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn> |
| 46 | + </PropertyGroup> |
| 47 | + |
| 48 | + <Target Name="GetDependencyTargetPaths"> |
| 49 | + <ItemGroup> |
| 50 | + <TargetPathWithTargetPlatformMoniker Include="..\XmlSchemaClassGenerator\bin\$(Configuration)\$(TargetFramework)\XmlSchemaClassGenerator.dll" IncludeRuntimeDependency="false" /> |
| 51 | + <TargetPathWithTargetPlatformMoniker Include="$(PKGSystem_CodeDom)\lib\netstandard2.0\System.CodeDom.dll" IncludeRuntimeDependency="false" /> |
| 52 | + <TargetPathWithTargetPlatformMoniker Include="$(PKGSystem_Text_Encoding_CodePages)\lib\netstandard2.0\System.Text.Encoding.CodePages.dll" IncludeRuntimeDependency="false" /> |
| 53 | + <TargetPathWithTargetPlatformMoniker Include="$(PKGSystem_ValueTuple)\lib\netstandard1.0\System.ValueTuple.dll" IncludeRuntimeDependency="false" /> |
| 54 | + <TargetPathWithTargetPlatformMoniker Include="$(PKGSystem_ComponentModel_Annotations)\lib\netstandard2.0\System.ComponentModel.Annotations.dll" IncludeRuntimeDependency="false" /> |
| 55 | + <TargetPathWithTargetPlatformMoniker Include="$(PKGSystem_Runtime_CompilerServices_Unsafe)\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll" IncludeRuntimeDependency="false" /> |
| 56 | + </ItemGroup> |
| 57 | + </Target> |
| 58 | + |
| 59 | + <ItemGroup> |
| 60 | + <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" /> |
| 61 | + <None Include="..\XmlSchemaClassGenerator\bin\$(Configuration)\$(TargetFramework)\XmlSchemaClassGenerator.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" /> |
| 62 | + <None Include="$(PKGSystem_CodeDom)\lib\netstandard2.0\System.CodeDom.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/> |
| 63 | + <None Include="$(PKGSystem_Text_Encoding_CodePages)\lib\netstandard2.0\System.Text.Encoding.CodePages.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/> |
| 64 | + <None Include="$(PKGSystem_ValueTuple)\lib\netstandard1.0\System.ValueTuple.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/> |
| 65 | + <None Include="$(PKGSystem_ComponentModel_Annotations)\lib\netstandard2.0\System.ComponentModel.Annotations.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/> |
| 66 | + <None Include="$(PKGSystem_Runtime_CompilerServices_Unsafe)\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/> |
| 67 | + |
| 68 | + <None Include="XmlSchemaClassGenerator.SourceGenerator.props" Pack="true" PackagePath="build/$(PackageId).props" /> |
| 69 | + </ItemGroup> |
| 70 | + |
| 71 | +</Project> |
0 commit comments