Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# baldec 10/9/2008 10:02 AM
Hello there, here comes a silly question on post build events and VS in conjunction with Cuyahoga.
xcopy /s /y "$(ProjectDir)"Install\Database\*.sql "$(SolutionDir)"Web\Modules\[b][ModuleName][/b]\Install\Database\

This being the standard post-build event in the Cuyahoga project. And currently I am trying understand why the install stuff aint coming along as it should.

My general interpretation at first glance is that there is one folder layer missing in the first part
"$(ProjectDir)"Install\Database\*.sql

Since the SQL files are generally in the mssql2000 folder (or another folder if running another DB).

Thus my assumption was be to add this folder in the path, resulting in
xcopy /s /y "$(ProjectDir)"Install\Database\mssql2000*.sql "$(SolutionDir)"Web\Modules\[b][ModuleName][/b]\Install\Database\mssql2000

Though that didn't work either, no install files being published during that process...

Any suggestions on how to get the module DB install/uninstall files to propagate during publish? Anything botched with the solution or is there some configuration one needs to do for this to work?
# baldec 10/9/2008 10:18 AM
And I just realised that I am looking for hens among the horses...

The post build event is working just fine, though the publish is not thus the install files are not moved correctly...

So problem persists though the cause aint with the post-build event.
# martijnb 10/13/2008 10:29 PM
If you want to publish the installation files, you have to also include these in the web project, I think (with build action set to content).