Skip to content

Commit

Permalink
Workaround untracked source files
Browse files Browse the repository at this point in the history
  • Loading branch information
0xced committed May 26, 2020
1 parent 93fa5bf commit b1537ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/DockerRunner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
<MinVerMinimumMajorMinor>0.9</MinVerMinimumMajorMinor>
</PropertyGroup>

<!-- The generated assembly attributes + assembly info files are not embedded even when EmbedUntrackedSources is true
See https://github.com/dotnet/sourcelink/issues/572
See also https://github.com/dotnet/sdk/issues/10614#issuecomment-634029130 to learn exactly when this workaround can be removed -->
<PropertyGroup Label="Workaround">
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
</PropertyGroup>
<ItemGroup Label="Workaround">
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)"/>
</ItemGroup>

<ItemGroup>
<None Include="../images/icon.png">
<Pack>True</Pack>
Expand Down

0 comments on commit b1537ff

Please sign in to comment.