LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building a .Net assembly using a strong name

Hi,

 

I like to create a .Net assembly using a strong name, by using a .snk file.

 

In LV 8.6(german) i am not able to the select my file with postfix options *.snk it is not visible in FileOpenDialogBox

If i select options *.* i will see my abc.snk file in the box. But on opening it LV giving me a ErrorMessage

i have to open a *.snk !?!?!

 

I think my snk file is well, because on Visual Studio it is working.

 

regards

 

Juergen

--Signature--
NIWeek 2017: Standardized HIL Test Automation With TestStand
NIWeek 2016: Capturing ATE Requirements With Requirements Gateway

Feedback or kudos are welcome
0 Kudos
Message 1 of 7
(1,564 Views)
0 Kudos
Message 2 of 7
(1,561 Views)

Hi Muks,

 

It is not what i am looking for.

 

I my upper post i did a misstake! I said i am using LV8.6. Creating .Net Assemblys is a feature of LV 2009!!

So I was using a LV 2009

 

Currently it got it woking.

I have linked the .snk file to the LV project.

So then you will see it under the MyComputer tree when you signate your assembly with a strong name.

 

regards

 

juergen

Message Edited by j_dodek on 11-16-2009 05:10 AM
--Signature--
NIWeek 2017: Standardized HIL Test Automation With TestStand
NIWeek 2016: Capturing ATE Requirements With Requirements Gateway

Feedback or kudos are welcome
0 Kudos
Message 3 of 7
(1,550 Views)
oh:smileysurprised:   ok
0 Kudos
Message 4 of 7
(1,546 Views)
You need to add the key file to your LV project and then you can select the .snk file in the Assembly Builder.
0 Kudos
Message 5 of 7
(1,525 Views)

HI

 I am trying to build a .Net assembly using a strong name signature.  I have followed all the instructions provided in this thread, and built the LabVIEW .net assembly.  The .net assembly dll builds successfully.  However, my .Net program is not accepting my LabVIEW .Net assembly dll, because it says that the assembly dll I built is "delayed signed"

 

I did research on what it means to "delay sign" an assembly.  I found the following:

https://docs.microsoft.com/en-us/dotnet/standard/assembly/sign-strong-name

which states:

 Note

In order to delay sign an assembly, choose a public key file.

 

I have used the Strong Name Tool (sn.exe) to build a public and private cryptographic key pair snk file, but my compiled .Net assembly dll is always delayed signed.  I have even tried using an snk file which works for pure .net programs.  However, no matter what I do, the dll built by LabVIEW is delayed signed.

 

Can anyone help me find what I am missing which will allow me to properly sign my .Net assembly with a strong name?

 

I am using LabVIEW 2018 professional version.

 

Thanks

0 Kudos
Message 6 of 7
(225 Views)

HI

 I am trying to build a .Net assembly using a strong name signature.  I have followed all the instructions provided in this thread, and built the LabVIEW .net assembly.  The .net assembly dll builds successfully.  However, my .Net program is not accepting my LabVIEW .Net assembly dll, because it says that the assembly dll I built is "delayed signed"

 

I did research on what it means to "delay sign" an assembly.  I found the following:

https://docs.microsoft.com/en-us/dotnet/standard/assembly/sign-strong-name

which states:

 Note

In order to delay sign an assembly, choose a public key file.

 

I have used the Strong Name Tool (sn.exe) to build a public and private cryptographic key pair snk file, but my compiled .Net assembly dll is always delayed signed.  I have even tried using an snk file which works for pure .net programs.  However, no matter what I do, the dll built by LabVIEW is delayed signed.

 

Can anyone help me find what I am missing which will allow me to properly sign my .Net assembly with a strong name?

 

I am using LabVIEW 2018 professional version.

 

Thanks

0 Kudos
Message 7 of 7
(251 Views)