dotnet / dotnet/sourcelink

`GenerateAssemblyInfo` target is ordered after `_SetEmbeddedFilesFromSourceControlManagerUntrackedFiles` target

Open
#572 3 comments 6 reactions 0 assignees View on GitHub
external
Dominant language
C#
Stars
1.4k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

AssemblyInfo.cs is not embedded when `EmbedUntrackedSources` is true.

The workaround is to specify it manually in `Directory.Build.targets` file. The following also includes workaround for https://github.com/microsoft/msbuild/issues/1479:
```


$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))



```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.