helsenorge / Helsenorge.Messaging

Biblioteket implementerer basisbehovet for meldingsutveksling innenfor norsk helsesektor ved bruk av AMQP-protokollen
https://nhn.no/
MIT License
29 stars 31 forks source link

Tests+Examples+deps: Move mocks into a separate project + Update MSTest.TestAdapter 3.1.1 -> 3.2.0 #627

Closed kennethmyhra closed 8 months ago

kennethmyhra commented 8 months ago

To be able to upgrade to MSTest.TestAdapter version 3.2.0, and since we are using the mocks in some of our example projects I had to move the mocks into a separate library to avoid the error: "CS0017 Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point."

Not sure why this didn't hit us before, but at least this approach fixes the problem.