Skip to content

13 Build

redhook edited this page Mar 15, 2023 · 3 revisions

Development

If you want to build your own solution, for specific needs, or check/debug the operations, for certain legal obligations, or quite simply to carry out your evolutions. We have some recommendations to give you in order to get there quickly.

Custom development

Required software

Building solution

  • Sign projects with your pfx certificate (required)
  • Incorrect friend assemblies - value in "InternalsVisibleTo": https://docs.microsoft.com/en-us/dotnet/standard/assembly/create-signed-friend Steps:

    • in VS developer command line go to folder with pfx file (in DataTypes project) and execute two commands: sn -p Neos.IdentityServer.pfx Neos.IdentityServer.publickey then sn -tp Neos.IdentityServer.publickey
    • copy both PublicKey and PublicKeyToken to notepad (these are for generated pfx certificate, important: PublicKey should be in one line!)
    • change in all projects in properties\AssemblyInfo.cs value in PublicKey: InternalsVisibleTo("name, PublicKey=0024000..."); to PublicKey generated from pfx certificate