Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Getting sn.exe error code 3 with Code Contracts enabled #160

@Aospade

Description

@Aospade

When I have Runtime Checking and Static Checking enabled and my dll is strongly named I get the following error when trying to build in VS 2015 RTM.

The command ""C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.6 Tools\sn.exe" /Rc "obj\Debug\MyDllProject.dll" "MyStrongKey"" exited with code 3.

If I turn off the runtime and static checking the dll works just fine. Seems similar to this past problem with code contracts

https://social.msdn.microsoft.com/Forums/en-US/4edaa3b3-50a5-4672-82bd-4ca5b48b7c27/release-156081310-now-live?forum=codecontracts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions