Skip to content

Commit

Permalink
Strong name XmlSchemaClassGenerator assembly (Fix #170)
Browse files Browse the repository at this point in the history
Add SourceLink
  • Loading branch information
Michael Ganss committed Feb 28, 2020
1 parent 268f48a commit df15158
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<RepositoryType>git</RepositoryType>
<RepositoryUrl>git://github.com/mganss/XmlSchemaClassGenerator</RepositoryUrl>
<IncludeBuildOutput>false</IncludeBuildOutput>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj" />
Expand All @@ -32,5 +35,6 @@
<ItemGroup>
<PackageReference Include="Glob.cs" Version="5.0.224" />
<PackageReference Include="Mono.Options" Version="6.6.0.161" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>
7 changes: 7 additions & 0 deletions XmlSchemaClassGenerator/XmlSchemaClassGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<Authors>Michael Ganss</Authors>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<AssemblyName>XmlSchemaClassGenerator</AssemblyName>
<AssemblyOriginatorKeyFile>XmlSchemaClassGenerator.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<PackageId>XmlSchemaClassGenerator-beta</PackageId>
<PackageTags>xsd</PackageTags>
<PackageProjectUrl>https://github.com/mganss/XmlSchemaClassGenerator</PackageProjectUrl>
Expand All @@ -19,6 +22,9 @@
<RepositoryUrl>git://github.com/mganss/XmlSchemaClassGenerator</RepositoryUrl>
<RootNamespace>XmlSchemaClassGenerator</RootNamespace>
<LangVersion>latest</LangVersion>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
Expand All @@ -30,6 +36,7 @@
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
Expand Down
Binary file added XmlSchemaClassGenerator/XmlSchemaClassGenerator.snk
Binary file not shown.
4 changes: 4 additions & 0 deletions xscgen-proj/xscgen-proj.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<RepositoryUrl>git://github.com/mganss/XmlSchemaClassGenerator</RepositoryUrl>
<ToolCommandName>dotnet-xscgen</ToolCommandName>
<DefineConstants>$(DefineConstants);NETSTANDARD</DefineConstants>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj" />
Expand All @@ -30,6 +33,7 @@
<ItemGroup>
<PackageReference Include="Glob.cs" Version="5.0.224" />
<PackageReference Include="Mono.Options" Version="6.6.0.161" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
<PropertyGroup>
<SonarQubeExclude>true</SonarQubeExclude>
Expand Down
4 changes: 4 additions & 0 deletions xscgen/xscgen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<PackAsTool>true</PackAsTool>
<ToolCommandName>xscgen</ToolCommandName>
<DefineConstants>$(DefineConstants);NETSTANDARD</DefineConstants>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj" />
Expand All @@ -31,6 +34,7 @@
<ItemGroup>
<PackageReference Include="Glob.cs" Version="5.0.224" />
<PackageReference Include="Mono.Options" Version="6.6.0.161" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>
<PropertyGroup>
<SonarQubeExclude>true</SonarQubeExclude>
Expand Down

0 comments on commit df15158

Please sign in to comment.