microsoft / DacFx

DacFx, SqlPackage, and other SQL development libraries enable declarative database development and database portability across SQL versions and environments. Share feedback here on dacpacs, bacpacs, and SQL projects.
https://aka.ms/sqlpackage-ref
MIT License
313 stars 19 forks source link

Updating Microsoft.Build.Sql for utilising in Visual Studio #443

Closed Ri7Sh closed 4 months ago

czb182 commented 3 months ago

Should the latest version of VS be able to build this now, using latest 1.19-preview sdk?

I tried migrating one, but gives build error around .net framework. I followed the migration docs.

Your project does not reference ".NETFramework,Version=v4.7.2" framework. Add a reference to ".NETFramework,Version=v4.7.2" in the "TargetFrameworks" property of your project file and then re-run NuGet restore. Deloitte.Omnia.Materiality.Database C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\NuGet\17.0\Microsoft.NuGet.targets 198

dzsquared commented 3 months ago

@czb182 unfortunately more than this PR is needed for support in Visual Studio. this work is ongoing! you can track progress for SSDT on #180