raygun crash reporting - versioning
shearer3000
Posted on
Nov 29 2019
Hi there
Is there an issue with sending the version numbering?
https://raygun.com/documentation/language-guides/dotnet/crash-reporting/mvc/ says:
Version numbering By default, Raygun4Net will attempt to send the assembly version of your project with each report
The project has the typical asemblyinfo:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
But raygun errors raw data reports:
"Version": "Not supplied",
The raygun packages used are:
<package id="Mindscape.Raygun4Net.Core" version="5.10.0" targetFramework="net452" />
<package id="Mindscape.Raygun4Net.Mvc" version="5.10.0" targetFramework="net452" />
Thanks, Andrew
shearer3000
Posted on
Dec 02 2019
hi - is there any other info i can provide to help troubleshooting here? thanks
Deleted User
Raygun
Posted on
Dec 03 2019
Hi Andrew,
Thank you for getting in touch with us. Our recommendation would be to verify if the reports you see in Raygun are being sent by the version specified in your configuration.
The version of the Raygun package can be seen for each report under the raw data tab and should look like the following.
"Client": { "Name": "Raygun4Net.Mvc", "Version": "5.10.0.0", "ClientUrl": "https://github.com/MindscapeHQ/raygun4net" }
Once this is verified could you please send us a snippet of your code setting up the Raygun client. This will help us determine what the issue may be.
Thank you, Mitchell.
shearer3000
Posted on
Dec 09 2019
Hi Mitchell,
The info from the raw tab is:
"Client": {
"Name": "Raygun4Net.Mvc",
"Version": "5.10.0.0",
"ClientUrl": "https://github.com/MindscapeHQ/raygun4net"
},
The snippet of code for setting up the raygun client is as per the mvc docs: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/mvc/ steps 1 through 3
but looking at the summary tab in the dashboard, the version has not been supplied:
Occurred on December 8th 2019, 8:20:39 pm - 7 minutes ago
Class name System.Exception
Message Exception of type 'System.Exception' was thrown.
Version Not supplied
Tags
However, this is in the assembly/dll file:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
thanks, Andrew
Deleted User
Raygun
Posted on
Dec 09 2019
Hi Andrew,
Thank you for the additional information. I was able to reproduce your issue and I will make a ticket to address it. Unfortunately I cannot commit to a time for when this will be addressed.
However in the mean time you are able to assign an application version through the Web.config file. You can find out more information here: https://raygun.com/documentation/language-guides/dotnet/crash-reporting/mvc/#version-numbering.
I will be in contact again once we have completed a fix. Please let us know if there are any more issues.
Thank you, Mitchell
shearer3000
Posted on
May 04 2020
hi Mitchell - any update?
Deleted User
Raygun
Posted on
May 05 2020
Hi Andrew,
Unfortunately I do not have an update right now.
However I will raise the priority of this issue with the team so we can get it addressed in our next sprint. Our next sprint is due to start mid next week. I will know by the beginning of next week when we will be addressing this issue and I will let you know. Thank you for your ongoing patience with this issue.
Regards, Mitchell.
Deleted User
Raygun
Posted on
Jun 29 2020
Hi Andrew,
We have just released a fix for this issue in version 5.10.3 of our MVC and WebApi providers. Please try updating and let us know if you encounter any more issues.
https://www.nuget.org/packages/Mindscape.Raygun4Net.Mvc/5.10.3
https://www.nuget.org/packages/Mindscape.Raygun4Net.WebApi/5.10.3
Thank you, Mitchell.