dotnet / dotnet/msbuild

AssemblyVersion clobbers Version

Open
#3,982 1 comment 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 6h
Merged PRs (30d)
139

Description

### Steps to reproduce

Create a file `DefaultProperties.targets` with this content:

``` xml


123

```

Create a file `Repro.csproj` with this content:

``` xml



2.0

```

Build a DLL from `Repro.csproj`.

### Expected behavior
The DLL has file version 123.

### Actual behavior
The DLL has file version 2.0.

### Environment data
`msbuild /version` output: 15.9.20.62856

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.