views:

36

answers:

0

Hi - I have a huge solution with more than 20 projects (Included with the main vbproj thro project references)I'm trying to get rid of project references and use dll reference instead to improve the build performance.

Visual Studio .Net 2003 doesn’t have a inbuilt PostBuild event to move a compiled dll’s to a central folder location where it could be referred by other projects.

For PrePostBuildRules Add-in, which when added to VS 2003 Projects, provides a add-in to perform pre/post build events.

But when a rule is added to either execute a command /batch file to copy the dll’s to any external location, it fails.

copy $(TargetPath) C:\test\dll's

Output : 
Preparing resources...
Updating references...
Performing main compilation...
Building satellite assemblies...
System.InvalidOperationException: Cannot start process because a file name has not been provided.
   at System.Diagnostics.Process.Start()
   at BuildRules.Connect.RunProjectRules(String project, String projectConfig, String platform, Boolean pre) in C:\VSAutoSamples\BuildRules\Connect.vb:line 226
System.InvalidOperationException: Cannot start process because a file name has not been provided.
   at System.Diagnostics.Process.Start()
   at BuildRules.Connect.RunProjectRules(String project, String projectConfig, String platform, Boolean pre) in C:\VSAutoSamples\BuildRules\Connect.vb:line 226

Is there a work around to get this problem sorted out?

Thank you!