Are you trying to run in VS or the command line? If it's VS, you can take a look at this VS extension: http://visualstudiogallery.msdn.microsoft.com/5dca9c5c-29cf-4fd7-b3ff-573e5776f0bd. If it's the command line, just use the appropriate test framework's test runner executable or msbuild tasks. Their websites should have the information on how to set this up.
"I want to add a postbuild event to VS2013 that will run unit tests."
So Yes, I would llike to automatically run (provided I've setup the postbuild event) unit tests as part of the build. So provided the solution builds, the unit tests will then run (so I don't forget to run them, commit to source control and have teamcity fail because i forgot to run my unit tests )
Are you trying to run in VS or the command line? If it's VS, you can take a look at this VS extension: http://visualstudiogallery.msdn.microsoft.com/5dca9c5c-29cf-4fd7-b3ff-573e5776f0bd. If it's the command line, just use the appropriate test framework's test runner executable or msbuild tasks. Their websites should have the information on how to set this up.
"I want to add a postbuild event to VS2013 that will run unit tests."
So Yes, I would llike to automatically run (provided I've setup the postbuild event) unit tests as part of the build. So provided the solution builds, the unit tests will then run (so I don't forget to run them, commit to source control and have teamcity fail because i forgot to run my unit tests )
The extension appears to be only for 2012 :(