1

Hello,

I am trying to build and run the source code. I followed the instructions on the readme on github, but I am getting errors when trying to build in VS Code Community 2019. I am fairly new to this. What am I doing wrong?


Here is the output:


Build started...
1>------ Build started: Project: Kinovea.Updater, Configuration: Debug x64 ------
2>------ Build started: Project: Kinovea.Camera, Configuration: Debug x64 ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file Properties\Resources.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.
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file Properties\Icons.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.
3>------ Build started: Project: Kinovea.Camera.DirectShow, Configuration: Debug x64 ------
4>------ Build started: Project: Kinovea.Camera.HTTP, Configuration: Debug x64 ------
5>------ Build started: Project: Kinovea.FileBrowser, Configuration: Debug x64 ------
6>------ Build started: Project: Kinovea.ScreenManager, Configuration: Debug x64 ------
7>------ Build started: Project: Kinovea.Camera.FrameGenerator, Configuration: Debug x64 ------
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CSharp.CurrentVersion.targets(130,9): warning MSB3884: Could not find rule set file "MinimumRecommendedRules.ruleset".
3>CSC : error CS0006: Metadata file 'C:\Users\name\Downloads\Kinovea-master\Kinovea-master\Kinovea.Camera\bin\x64\Debug\Kinovea.Camera.dll' could not be found
4>CSC : error CS0006: Metadata file 'C:\Users\name\Downloads\Kinovea-master\Kinovea-master\Kinovea.Camera\bin\x64\Debug\Kinovea.Camera.dll' could not be found
5>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file UserInterface\FileBrowserUserInterface.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.
5>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file Properties\Resources.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.
7>CSC : error CS0006: Metadata file 'C:\Users\name\Downloads\Kinovea-master\Kinovea-master\Kinovea.Camera\bin\x64\Debug\Kinovea.Camera.dll' could not be found
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file Properties\Backgrounds.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.
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file Properties\Capture.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.
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file Properties\Drawings.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.
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file UserInterface\SliderLinear.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.
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file UserInterface\SliderLogScale.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.
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file PlayerScreen\Controls\PlayerScreenUserInterface2.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.
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file Properties\Resources.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.
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file UserInterface\ScreenManagerUserInterface.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.
8>------ Build started: Project: Kinovea, Configuration: Debug x64 ------
8>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file UserInterface\SplashScreen.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.
8>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file UserInterface\KinoveaMainWindow.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.
8>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3162,5): error MSB3821: Couldn't process file UserInterface\FormAbout.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.
========== Build: 0 succeeded, 8 failed, 8 up-to-date, 0 skipped ==========

2

Couldn't process file <file> due to its being in the Internet or Restricted zone or having the mark of the web on the file.

Assuming you downloaded a .zip archive of the source code. Windows marked it as being from the Internet and put some restrictions on it. You should either use a git client and do a `clone` to get the source code, or remove the "mark of the web" from the .zip file before unpacking it. I personally use "Git Extensions" as git client.

3

That worked. thank you