.NET Assemblies

Joseph P.
Tucson, AZ

May 6, 2014
6 Posts

0  |  0  

Re: .NET Assemblies

Currently in the .pgt file, the .NET Assemblies are recorded like so:

.NET Assembly SomeDLL            !SomeDLL, Version=1.0.2.17
--------------------------------------------------------------------------------
AssemblyName = SomeDLL, Version=1.0.2.17, Culture=neutral
File = ..\..\..\..\..\Program Files (x86)\Company\SomeDLL.dll


Is there a way to alter the storage to do a few things?

1. store as absolute paths to the dll by default?
2. not care about parts of the version information, i.e. 1.0.2.* so long as the version starts with 1.0.2
3. dynamically change out the dll's as long as interfaces do not change?

Joseph P.
Tucson, AZ

May 6, 2014
6 Posts

0  |  0  

Re: .NET Assemblies

Sorry, please note I am using version 8.0 148c

DrATEasy (Ron Y.)
Mission Viejo, CA

May 6, 2014
367 Posts

0  |  0  

Re: .NET Assemblies

Hi,

1. ATEasy serializes the file path as relative to current project target executable folder (unless the selected assembly file path is belong to a different drive). You can modify the text file (pgt, drt, syt) to change the path to absolute or use the Edit in Text format if you want to keep the binary format).
2. If ATEasy is able to load the assembly using the file path serialized, ATEasy will ignore assembly’s build and revision.
3. Yes, as long as the serialized assembly name matched the new file assembly name (ignore build and revision).

Ronnie

Joseph P.
Tucson, AZ

May 13, 2014
6 Posts

0  |  0  

Re: .NET Assemblies

I am using 8.0 148c as stated above and I am not seeing the described functionality in #3.
When run from the F5 (Start) command the ATEasy program runs to completion.
When Build -> Execute is used the program does not run.

To fix this, I am having to do the following:

1. remove the libs from the project
2. save
3. close ATEasy
4. re-open ATEasy
5. re-select the libs
6. save/rebuild
7. execute

any advice or fixes available?

DrATEasy (Ron Y.)
Mission Viejo, CA

May 13, 2014
367 Posts

0  |  0  

Re: .NET Assemblies

I could not replicate it, can you upload an example or provide more details that will provide a way to replicate the issue?

Ronnie

Joseph P.
Tucson, AZ

May 16, 2014
6 Posts

0  |  0  

Re: .NET Assemblies

I will do that and sumbit through the magic ticket.



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]