- Visual Studio 2019. Community Edition works. Enable the following optional components.
- .NET desktop development
- .NET development tools
- .NET Framework 4 - 4.6 development tools
- .NET Framework 4.8 development tools
- Universal Windows Platform development
- Windows 10 SDK (10.0.16299)
- .NET desktop development
- .NET nanoFramework Extension
- NuGet tools if you want to build the NuGet package.
To build NETMF and NetCore projects, install the following.
- Visual Studio 2015 with the following features.
- Windows and Web Development
- Universal Windows App Development Tools
- Tools (1.4.1) and Windows 10 SDK (10.0.14393)
- Windows 8.1 and Windows Phone 8.0/8.1 Tools
- Tools and Windows SDKs
- Universal Windows App Development Tools
- Windows and Web Development
- NETMF SDK (4.2 and 4.3) and Visual Studio project system. You can build fro sources or download them from the old netmf web site.
- Build with Visual Studio 2019. Open amqp.sln in Visual Studio. This solution contains both source and test projects for all supported platforms. If the SDK of a particular platform is not present, the project(s) will fail to load. You can either install the required SDK or remove the project(s) from the solution.
- Build from command prompt. Run the build.cmd script to build the solution. If you need to build the NuGet packet, please install NuGet or download NuGet.exe directly and save it under ".\build\tools" directory.
- Most of the tests require a broker to run. You need a broker preconfigured with a queue (or an broker specific entity that maps to an AMQP node named "q1"). Update the address (hostname, port, etc) to match the broker config before you run the tests.
- The solution has a test broker which can be used to run tests. It can be started by running the following command. Note that the value of the "/cert" option is the subject name or the thumbprint of the service certificate that is already installed on the machine.
TestAmqpBroker.exe amqp://localhost:5672 amqps://localhost:5671 ws://localhost:80 /creds:guest:guest /cert:localhost
- NETMF tests are in project Test.Amqp.NetMF42/43. It is a NETMF application that runs in the emulator or a real device. It executes all methods whose names begin with "TestMethod_".
- First take a look at the example projects under the Examples directory. The examples are working code against the Azure Service Bus service or other AMQP 1.0 compliant brokers.
- The API documentation today is in the source code. We will create a wiki page for that soon.
- You may also review the code of a few test cases. Just note that test cases are organized by functionality coverage so it may not be easy to find what you need.