microsoft / microsoft/DacFx

Dacpac file name does not match `<Name />` tag

Open
#491 2 comments 1 reaction 0 assignees View on GitHub
area: build sdk bug
Dominant language
C#
Stars
460
Forks
29
Avg merge
4d 9h
Merged PRs (30d)
7

Description

## Environment
- SqlPackage or DacFx Version: 0.2.0-preview
- .NET Framework (Windows-only) or .NET Core: 17.12.0 Preview 2
- Environment (local platform and source/target platforms): Windows 11, .NET 9.0 RC2

## Issue
Setting the Name property on the project does not affect the output file generated by the build... it will match the name of the Project instead.
 
## Steps to Reproduce
1. Set the name tag in the project file to something different than the Project name.
2. Compile the project.
3. Check the Bin folder, the name of the .dacpac file matches the name of the project.

## More Details

**Did this occur in prior versions? If not - which version(s) did it work in?**
Unknown, assuming it did.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a project file whose Name tag differs from the project name, then inspect the build output in the Bin folder. Done means the generated .dacpac filename follows the Name tag rather than the project name, with the behavior verified on the reported SqlPackage/DacFx and .NET environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.