Skip to content

Commit

Permalink
Fix SourceLink MSBuild flags (#2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
buvinghausen committed Oct 22, 2022
1 parent 4adfb52 commit 4ea9c0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@
<DebugType>embedded</DebugType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<EnablePackageValidation>true</EnablePackageValidation>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild Condition="'$(Configuration)'=='Release'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\CommonAssemblyInfo.cs" Link="CommonAssemblyInfo.cs" />
<None Include="README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Dependencyinjection.Abstractions" Version="2.1.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.*" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FluentValidation\FluentValidation.csproj" />
Expand Down
5 changes: 4 additions & 1 deletion src/FluentValidation/FluentValidation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Full release notes can be found at https://github.com/FluentValidation/FluentVal
<DebugType>embedded</DebugType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<EnablePackageValidation>true</EnablePackageValidation>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild Condition="'$(Configuration)'=='Release'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup>
<NoWarn>1591</NoWarn>
Expand All @@ -23,7 +26,7 @@ Full release notes can be found at https://github.com/FluentValidation/FluentVal
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.*" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.2" />
Expand Down

0 comments on commit 4ea9c0d

Please sign in to comment.