Visual Studio configuration and operational prerequisites - CSharpTeoMan911/Eva GitHub Wiki
Operational prerequisites
- .NET version 4.6 or higher
- Windows 10/11
- Visual Studio 2019/2022
Installing and setting up the online speech recognition package
Microsoft.Windows.SDK.Contracts package
Installing theRight click on the References section in the Solution Explorer and select Manage NuGet Packages. After the NuGet Pakage Manager is open, write in the Browse section Microsoft.Windows.SDK.Contracts and select the package. After this, click install.
Visual Studio CLI Package Manager Installation Method
Open the built-in package manager console and type the command:
[ COMMAND : ] Install-Package Microsoft.Windows.SDK.Contracts -Version 10.0.25145-preview
Migrating the Microsoft.Windows.SDK.Contracts package from package-config to package-reference
link and follow the steps in order to incorporate the SDK as a library in the project.
Go to thisAdding the Python dependencies to Eva
Go to the Eva Releases page and download the python 3.12 zip file.
Afterwards, decompress the directory and copy it in the directory where the Eva executable is located (Debug folder / Release folder).
Installing the Vosk speech recognition engine model
Once the library is installed, go to the Acephei official models repository and download the vosk-model-small-en-us-0.15 speech recognition engine model and create two copies, named model 1 and model 2. Afterwards add them inside the directory where the Eva executable file is located (Debug folder / Release folder). Alternatively, you can download the model from the Releases page of the repository
Afterwards, download the main.py file from the Releases page on the Eva repository, and move it inside the directory where the Eva executable is located (Debug folder / Release folder).
Adding the sound resources for the application
Go to the Releases page and download the Sounds.zip file. Extract the zip file and move the Sounds directory in the directory where the Eva executable is located (Debug folder / Release folder).
Adding installer projects to Visual Studio
The Visual Studio Installer Projects extension must be installed in order to create installers that allow users to download and install the project on any computer.