Nick Thissen wrote:
If you want to use Visual Studio itself (not VS Code), you can probably get that to work as well. If you select "Open in VS Code", a C# project file will be created (.csproj), which I'm sure you can simply open in Visual Studio and get to work like that. It will contain a package reference to a nuget package that contains the information for the classes so it should even compile properly.
Having an fully working VisualStudio2017 IDE installed - which I do use for other projects - I would like to avoid installing and customizing another IDE (=VisualStudio Code). I assume that the missing script is part of the VC Code installation and therefore I do not have the opportunity to create a project file and further use it in VC2017. Would you mind sending me just one project file thus I can work from that on?
I do assume that on compile time ATVO is generating a class library (dll) which will be used at runtime? If you can confirm that and let me know where ATVO expects the compiled .dll I do think that I can create a VC2017 project for that library from scratch.
P.S.: Here is the failure message I do get when I try to open the "script" in VSCode. Seems that during installation a view scripts are installed in C:\Windows\System32\Scripting which are missing - because I didn't install VSCode
Download logfileError: 6/19/2019 5:40:17 AM (UTC)
Unhandled exception
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\WINDOWS\System32\Scripting\vscodeproject.script'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at System.IO.File.ReadAllText(String path)
at ATVO.ThemeEditor.Scripting.VsCodeUtil.CreateProjectFile(String path) in F:\Appgineer.in\Appgineer.in TV Overlay for iRacing\ATVO.ThemeEditor\Scripting\VsCodeUtil.cs:line 51
at ATVO.ThemeEditor.Scripting.VsCodeUtil.Open(Theme theme) in F:\Appgineer.in\Appgineer.in TV Overlay for iRacing\ATVO.ThemeEditor\Scripting\VsCodeUtil.cs:line 31
at ATVO.ThemeEditor.ViewModels.ThemeExplorerViewModel.OnOpenInVsCode() in F:\Appgineer.in\Appgineer.in TV Overlay for iRacing\ATVO.ThemeEditor\ViewModels\ThemeExplorerViewModel.cs:line 172