Windows installation
Products: Video Capture SDK .Net, Video Edit SDK .Net, Media Player SDK .Net, Media Blocks SDK .Net
Introduction
SDKs are accessible in two forms: a setup file and NuGet packages. The setup file provides a straightforward installation process, ensuring that all necessary components are correctly configured. On the other hand, NuGet packages offer a flexible and modular approach to incorporating SDKs into your projects, allowing for easy updates and dependency management. We highly recommend utilizing NuGet packages due to their convenience and efficiency in managing project dependencies and updates.
When building your application, you have the option to create both x86 and x64 versions. This allows your application to run on a wider range of systems, accommodating different hardware architectures. However, it's important to note that the setup file is exclusively available for the x64 architecture. This means that while you can develop and compile x86 builds, the initial setup and installation process will require an x64 system.
IDEs
For development, you can use powerful integrated development environments (IDEs) like JetBrains Rider or Visual Studio. Both IDEs offer robust tools and features to streamline the development process on Windows. To ensure a smooth setup, please refer to the respective installation guides. The Rider installation page provides detailed instructions for setting up JetBrains Rider, while the Visual Studio installation page offers comprehensive guidance on installing and configuring Visual Studio. These resources will help you get started quickly and effectively, leveraging the full capabilities of these development environments.
Common problems
WinForms RESX files build issue
Sometimes you can get the following error:
Error MSB3821: Couldn't process file Form1.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files.
Error MSB3821 occurs when Visual Studio or MSBuild cannot process a .resx
resource file because it is marked as untrusted. This happens when the file has the "Mark of the Web" (MOTW), a security feature that flags files downloaded from the internet or received from untrusted sources. The MOTW places the file in the Internet or Restricted security zone, preventing it from being processed during a build.
How to Fix It
To resolve this error, you need to remove the MOTW from the affected file:
Unblock the File Manually
- Right-click on Form1.resx in File Explorer.
- Select Properties.
- In the General tab, check for an Unblock button or checkbox at the bottom.
- Click Unblock, then click OK.
Unblock via PowerShell (for multiple files)
- Open PowerShell.
- Navigate to your project directory.
- Run the command: Get-ChildItem -Path . -Recurse | Unblock-File
Unblock the ZIP Before Extraction
- If you downloaded the project as a ZIP file, right-click the ZIP file.
- Select Properties.
- Click Unblock, then extract the files.
By unblocking the file, you remove the MOTW, allowing Visual Studio to process it normally during the build.
Visit our GitHub page to get more code samples.