Wow this looks messy. And yes there are outdated urls as well as disabled ones. Does the export work if you delete/rename the file?
How does this file look for @CeeYaa?
Wow this looks messy. And yes there are outdated urls as well as disabled ones. Does the export work if you delete/rename the file?
How does this file look for @CeeYaa?
Today Iâm at homePC - so fresh install for tryout:
here was my file: \AppData\Roaming\NuGet\NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Stride" value="https://packages.stride3d.net/nuget" />
</packageSources>
</configuration>
following is the Error from Gamma2021.3.3.0123 - there is no Stride involved only a RendererSkia and a Circle
System.InvalidOperationException: Could not restore NuGet package VL.Stride
at VL.Lang.Roslyn.Export.SolutionBuilder.<GetPackageAssemblyMap>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at VL.Lang.Roslyn.Export.SolutionBuilder.<Generate>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Lang.Roslyn.Export.SolutionBuilder.<Export>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.HDE.Forms.AppExporterForm.<ExportButton_Click>d__15.MoveNext()
----
There was a problem exporting your Application.
I deleted in NuGet.config this line:
<add key="Stride" value="https://packages.stride3d.net/nuget" />
but same problem
this is the Error from Gamma2021.4.0.0073
System.InvalidOperationException: Could not restore NuGet package VL.Skia
at VL.Lang.Roslyn.Export.SolutionBuilder.<GetPackageAssemblyMap>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at VL.Lang.Roslyn.Export.SolutionBuilder.<Generate>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.Lang.Roslyn.Export.SolutionBuilder.<Export>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VL.HDE.Forms.AppExporterForm.<ExportButton_Click>d__15.MoveNext()
----
There was a problem exporting your Application.
I also try to delete all in \AppData\Local\NuGet\v3-cache - nothing changed
so:
I cannot export with Gamma2021.3.3.0123
I cannot export with Gamma2021.4.0.0073
Ha! Indeed, thank for reminding me.
@Elias there are 3 nuget.config files on my machine. The other two are in the âgamma\Exports\srcâ and âgamma-preview\Exports\srcâ foldersâŠ
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="vvvv-public-feed" value="http://teamcity.vvvv.org/guestAuth/app/nuget/v1/FeedService.svc/" />
</packageSources>
</configuration>
⊠and there are also some in the lib\packs.VL.Stride.Runtime.x.x.x-x\help\Overview for each of the versions of Gamma I have available. They all have the configuration above.
Could be. The error log suggests the nugets are being resolved with service V1 or V2. Iâm not sure which nuget config file Gamma is using, and I also wonder if I need to use a later version of Windows (than 8.1) to install a newer version of NuGet, if it should be necessary.
Besides that though, which config file does Gamma call upon?
btw
@Elias when I try to export with Gamma2021.3.3.0123 I forgot to mention that I get the warning:
[Warning] Unable to load the service index for source https://api.nuget.org/v3/index.json.
and a lot of these Errors but all Stride Related here
[Verbose] Resolving conflicts for .NETFramework,Version=v4.7.2...
[Error] Unable to find package Stride.Core.Assets.CompilerApp with version (>= 4.0.1.1400)
As you can see from detailed log of the preview build I posted above the restore uses %AppData%\NuGet\NuGet.config
and the one in the generated src folder (src\NuGet.config
).
In both your cases it fails to read from nuget.org - therefor you get all sorts of errors, like that it canât find Stride, Skia etc.
Did you check those registry keys from the Microsoft article I linked to above?
sry, I was too lazy
@Elias - I went trough the Microsoft article
and run all commands - so I donât know which one was the correct one but now it exports
and \AppData\Roaming\NuGet\NuGet.Config has the line:
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
and Documents\vvvv\gamma-preview\Exports\src\NuGet.config has the line
<add key="vvvv-public-feed" value="http://teamcity.vvvv.org/guestAuth/app/nuget/v1/FeedService.svc/" />
strange was - first export with Gamma2021.3.3.0123 took 12minutes
I could export âsprayexampleâ with Gamma2021.3.3.0123
I could export âsprayexampleâ with Gamma2021.4.0.0073
thank you for help elias - now I know
@CeeYaa Glad to hear it finally works for you!
@Hadasi If it still doesnât work for you, hereâs another build you can try - it explicitly enables TLS 1.2 on our side, so we can be sure that isnât the culprit anymore. I came across this myself while investigating something completely different.
error.log (3.4 KB)
Iâve just tried updating a project to the latest preview, Iâm not using much in the project,Kinect2, net MQ, elementa, stride and media foundation. Export fails.
From the logs youâre also affected by that TLS 1.2 security stuff. No idea why this now pops up all over the place. The fix I mentioned above wasnât yet merged in the preview you were using. Just pushed a new version (0083) which explicitly enables TLS 1.2 on our side before doing the nuget restore - can you try with that version please?
error.log (97.8 KB)
Still unhappy :(
This is a different error though. Canât find Microsoft.Kinect.Face - anyway we can reproduce this on our end? Maybe you describe what packages youâre using?
errror.zip (19.9 KB) (patch)
Here is yet another different error, with a patch with just kinect and stride in. Doesnât like kinect for some reason
and log
Another Error.log (97.8 KB)
Jesus, seems you stumbled upon something very special here :/
Root cause is that the Stride asset compiler canât load the Microsoft.Kinect.Face.dll
because of this - and the very bad news is that thereâs no immediate fix. Only workaround I can think of is to remove the entire Face reference and all nodes with it - which is obviously only an option if you donât make use of it.
Otherwise youâre out of luck as long as we donât have a fix in Stride. Will open an issue there.
Ah, ok, Iâm just using what is in that patch, skeleton and depth, how do I remove the face reference, do I have to remove it from the nuget? (Iâve always been good at finding the weirdest errors, its like a superpower!)
Any clues as to how to remove kinect face, Iâd like to export to an app to see if that gains me any performance, I presume so, as there is no gui, my patch is almost running perfectly on a latte panda with an atom Z8350, it would be great to get it fully working on it.
Removing the face dll from the nuget gives me an error still
error.log (97.8 KB)
@catweasel. Attach your patch maybe?
https://discourse.vvvv.org/uploads/short-url/d16rehhKiOx4jeYpaLlu95AHRN1.zip its in a post above. I have also removed all references to face in the VL nuget patches as well as the face dll
Oops, missed that.
@cat Tried (with 2021.4.0-0083) and it worked. Maybe you missed something while defacing :) the Nuget?
Here is a version of the package with my changes:
My superpower again, even with your version I still have the same issue, same build of gamma, downloaded the patch from here again, even deleted the dll which you hadnât, and unhappy exporter!
Thanks for testing though!