Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Error resolving assembly #290

Open
No1e opened this issue May 3, 2018 · 1 comment
Open

Error resolving assembly #290

No1e opened this issue May 3, 2018 · 1 comment

Comments

@No1e
Copy link

No1e commented May 3, 2018

Hi,

I've just migrate my project to .net standard 2.0, update Gorilla Player to 1.2 as well as SDK.
I am getting error while trying to preview xaml. Here is log:

{"level":"debug","message":"[Server] About to process package BouncyCastle (1.8.2). contextInstanceId=3, targetId=0, sampleDataId=0\r\ndebug: Package BouncyCastle (1.8.2) resolution for target framework "netstandard2.0": package folder "E:\...\packages\BouncyCastle.1.8.2" and lib folder "E:\...\packages\BouncyCastle.1.8.2\lib\BouncyCastle.Crypto.dll". contextInstanceId=3, targetId=0, sampleDataId=0\r\nerror: Xaml processing error Summary:"Error resolving assemblies for BouncyCastle"; Message:"Error resolving assemblies for package "BouncyCastle" (ENOTDIR, not a directory 'E:\...\packages\BouncyCastle.1.8.2\lib\BouncyCastle.Crypto.dll')." processingIssue=true, issueType=error, position=null, area=Gral, scope=Sol, name=Error, message=ENOTDIR, not a directory 'E:\...\packages\BouncyCastle.1.8.2\lib\BouncyCastle.Crypto.dll', stack=Error: ENOTDIR, not a directory 'E:\...\packages\BouncyCastle.1.8.2\lib\BouncyCastle.Crypto.dll'\n at Object.fs.readdirSync (fs.js:717:16)\n at Object.parser._loadSinglePackageAssemblies (C:\Users\novak savic\AppData\Local\Programs\Gorilla Player\1.2.0\resources\SolutionParser.js.jx:588:40)\n at Object.parser._loadSinglePackageAssembliesAsyncHelper (C:\Users\novak savic\AppData\Local\Programs\Gorilla Player\1.2.0\resources\SolutionParser.js.jx:730:18)\n at Object. (C:\Users\novak savic\AppData\Local\Programs\Gorilla Player\1.2.0\resources\SolutionParser.js.jx:738:26)\n at Object.parser._loadSinglePackageAssembliesAsyncHelper (C:\Users\novak savic\AppData\Local\Programs\Gorilla Player\1.2.0\resources\SolutionParser.js.jx:726:17)\n at Object. (C:\Users\novak savic\AppData\Local\Programs\Gorilla Player\1.2.0\resources\SolutionParser.js.jx:710:26)\n at DuplexWrapper.emit (events.js:98:14)\n at endReadableNT (C:\Users\novak savic\AppData\Local\Programs\Gorilla Player\1.2.0\resources\node_modules\unzipper\node_modules\readable-stream\lib\_stream_readable.js.jx:921:12)\n at afterTickTwo (C:\Users\novak savic\AppData\Local\Programs\Gorilla Player\1.2.0\resources\node_modules\unzipper\node_modules\readable-stream\node_modules\process-nextick-args\index.js.jx:26:10)\n at process._tickCallback (node.js:803:1), contextInstanceId=3, targetId=0, sampleDataId=0\r\n","timestamp":"2018-05-03T06:28:41.066Z"}

Note I replace part of path with ... (too long path making log less readable).

Regards,
Novak

@No1e
Copy link
Author

No1e commented May 11, 2018

Hi,

There is workaround for this, but not solution for sure.
BouncyCastle does not have platform specific folder, but only lib folder. Gorilla player understands Lib\BouncyCastle.Crypto.dll as folder which is wrong.

Simple workaround is creation of platform specific folder like
Lib\net40\BouncyCastle.Crypto.dll

So, I guess fix from your side would be very simple.

Regards,
Novak

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant