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

Commands: Microsoft.CodeAnalysis.CSharp missing on UWP #2661

Closed
natemcmaster opened this issue Jul 17, 2015 · 2 comments
Closed

Commands: Microsoft.CodeAnalysis.CSharp missing on UWP #2661

natemcmaster opened this issue Jul 17, 2015 · 2 comments
Assignees
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@natemcmaster
Copy link
Contributor

Repro:

  1. Create new UWP (latest Win10 tooling) project
  2. Open "project.json"
  3. Add "EntityFramework7.Commands" : "(latest version number)" to the dependencies.
  4. Verify the package has been installed by running the Nuget package manager console, Get-Package -ProjectName {name}
  5. Add-Migration should be available, but instead it throws The term 'Add-migration' is not recognized as the name of a cmdlet

Commands on UWP are installed if the package is added via Nuget GUI or Install-Package

(There is probably not much we can do here except offer a workaround for users. This is a bug on UWP tooling.)
#1242

@natemcmaster
Copy link
Contributor Author

UPDATE
Latest commands package does not work on UWP with the VS RTM released today.

"entityframework7.commands": "7.0.0-beta7-13800"

add-migration : Exception calling "CreateInstanceAndUnwrap" with "8" argument(s): "Could not load file or assembly 'EntityFramework7.Commands' or one of its dependencies. The system cannot find the file specified."

@bricelam
Copy link
Contributor

Could not load file or assembly 'Microsoft.CodeAnalysis.CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

To resolve,

Install-Package Microsoft.CodeAnalysis.CSharp

@bricelam bricelam changed the title Migrations commands not available in UWP Commands: Microsoft.CodeAnalysis.CSharp missin on UWP Jul 22, 2015
@bricelam bricelam changed the title Commands: Microsoft.CodeAnalysis.CSharp missin on UWP Commands: Microsoft.CodeAnalysis.CSharp missing on UWP Jul 22, 2015
@bricelam bricelam modified the milestones: 7.0.0-beta7, 7.0.0 Jul 22, 2015
@ajcvickers ajcvickers added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Oct 15, 2022
@ajcvickers ajcvickers modified the milestones: 1.0.0-beta7, 1.0.0 Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
Development

No branches or pull requests

4 participants