Skip to content

user-secret error #1414

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

Closed
palves78 opened this issue Apr 28, 2016 · 4 comments
Closed

user-secret error #1414

palves78 opened this issue Apr 28, 2016 · 4 comments

Comments

@palves78
Copy link

After creating a new VS asp.net 5 web application and following asp.net docs instructions to configure email confirmation using SendGrid, i get an error when trying to execute user-secret h

`user-secret : System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
At line:1 char:1

  • user-secret
  • - CategoryInfo          : NotSpecified: (System.IO.FileN...file specified.:String) [], RemoteException
    - FullyQualifiedErrorId : NativeCommandError
    
    

File name: 'Microsoft
.Extensions.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
at Microsoft.Extensions.SecretManager.Program..ctor(IRuntimeEnvironment runtimeEnv)

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Extensions.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
(Fully-specified)
LOG: Appbase = file:///C:/Users/Pedro/.dnx/runtimes/dnx-clr-win-x86.1.0.0-rc1-update2/bin/
LOG: Initial PrivatePath = NULL

Calling assembly : (Unknown).

LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Microsoft.Extensions.Logging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
LOG: Fusion is hosted. Check host about this assembly.
LOG: Try host assembly store with assembly microsoft.extensions.logging, version=1.0.0.0, culture=neutral, publickeytoken=adb9793829ddae60, processorarchitecture=x86.
LOG: Try host assembly store with assembly microsoft.extensions.logging, version=1.0.0.0, culture=neutral, publickeytoken=adb9793829ddae60, processorarchitecture=msil.
LOG: Try host assembly store with assembly microsoft.extensions.logging, version=1.0.0.0, culture=neutral, publickeytoken=adb9793829ddae60.
WRN: Host assembly store does not contain this assembly.
LOG: Attempting download of new URL file:///C:/Users/Pedro/.dnx/runtimes/dnx-clr-win-x86.1.0.0-rc1-update2/bin/Microsoft.Extensions.Logging.DLL.
LOG: Attempting download of new URL file:///C:/Users/Pedro/.dnx/runtimes/dnx-clr-win-x86.1.0.0-rc1-update2/bin/Microsoft.Extensions.Logging/Microsoft.Extensions.Logging.DLL.
LOG: Attempting download of new URL file:///C:/Users/Pedro/.dnx/runtimes/dnx-clr-win-x86.1.0.0-rc1-update2/bin/Microsoft.Extensions.Logging.EXE.
LOG: Attempting download of new URL file:///C:/Users/Pedro/.dnx/runtimes/dnx-clr-win-x86.1.0.0-rc1-update2/bin/Microsoft.Extensions.Logging/Microsoft.Extensions.Logging.EXE.`

I installed user-secret running in PackageConsole:

dnu commands install Microsoft.Extensions.SecretManager

I'm using 1.0.0-rc1-update2 clr x86 win as default

Any thoughts?

@muratg
Copy link
Contributor

muratg commented Apr 28, 2016

Can you paste your project.lock.json?

@palves78
Copy link
Author

project.lock.zip

@muratg
Copy link
Contributor

muratg commented Apr 28, 2016

@aspnet-hello
Copy link

This issue is being closed because it has not been updated in 3 months.

We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

natemcmaster pushed a commit that referenced this issue Nov 14, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
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

3 participants