This is driving me insane. With Prism's Modularity Quickstart, building a Module moves it to the main application's bin\Debug
folder开发者_JS百科. 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
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.
精彩评论