Setting Up Your Project
Once you've downloaded CloudyApis.dll, follow these steps to set up your project:
Step 1: Create a New Project
Open Visual Studio: Launch Visual Studio and select Create a new project.
Choose one of the following project types based on your preference and needs:
WPF App (.NET Framework) – Recommended for modern UI-based applications.
Windows Forms App (.NET Framework) – Suitable for traditional desktop applications with a simpler UI.
Name your project: Give your project a name that reflects your purpose (e.g., "CloudyExecutor") and select a location to store the files.
Click Create: Once you've named your project and selected the location, click the Create button to initialize the project.
Step 2: Import Cloudy API
Access References in Solution Explorer: In the Solution Explorer panel, locate the References node, which lists all the external libraries and assemblies your project will use.
Add a Reference:
Right-click on References and select Add Reference from the context menu.
Select CloudyApis.dll:
In the Reference Manager dialog, click on the Browse button on the left-hand side.
Navigate to the location where you downloaded CloudyApis.dll and select the file.
Confirm the Addition: After selecting CloudyApis.dll, click OK to confirm the addition of the reference to your project.
Step 3: Set Project Platform to x64
Open Configuration Manager: Go to the Build menu at the top of Visual Studio and click on Configuration Manager.
Set Platform to x64: In the Configuration Manager window, find the Active Solution Platform dropdown. If it’s not already set to x64, change it to x64 to ensure that your project is compiled for 64-bit systems. This is crucial for compatibility with Cloudy API, which is designed to run in 64-bit environments.
Close Configuration Manager: Once you’ve set the platform to x64, click Close to exit the Configuration Manager window.
Step 4: Add the Using Statement
Edit the Main Code File: Open your MainWindow.xaml.cs (for WPF) or Form1.cs (for Windows Forms) file, depending on the type of project you selected in Step 1.
Add the CloudyApi Namespace: At the top of your main code file, add the following
using
directive to bring the Cloudy API functionality into your project:
This allows you to access all the methods and classes defined in the CloudyApi namespace.
Step 5: Build and Run Your Project
Build the Project: Once everything is set up, click Build > Build Solution to compile your project. This step ensures that there are no errors in your setup and that CloudyApis.dll is correctly referenced.
Run Your Project: After building the solution, you can start your application by clicking Debug > Start Debugging or pressing F5.
Next Steps
Once you've successfully set up your project, you're ready to start coding with Cloudy API! You can now begin adding functionality!
Refer to the Cloudy API documentation for further details on how to use these features and begin building your custom applications!
Last updated