Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Consider improving missing user secrets ID exception message to help with migration to msbuild #590

@divega

Description

@divega

Customers that are using user secrets will need to tweak any call to AddUserSecrets() too as part of their migration from project.json to .csproj.

The current exception message when the location of the user secret ID cannot be found (e.g. using EF Migrations or while publishing) looks like this:

This method could not find a user secret ID because the application's entry assembly is not set. Try using the ".AddUserSecrets(Assembly assembly)" method instead.

This is all correct, but given a large number of customers may potentially run into this it makes sense to be more concise and to point to the easier to use AddUserSecrets<T>() overload.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions