EntityFramework.Tools Mac OSX 10.21
See original GitHub issueSteps to reproduce
- Visual Studio for Mac (and necessary binaries)
- Create web application
- Install Microsoft.EntityFramework.Tools.DotNet 1.1.0-preview4-final
The issue
Trying to install tooling do run dotnet ef
commands
Retrieving package ‘Microsoft.EntityFrameworkCore.Tools.DotNet 1.1.0-preview4-final’ from ‘nuget.org’. Install failed. Rolling back… Package ‘Microsoft.EntityFrameworkCore.Tools.DotNet.1.1.0-preview4-final’ does not exist in project ‘App’ Executing nuget actions took 620.74 ms Package ‘Microsoft.EntityFrameworkCore.Tools.DotNet 1.1.0-preview4-final’ has a package type ‘DotnetCliTool’ that is not supported by project ‘App’.
Further technical details
EF Core version: 1.1.0 [assembly: AssemblyFileVersion (“1.1.0.21115”)] [assembly: AssemblyInformationalVersion (“1.1.0-rtm-22752”)]
Operating system: Visual Studio for Mac OSX 10.12.21
Other details about my project setup: dotnet --version 1.0.0-preview3-004056 sdk 1.0.0-preview3-004056 (/usr/local/share/dotnet/sdk
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (6 by maintainers)
For preview3 (csproj-based) tooling, you’ll need to add the following.
@vivek306 Yes! Paste below in ItemGroup
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet"> <Version>1.0.0-msbuild1-final</Version> </DotNetCliToolReference> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet"> <Version>1.0.0-msbuild1-final</Version> </PackageReference> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools"> <Version>1.0.0-msbuild1-final</Version> </PackageReference>
The CLI-reference will show up as missing in solution explorer (at least for me) and dont remove it since the reference will be removed.