2

Build SSIS 2014 Solution/project from cmd line is not working Used several scripts with no luck.

C:\Users\Source\Repos\ETL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe" 
\ETL.sln /build "Development|Default"

Different variations of this script does not work.

Hadi
  • 36,233
  • 13
  • 65
  • 124
user1810575
  • 823
  • 3
  • 24
  • 45

1 Answers1

1

Try using Debug instead of "Development|Default":

C:\Users\Source\Repos\ETL> "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe" 
"ETL.sln" /build Debug

You can simply use devenv without specifying the full path:

C:\Users\Source\Repos\ETL> devenv "ETL.sln" /build Debug

Also try passing the solution full path as argument:

C:\Users\Source\Repos\ETL> devenv "C:\Users\Source\Repos\ETL\ETL.sln" /build Debug

References

Hadi
  • 36,233
  • 13
  • 65
  • 124
  • After looking thru internet, came to conclusion, there is no direct way to build or automate SSIS project from command line - Is that a fair statement? – user1810575 Jun 23 '19 at 10:42
  • I have tried all above and nothing works, done thru *.bat file with above commands. LMK if i need to do something different. – user1810575 Jun 23 '19 at 10:55
  • This is weird. Check the links i mentioned and you will know that you can automate the build operation. – Hadi Jun 24 '19 at 06:16