Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dargon Alpha Init.exe fails with NotSupportedException #12

Open
miyu opened this issue Dec 5, 2015 · 3 comments
Open

Dargon Alpha Init.exe fails with NotSupportedException #12

miyu opened this issue Dec 5, 2015 · 3 comments

Comments

@miyu
Copy link
Member

miyu commented Dec 5, 2015

From https://www.reddit.com/r/dargon/comments/3ugpyb/dargon_alpha_builds/

Ideally we'd ship our nest-spawner asap and it would handle downloading the nest for us (so that we wouldn't have to deal with these 'security' features).

This involves actually pushing to the nest repo; that is, packages.dargon.io

Problems and workarounds

Dargon fails to start (#1)
Logs show:

Unhandled Appdomain Exception
System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. 

Workaround:

The problem is caused by Windows detecting that Dargon has been downloaded from the internet.

  • Zip dargon directory.
  • Unzip dargon directory, overwriting existing installation.
  • Windows will no longer think Dargon was downloaded from the internet.
@miyu miyu added the bug label Dec 5, 2015
@miyu miyu added this to the Sprint 1 (Dec 6 - Dec 18) milestone Dec 5, 2015
@miyu miyu self-assigned this Dec 5, 2015
@miyu
Copy link
Member Author

miyu commented Dec 6, 2015

Solution might not be software, but rather just 7-zipping instead.

@miyu miyu added the wontfix label Dec 7, 2015
@miyu
Copy link
Member Author

miyu commented Dec 7, 2015

Since nest-spawner (our installer) is going a long way, can probably just use that over figuring out solutions to this.

@miyu miyu closed this as completed Dec 7, 2015
@miyu miyu reopened this Dec 7, 2015
@miyu
Copy link
Member Author

miyu commented Dec 11, 2015

Interesting, will keep that in mind. I'll keep the issue marked as wontfix for now, because we only face this problem when users download a zipped development build. If we use nestd/nest-spawner (as is planned for the next release), then we won't encounter this problem.

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

No branches or pull requests

1 participant