1

This is driving me insane. With Prism's Modularity Quickstart, building a Module moves it to the main application's bin\Debug folder. When I try to do the same, the file goes to the application's bin\Release folder. What am I doing wrong??

Post-Build Event

xcopy "$(TargetDir)MyModule.dll" 
      "$(SolutionDir)MainApplication\bin\$(ConfigurationName)\Modules\" /Y
Rachel
  • 130,264
  • 66
  • 304
  • 490

1 Answers1

4

The $(ConfigurationName) tag will contain the name of the current Solution Configuration.

You can change the solution configuration you are building under by going to Build -> Configuration Manager and change the Active Solution Configuration to "Debug". Alternatively there is a dropdown at the top of Visual Studio with this as well.

Anderson Imes
  • 25,500
  • 4
  • 67
  • 82