VS 2012 Android Project (External Build System) unable to debug

Hi,

I’m using Visual Studio 2012 and I’m trying to debug a project build by our company in-house toolchain. The app is a NativeActivity. To debug the app I created a “Android Project (External Build System)”. All paths in “Debugging” are set but I’m unable to deploy and launch the app. “Start Debugging” will result immediately in the message: “Object reference not set to an instance of an object.” and nothing else is happening.
There are no spaces in the paths. The android version on the target debug device is 4.4.2.

Nsight Tegra.log
|WARN|Nvidia.PentaK.VSInterop.Wrappers.VCRulePropertyStorage|[VSInterop] GetEvaluatedPropertyValue AndroidBuildSystem failed: The “ConfigurationGeneral” rule is missing the “AndroidBuildSystem” property.

VS output:
1>------ Build started: Project: AndroidExt3, Configuration: Debug Tegra-Android ------
1>Build started 02.03.2015 13:14:15.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.targets(37,5): warning MSB8005: The property ‘NMakeBuildCommandLine’ doesn’t exist. Skipping…
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Total Time: 00:00

Build Summary

00:00.374 - Success - Debug Tegra-Android - AndroidExt3\AndroidExt3.vcxproj

Total build time: 00:00.437

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped, Completed at 02.03.2015 13:14:15 ==========

This issue has been fixed in Nsight Tegra 2.1 (TADP 4.0r1).