Hi,
How do i convert .dbproj to .sqlproj programmatically using C# Code Please help me
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Prakash KumarRank #1,799 · 828 reputationPosted Nov 2, 2016, 2:07 AM EDT
To convert a project
Open a SQL Server 2005 or 2008 Database Project.
The Convert to SQL Server Database project wizard automatically opens. Select Convert to SQL Server Database project and click OK. Keep the default setting to backup existing files checked.
A conversion report is automatically generated, listing all files that have been converted. Click the + sign next to the project filename to read more information about the conversion process.
Notice that in Solution Explorer, project file, property files and schema objects are all converted.
To change a project’s target platform
Right-click your newly converted project in Solution Explorer and select Properties to access the Project Settings dialog box.
Select any of the SSDT-supported platforms in the Target platform dropdown list.