Describe the Bug
ThisAssembly conflicts with the "ThisAssembly" generated by Nerdbank.GitVersioning
https://github.com/dotnet/Nerdbank.GitVersioning
Steps to Reproduce
- Reference both Nerdbank.GitVersioning and ThisAssembly.Project
<PackageReference Include="ThisAssembly.Project" Version="1.0.9" Condition="!Exists('packages.config')"/>
<PackageReference Include="Nerdbank.GitVersioning" Condition="!Exists('packages.config')">
<PrivateAssets>all</PrivateAssets>
<Version>3.5.113</Version>
</PackageReference>
public class ReproTest
{
[Fact]
public void Repro()
{
var fileVersion = ThisAssembly.AssemblyFileVersion; // 'ThisAssembly' does not contain a definition for 'AssemblyName'
}
}
Expected Behavior
ThisAssembly.Project should not prevent Nerbbank.GitVersioning from creating ThisAssembly properties.
Exception with Stack Trace
Version Info
1.0.9
Additional Info
Describe the Bug
ThisAssembly conflicts with the "ThisAssembly" generated by Nerdbank.GitVersioning
https://github.com/dotnet/Nerdbank.GitVersioning
Steps to Reproduce
Expected Behavior
ThisAssembly.Project should not prevent Nerbbank.GitVersioning from creating ThisAssembly properties.
Exception with Stack Trace
Version Info
1.0.9
Additional Info