I've got a project that was created with ArcGIS Runtime for .NET (Windows). The project comes with the following post-build event:
REM copy runtime deployment folder to output directory
pushd $(MSBuildThisFileDirectory)..\..\sdk\net45\
for /d %%i in (arcgisruntime*) do (
xcopy "%%i" "$(TargetDir)%%i\" /S /Y
)
popd
I've tried replacing it with my own commands but, not only doesn't my code work, even if I remove all of the post-build event code and save and exit, the Esri post-build event code always comes back as shown above. My code works fine in other projects. It's just the project that was created with ArcGIS Runtime for .NET. Any ideas?