ravibpatel / CrashReporter.NET

Send crash reports of your classic desktop application developed using .NET Framework directly to your mail's inbox with full exception report, stack trace and screenshot.
MIT License
185 stars 74 forks source link

Not Showing Correct Application Version if Network Deployed #11

Closed socaljoker closed 6 years ago

socaljoker commented 6 years ago

My application is network deployed using the Publish feature in the project properties.

capto_capture 2018-04-27_10-30-23_am

However, when the crash report screen appears, it show's either the assembly or file version instead of the publish version.

capto_capture 2018-04-27_10-31-48_am

I think it should check if it's network deployed, and use the publish version.

if (ApplicationDeployment.IsNetworkDeployed) { return ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(); }

ravibpatel commented 6 years ago

@socaljoker I will implement in next version. If you like to contribute it you can also open a pull request. Sorry for a very late reply.