microsoft / microsoft/DacFx

sqlpackage Net. 6 doesn't throw the same "has an unresolved reference" error as sqlpacakge .Net 4.6.2

Open
#272 0 comments 0 reactions 1 assignee Claimed by @llali View on GitHub
bug under-investigation
Dominant language
C#
Stars
460
Forks
29
Avg merge
4d 9h
Merged PRs (30d)
7

Description

- SqlPackage or DacFx Version:
- .NET Framework (Windows-only) or .NET Core:
- Environment (local platform and source/target platforms):

**Steps to Reproduce:**

1. Create a db with these scripts:
CREATE TABLE [Table1 ]
(
[id] [int] IDENTITY(1,1) NOT NULL
)"
GO
CREATE View [V1]as
Select BlobId from Table1
_Note: notice that table1 has a space at the end of them and view doesn't use brackets for table name_
3. Export the db using sqlpackage .Net 4.6.2
4. Export the db using sqlpackage .Net 6

Expected: both should return "has an unresolved reference to object" error
Actual: .Net 6 version successfully exports the db but .Net 4.6.2 return "has an unresolved reference to object" error.

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

(DacFx/SqlPackage/SSMS/Azure Data Studio)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.