dotnet / dotnet/msbuild

Build parameters are ignored

Open
#6,458 10 comments 0 reactions 1 assignee Claimed by @ghogen View on GitHub
Area: Documentation triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

**Visual Studio Version**: N\A (dotnet command line)

**Summary**:
Running `dotnet build -p:Version=2.0.0;AssemblyVersion=2.0.0
does not change both assembly version and product version, only the first one is respected.

**Steps to Reproduce**:
On MacOS
1. See above, can be done on https://github.com/IsraelHikingMap/Site

**Expected Behavior**:
Both parameters will be respected

**Actual Behavior**:
Only the first one is respected, the other one is ignored, changing the order will respect the assembly version and not product version
**User Impact**:
Can't properly version dlls in docker container

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.