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

Installing the Microsoft.Windows.SDK.Contracts package


Right 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.





2022-06-24 (6)



2022-06-24 (7)



2022-06-24 (8)



2022-06-24 (9)



2022-06-24 (10)



2022-06-24 (11)



2022-06-24 (12)







Visual Studio CLI Package Manager Installation Method



Open the built-in package manager console and type the command:
Install-Package Microsoft.Windows.SDK.Contracts





2022-06-24 (13)



2022-06-24 (14)



2022-06-24 (15)



2022-06-24 (16)



2022-06-24 (17)





Migrating the Microsoft.Windows.SDK.Contracts package from package-config to package-reference

Go to this link and follow the steps in order to incorporate the SDK as a library in the project.






Adding the Python dependencies to Eva



Go to the Eva Releases page and download the python 3.12 zip file.

Eva_Capture2104888635

Afterwards, decompress the directory and copy it in the directory where the Eva executable is located (Debug folder / Release folder).

Screenshot 2025-05-11 175934







Installing the Vosk speech recognition engine model

Once the library is installed, go to the Acephei official models repository and get 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


Eva_Capture2112614435


Eva_Capture1652529852


models



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).



Eva_Capture2104093039



main





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).


Eva_Capture1782268941


Sound




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.




Extension Download Links





Installer Projects Tutorial











⚠️ **GitHub.com Fallback** ⚠️