Questions tagged [sn]

The Strong Name tool (Sn.exe) helps sign assemblies with strong names.

The Strong Name tool (Sn.exe) helps sign assemblies with strong names. Sn.exe provides options for key management, signature generation, and signature verification.

15 questions
3
votes
1 answer

Find the secure name (sn.exe) container name for Visual Studio

I have a software that must be signed by a pfx certificate during the build. The machine on which I build the solution is a fresh new machine and we are trying to not perform any configuration by hand but only via scripts during the build…
gvdm
  • 3,006
  • 5
  • 35
  • 73
2
votes
0 answers

I want to specify the path of sn.exe file, but which to choose?

I want to specify the path of sn.exe file to some program but I don't know which one would be correct for a .NET 2.0 project as there are multiple folders in the Microsoft SDKs that have sn.exe file. After C:\Program Files (x86)\Microsoft…
Navjot Singh
  • 678
  • 7
  • 18
2
votes
1 answer

drawing data from a skew normal distribution using the sn package in R

I need to characterize the location, shape, and scale of a skew normal distribution of data, and then use these parameters to draw values randomly from a skew-normal distribution with the same parameters. In the past I did this using the sn package…
colin
  • 2,606
  • 4
  • 27
  • 57
1
vote
1 answer

Get hardware information in flutter?

Can anyone provide me a piece of code in dart language to get motherboard Serial Number? I found some code in c# but I can't write it in dart language .
atishn90
  • 45
  • 5
1
vote
0 answers

Migrate existing key container for strong naming

How can I migrate a key container from one machine to another? I have a key container on an old machine that is used for strong naming assemblies. Currently I am in the process of migrating the project to a newer machine. Unfortunately the key…
HHLV
  • 119
  • 2
  • 10
1
vote
1 answer

Assembly.Load fails within a test case (strong naming validation also fails)... why?

I've been setting up some test cases, and part of that was wanting to make sure I could run some EntityFramework tests. I'm having trouble loading the driver (Npgsql in this case). I can load it in the app, but not the test case. I've put together a…
scornflake
  • 116
  • 1
  • 7
1
vote
1 answer

Version 0.0.0.0 when creating strong named assembly

We're building a C# wrapper for a C library in embedded Linux, and we want to install it into the GAC of the target system. To do that, I've used sn to create a keypair and mcs to compile the code: sn -k keypair.snk mcs /target:library…
paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953
0
votes
0 answers

is Sn scale estimator unbiased estimator of standadr deviation?

I am trying to understand robust scale estimators and read about Sn and Qn scale estimators. While reading through Wikipedia(https://en.wikipedia.org/wiki/Robust_measures_of_scale) its mentioned that Sn scale estimator is approximately unbiased…
0
votes
0 answers

sampling error from multivariate skew normal distribution using sn package in r

I am trying to sample from skew normal distributions of following 4 variables (MAT - mean annual temperature, Tmin - minimum temperature, MAP - mean annual precipitation, and WQP - precipitation of warmest quarter) using sn package in r. And, their…
gugi
  • 11
  • 2
0
votes
0 answers

Mutate using multiple argument in function sn libry psn fuction

I am trying to get an array of with the first column being an x value and the second column to bee the probability of a sweked t-normal using the sn library function called "psn". My x-value (finfl_new2) and parameter(par) to be used as with the…
0
votes
1 answer

error MSB3325: Cannot import the following key file: csc.pfx. The key file may be password protected

I know very well this error as I faced it and solved it thanks to this SO post. The sn -i keyName.pfx VS_KEY_XXXXXXXXXXXXX ran from a Visual studio developer command prompt solved it on my computer. I now use a jenkins job to build my solution with…
Amon
  • 296
  • 1
  • 14
0
votes
0 answers

Does self code signing offer any protection?

I was playing around with code signing my app in Visual Studio (strong name key file pfx with password). My understanding is that once signed, the assembly would not be able to be reassembled with edited code. I tested this out. I disassembled the…
Romano
  • 1
  • 2
0
votes
1 answer

plot SN curve (non-linear regression model) using python

The input data and the form of the function are known. You must find out the coefficients of the function. The values of these coefficients that need to be determined are also known (60.351, 4.388, 4.806). In writing the code I was inspired by the: …
mvpetre
  • 3
  • 1
0
votes
1 answer

Visual studio 2015 extension to install .pfx key pair sn.exe

i was using vscommands extension for vs 2013 to import .pfx key into project by simply right clicking on error and applying fix. in vs 2015 i didnt find any extension to do that an i have to manully enter command sn -d keyname sn -i key.pfd…
Reza
  • 414
  • 2
  • 6
  • 18
0
votes
1 answer

PowershellScript ObjectNotFoundException CommandNotFoundException Path

I sign my Dlls with SNK-Files. This is done without problems through the visual studio build. Now i want to validate the DLLs that I really gave them a strong name. I found this powershell script, but I think powershell hates my…
Peter
  • 1,655
  • 22
  • 44