Hello.
Is there any way that a tester, who does not have visual studio installed on his/her machine, can determine the .net framework version of an application he/she is testing?
Thanks for your help
Hello.
Is there any way that a tester, who does not have visual studio installed on his/her machine, can determine the .net framework version of an application he/she is testing?
Thanks for your help
You'd need ildasm to see what the manifest says the required version, or you can run it and see what it says :)
I have used IL Disassembler and .net Reflector 8.1 also and have been able to view the System.Core version changed to 3.5. But I want to restrict the tester from having access to the codes using disassemblers. Hence is there any other way to determine the .net version of the application?
You could provide a little utility to your testers that grabs the image runtime version:
using System;
using System.Reflection;
using System.Windows.Forms;
class Program
{
[STAThread]
static void Main()
{
using (var dlg = new OpenFileDialog())
{
if (dlg.ShowDialog() == DialogResult.OK)
{
try
{
Console.WriteLine(
"Assembly Runtime Version: {0}",
Assembly.LoadFile(dlg.FileName).ImageRuntimeVersion);
}
catch (Exception ex)
{
Console.Error.WriteLine(ex.ToString());
}
}
}
}
}
Thanks for the idea!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.