You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET Framework (Windows-only) or .NET Core: .NET Core
Environment (local platform and source/target platforms):
Steps to Reproduce:
Create a synonym for a table in another database (same solution, different .sqlprojx file referenced in .sqlprojx)
e.g.
CREATE SYNONYM dbo.Table$Archive FOR [$(DB_Archive)].dbo.Table;
Use the Synonym inside a view
It will throw the below error when trying to build the solution with dotnet build:
Build error SQL71501: View: [dbo].[TableLog] has an unresolved reference to object [dbo].[Table$Archive].
Did this occur in prior versions? If not - which version(s) did it work in? I'm trying to convert my old .sqlproj file to new sdk-style to apply custom code analysis and it's failing to build because of the above error SQL71501
(DacFx/SqlPackage/SSMS/Azure Data Studio)
The text was updated successfully, but these errors were encountered:
Hi @ErikEJ ! Thank you for your blazing fast response to my thread.
We are actually trying to upgrade from SSDT VS ancient style to the new-sdk style.
We can still wait, of course, for this bug to be fixed until we can fully upgrade.
Steps to Reproduce:
e.g.
It will throw the below error when trying to build the solution with
dotnet build
:Did this occur in prior versions? If not - which version(s) did it work in? I'm trying to convert my old .sqlproj file to new sdk-style to apply custom code analysis and it's failing to build because of the above error SQL71501
(DacFx/SqlPackage/SSMS/Azure Data Studio)
The text was updated successfully, but these errors were encountered: