Error during Initial build from source code

Want to post something that doesn't quite fit into the other forums? This is the place for that.
Post Reply
MRO
Posts: 7
Joined: Sat Oct 13, 2018 2:55 pm

Error during Initial build from source code

Post by MRO » Sat Oct 13, 2018 3:06 pm

Hi,
I downloaded the source code package and tried to build VirtualRadar.sln but received a pile of errors in the VirtualRadar project. Visual Studio complained about several things in InterfaceFactory's ClassFactory.cs (Implementation unused,object result, Implementation implementation) and syntax errors involving commas. Also, a bunch of "CS0006 Metadata file 'E:\Users blah blah debug\VirtualRadar.exe' could not be found." I tried .NET 3.5 and several later versions, all with about the same results.
I must have something misconfigured. Could someone suggest what I could do ?
Thanks,
MRO

Datamix
Posts: 57
Joined: Thu Aug 10, 2017 7:36 pm

Re: Error during Initial build from source code

Post by Datamix » Sat Oct 13, 2018 6:48 pm

Have you tried to build VRS before?
Menu --> Build --> Build VirtualRadar
VRS: v3 (30-SEP-2018)

MRO
Posts: 7
Joined: Sat Oct 13, 2018 2:55 pm

Re: Error during Initial build from source code

Post by MRO » Sat Oct 13, 2018 7:45 pm

Thanks for the reply.
Building just the VirtualRadar Project results in the same 128 errors as building the entire Solution.
This is literally right out of the box, straight from a clean download. Download, unzip, double-click on VirtualRadar.sln. I have tried both VS 2013 and 2015.
It's supposed to be ready-to-build using only the download package, isn't it?
MRO

MRO
Posts: 7
Joined: Sat Oct 13, 2018 2:55 pm

Re: Error during Initial build from source code

Post by MRO » Sat Oct 13, 2018 8:18 pm

Here is the list of errors... all suggestions are welcome
Severity Code Description Project File Line Suppression State
Error CS0103 The name 'unused' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 190 Active
Error CS0103 The name 'result' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 223 Active
Error CS0103 The name 'result' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 224 Active
Error CS0103 The name 'result' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 228 Active
Error CS0103 The name 'result' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 229 Active
Error CS0103 The name 'result' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 230 Active
Error CS0103 The name 'result' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 238 Active
Error CS0103 The name 'implementation' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 200 Active
Error CS0103 The name 'implementation' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 201 Active
Error CS0103 The name 'implementation' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 293 Active
Error CS0103 The name 'implementation' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 296 Active
Error CS0103 The name 'implementation' does not exist in the current context InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 300 Active
Error CS1003 Syntax error, ',' expected InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 190 Active
Error CS1003 Syntax error, ',' expected InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 200 Active
Error CS1003 Syntax error, ',' expected InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 223 Active
Error CS1003 Syntax error, ',' expected InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 293 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\bin\x86\Debug\VirtualRadar.exe' could not be found Test.VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WinForms\bin\Debug\VirtualRadar.WinForms.dll' could not be found Plugin.BaseStationDatabaseWriter E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.BaseStationDatabaseWriter\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WinForms\bin\Debug\VirtualRadar.WinForms.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebSite\bin\Debug\VirtualRadar.WebSite.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebSite\bin\Debug\VirtualRadar.WebSite.dll' could not be found Test.VirtualRadar.Owin E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Owin\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebSite\bin\Debug\VirtualRadar.WebSite.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebSite\bin\Debug\VirtualRadar.WebSite.dll' could not be found Test.VirtualRadar.WebSite E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebSite\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer\bin\Debug\VirtualRadar.WebServer.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer\bin\Debug\VirtualRadar.WebServer.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer\bin\Debug\VirtualRadar.WebServer.dll' could not be found Test.VirtualRadar.WebServer E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebServer\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer\bin\Debug\VirtualRadar.WebServer.dll' could not be found Test.VirtualRadar.WebSite E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebSite\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer.HttpListener\bin\Debug\VirtualRadar.WebServer.HttpListener.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer.HttpListener\bin\Debug\VirtualRadar.WebServer.HttpListener.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Owin\bin\Debug\VirtualRadar.Owin.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Owin\bin\Debug\VirtualRadar.Owin.dll' could not be found Test.VirtualRadar.Owin E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Owin\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Owin\bin\Debug\VirtualRadar.Owin.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Owin\bin\Debug\VirtualRadar.Owin.dll' could not be found Test.VirtualRadar.WebSite E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebSite\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\bin\Debug\VirtualRadar.Library.dll' could not be found BaseStationImport E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Utilities\BaseStationImport\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\bin\Debug\VirtualRadar.Library.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\bin\Debug\VirtualRadar.Library.dll' could not be found Test.VirtualRadar.Owin E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Owin\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\bin\Debug\VirtualRadar.Library.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\bin\Debug\VirtualRadar.Library.dll' could not be found Test.VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\bin\Debug\VirtualRadar.Library.dll' could not be found Test.VirtualRadar.WebSite E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebSite\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interop\bin\Debug\VirtualRadar.Interop.dll' could not be found VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interop\bin\Debug\VirtualRadar.Interop.dll' could not be found VirtualRadar.WinForms E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WinForms\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interop\bin\Debug\VirtualRadar.Interop.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interop\bin\Debug\VirtualRadar.Interop.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar.Interop E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interop\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found SQLiteWrapper.DotNet E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.DotNet\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar.Database E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Database\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar.Headless E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Headless\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar.Owin E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Owin\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar.WebServer E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar.WebServer.HttpListener E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer.HttpListener\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar.WinForms E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WinForms\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found BaseStationImport E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Utilities\BaseStationImport\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Plugin.BaseStationDatabaseWriter E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.BaseStationDatabaseWriter\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found SQLiteWrapper.DotNet.AnyCPU E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.DotNet.AnyCPU\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found SQLiteWrapper.Mono E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.Mono\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Test.Framework E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Test.VirtualRadar.Interface E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Interface\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Test.VirtualRadar.Owin E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Owin\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Plugin.DisableAudio E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.DisableAudio\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Plugin.DisableUPnP E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.DisableUPnP\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Test.Plugin.BaseStationDatabaseWriter E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Plugin.BaseStationDatabaseWriter\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Test.VirtualRadar.Database E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Database\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Test.VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Test.VirtualRadar.WebServer E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebServer\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found Test.VirtualRadar.WebSite E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebSite\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Headless\bin\Debug\VirtualRadar.Headless.dll' could not be found BaseStationImport E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Utilities\BaseStationImport\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Headless\bin\Debug\VirtualRadar.Headless.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Headless\bin\Debug\VirtualRadar.Headless.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Database\bin\Debug\VirtualRadar.Database.dll' could not be found BaseStationImport E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Utilities\BaseStationImport\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Database\bin\Debug\VirtualRadar.Database.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Database\bin\Debug\VirtualRadar.Database.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Database\bin\Debug\VirtualRadar.Database.dll' could not be found Test.VirtualRadar.Database E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Database\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Owin\bin\Debug\Test.VirtualRadar.Owin.dll' could not be found Test.VirtualRadar.WebSite E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebSite\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Interface\bin\Debug\Test.VirtualRadar.Interface.dll' could not be found Test.VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\bin\Debug\Test.Framework.dll' could not be found Test.VirtualRadar.Interface E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Interface\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\bin\Debug\Test.Framework.dll' could not be found Test.VirtualRadar.Owin E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Owin\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\bin\Debug\Test.Framework.dll' could not be found Test.InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.InterfaceFactory\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\bin\Debug\Test.Framework.dll' could not be found Test.Plugin.BaseStationDatabaseWriter E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Plugin.BaseStationDatabaseWriter\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\bin\Debug\Test.Framework.dll' could not be found Test.VirtualRadar.Database E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Database\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\bin\Debug\Test.Framework.dll' could not be found Test.VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\bin\Debug\Test.Framework.dll' could not be found Test.VirtualRadar.WebServer E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebServer\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\bin\Debug\Test.Framework.dll' could not be found Test.VirtualRadar.WebSite E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebSite\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.DotNet\bin\x86\Debug\VirtualRadar.SQLiteWrapper.dll' could not be found BaseStationImport E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Utilities\BaseStationImport\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.DotNet\bin\x86\Debug\VirtualRadar.SQLiteWrapper.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.DotNet\bin\x86\Debug\VirtualRadar.SQLiteWrapper.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.DotNet\bin\x86\Debug\VirtualRadar.SQLiteWrapper.dll' could not be found Test.VirtualRadar.Database E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Database\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.SqlServer\bin\Debug\VirtualRadar.Plugin.SqlServer.dll' could not be found Test.VirtualRadar.Database E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Database\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.BaseStationDatabaseWriter\bin\Debug\VirtualRadar.Plugin.BaseStationDatabaseWriter.dll' could not be found Test.Plugin.BaseStationDatabaseWriter E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Plugin.BaseStationDatabaseWriter\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.Interface E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interface\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.Interop E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Interop\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found SQLiteWrapper.DotNet E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.DotNet\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.Database E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Database\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.Headless E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Headless\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.Owin E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.Owin\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.WebServer E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.WebServer.HttpListener E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WebServer.HttpListener\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar.WinForms E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar.WinForms\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found BaseStationImport E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Utilities\BaseStationImport\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Plugin.BaseStationDatabaseWriter E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.BaseStationDatabaseWriter\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found SQLiteWrapper.DotNet.AnyCPU E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.DotNet.AnyCPU\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found SQLiteWrapper.Mono E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\SQLiteWrapper.Mono\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.Framework E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Framework\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar-Service E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar-Service\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.VirtualRadar.Interface E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Interface\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.VirtualRadar.Owin E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Owin\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found VirtualRadar E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\VirtualRadar\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Plugin.DisableAudio E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.DisableAudio\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Plugin.DisableUPnP E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Plugin.DisableUPnP\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.InterfaceFactory\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.Plugin.BaseStationDatabaseWriter E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.Plugin.BaseStationDatabaseWriter\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.VirtualRadar.Database E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Database\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.VirtualRadar.Library E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.Library\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.VirtualRadar.WebServer E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebServer\CSC 1 Active
Error CS0006 Metadata file 'E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\bin\Debug\InterfaceFactory.dll' could not be found Test.VirtualRadar.WebSite E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\Test\Test.VirtualRadar.WebSite\CSC 1 Active
Error CS1525 Invalid expression term 'object' InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 223 Active
Error CS0118 'ClassFactory.Implementation' is a type but is used like a variable InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 190 Active
Error CS0118 'ClassFactory.Implementation' is a type but is used like a variable InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 200 Active
Error CS0118 'ClassFactory.Implementation' is a type but is used like a variable InterfaceFactory E:\Users\MRO\Desktop\Temp\vrs-master\vrs-master\InterfaceFactory\ClassFactory.cs 293 Active
Error "tsc.exe" exited with code 1. VirtualRadar.WebSite
Error "tsc.exe" exited with code 1. Plugin.CustomContent
Error "tsc.exe" exited with code 1. Plugin.DatabaseEditor
Error "tsc.exe" exited with code 1. Plugin.FeedFilter
Error "tsc.exe" exited with code 1. Plugin.SqlServer
Error "tsc.exe" exited with code 1. Plugin.WebAdmin

agw
Posts: 2146
Joined: Fri Feb 17, 2012 3:20 am

Re: Error during Initial build from source code

Post by agw » Sun Oct 14, 2018 5:08 pm

If you are building from the master branch then you need VS2017. From the readme:
Virtual Radar Server
You will need Visual Studio 2017 to build the program. The free Community version of Visual Studio will work just fine. You can download the installer for it from here:

Visual Studio Installer: https://www.visualstudio.com/en-us/down ... io-vs.aspx

TypeScript
When you install VS2017 (or upgrade it) be sure to select TypeScript 2.3 on the Individual Components tab.

If you get TypeScript errors when compiling then go into the properties for VirtualRadar.WebSite and open the TypeScript tab. If it says that the version is "2.3 (unavailable)" then quit Visual Studio, run the installer, click More | Modify, go to Individual Components and install TypeScript 2.3.
If you are building from v2-master then you should be OK with VS2015 as long as I've not accidentally made use of any C# 7 stuff.

MRO
Posts: 7
Joined: Sat Oct 13, 2018 2:55 pm

Re: Error during Initial build from source code

Post by MRO » Mon Oct 15, 2018 12:09 am

Dear AWG,
First, I apologize for being "that guy" who didn't heed the readme.
Shamefaced, I downloaded and installed VS2017 and made a point of including the Typescript (what's that?) item. Re-downloaded the source code for good measure.
Still no joy. Down to 119 errors. They seem to relate to paths more than syntax. Lots of "The type or namespace xxx could not be found," Newtonsoft, Http, ApiController, Owin, plus others.
Then a number of "Error CS0006 Metadata file 'E:\Users\MRO\Desktop\vrs-master\VirtualRadar.Interface\bin\Debug\VirtualRadar.Interface.dll' could not be found"
I could go on but perhaps this gives a clue. It seems like the .sln is looking for a number of files that I don't have. Are there some References that should be included?
MRO

MRO
Posts: 7
Joined: Sat Oct 13, 2018 2:55 pm

Re: Error during Initial build from source code

Post by MRO » Mon Oct 15, 2018 12:46 am

I think I have it. I combed through the References of each Project and found a ton of out-of-date versions. With the help of NuGet, it looks like I can bring everything together. Only four build errors remain. I'll try to hammer them down on my own.
MRO

MRO
Posts: 7
Joined: Sat Oct 13, 2018 2:55 pm

Re: Error during Initial build from source code

Post by MRO » Mon Oct 15, 2018 4:45 pm

I finally got VirtualRadar.sln to build with no errors or warnings without making any changes to source code. The only changes were to Reference versions via GitHub.
The application launches and shows its splash screen but it fails before displaying the GUI. The attached image shows the error, which occurs in OwinWebServer.cs.
errors :
SQLite error (14): os_win.c:41841: (2) winOpen(C:\Users\Saab1\AppData\Local\VirtualRadar\StandingData.sqb) - The system cannot find the file specified.
SQLite error (14): cannot open file at line 41850 of [fc49f556e4]
Exception thrown: 'System.Data.SQLite.SQLiteException' in System.Data.SQLite.dll

and
'VirtualRadar.exe' (CLR v4.0.30319: VirtualRadar.exe): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\common7\ide\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.NullReferenceException' in VirtualRadar.WebServer.HttpListener.dll
Exception thrown: 'System.Net.Sockets.SocketException' in System.dll
Exception thrown: 'System.Reflection.TargetInvocationException' in mscorlib.dll
An exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll but was not handled in user code
Exception has been thrown by the target of an invocation.


Should the program "just work" or is the user expected to provide some external configuration? I have searched through the online documentation but see no mention.
The executable download (ver 2.4.2) launches fine but the locally-built source code (ver. 3.0.0) doesn't. What am I doing wrong?
MRO

agw
Posts: 2146
Joined: Fri Feb 17, 2012 3:20 am

Re: Error during Initial build from source code

Post by agw » Mon Oct 15, 2018 10:40 pm

TypeScript adds strong types to JavaScript: https://www.typescriptlang.org/

I just tried cloning the git repository for the master branch into a new folder and then building it from scratch. It's building fine for me. This is what I did:

1. Opened a DOS prompt.
2. md vrs-test-build
3. cd vrs-test-build
4. git clone https://github.com/vradarserver/vrs.git
5. cd vrs
6. start virtualradar.sln (should load up VS2017)
7. Right-clicked VirtualRadar executable and clicked Build - built without any errors
8. Ctrl+F5 - all working fine

It sounds a bit like you might have configured Visual Studio to not restore nuget packages. You want the ones that the projects specify, not the latest ones. I leave the setting to restore NuGet packages switched on, if you want to have things set up as I have them then I think the Visual Studio option you want is Tools | Options | NuGet Package Manager and then tick the box for "Allow NuGet to download missing packages". However there's probably something you can do in the NuGet package manager to install the project versions of everything.

The other thing is that I'm a couple of point versions behind on VS2017, I'm on 15.8.2 and I think the latest is 15.8.7. I can't imagine it'd make much difference though, as long as you ticked the options for C# desktop development and TypeScript 2.3 when installing.

The error when loading StandingData.sqb for the first time is expected, it doesn't ship with the program. I would expect it to not show up on the user interface though. It'll download the latest StandingData.sqb fairly soon after first starting up.

MRO
Posts: 7
Joined: Sat Oct 13, 2018 2:55 pm

Re: Error during Initial build from source code

Post by MRO » Tue Oct 16, 2018 2:55 pm

Yep, I followed your steps and it worked fine. Dunno what was wrong before, maybe it was because I had downloaded the ZIP instead of cloning.
Thank you for your patient assistance.
MRO

Post Reply