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

'Microsoft.VisualStudio.Web.CodeGeneration.Design' is incompatible with 'all' frameworks #2586

Open
JohnKesko opened this issue Nov 23, 2023 · 0 comments

Comments

@JohnKesko
Copy link

JohnKesko commented Nov 23, 2023

Hello!

Just tried out .NET 8 and tried to install, but doesn't seem to work:
Sitting on macOS.

dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design

Determining projects to restore...
Writing /var/folders/8x/dd06szw1095dgzpn2xkz05_h0000gn/T/tmpIqoUY2.tmp
info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/local/share/dotnet/sdk/8.0.100/trustedroots/codesignctl.pem'.
info : X.509 certificate chain validation will use the fallback certificate bundle at '/usr/local/share/dotnet/sdk/8.0.100/trustedroots/timestampctl.pem'.
info : Adding PackageReference for package 'Microsoft.VisualStudio.Web.CodeGeneration.Design' into project '/Users/andreas/Development/_test/TodoApp/TodoApp.csproj'.
info : CACHE https://api.nuget.org/v3/registration5-gz-semver2/microsoft.visualstudio.web.codegeneration.design/index.json
info : CACHE https://api.nuget.org/v3/registration5-gz-semver2/microsoft.visualstudio.web.codegeneration.design/page/1.0.0-msbuild1-final/5.0.0-rc.1.20453.2.json
info : CACHE https://api.nuget.org/v3/registration5-gz-semver2/microsoft.visualstudio.web.codegeneration.design/page/5.0.0-rc.2.20473.1/8.0.0.json
info : Restoring packages for /Users/andreas/Development/_test/TodoApp/TodoApp.csproj...
info : GET https://api.nuget.org/v3-flatcontainer/microsoft.visualstudio.web.codegeneration.design/index.json
info : OK https://api.nuget.org/v3-flatcontainer/microsoft.visualstudio.web.codegeneration.design/index.json 265ms
error: NU1102: Unable to find package Microsoft.VisualStudio.Web.CodeGeneration.Design with version (>= 8.0.0)
error: - Found 117 version(s) in nuget.org [ Nearest version: 8.0.0-preview.5.23313.2 ]
error: - Found 0 version(s) in /usr/local/share/dotnet/library-packs
info : CACHE https://api.nuget.org/v3/vulnerabilities/index.json
info : CACHE https://api.nuget.org/v3/vulnerabilities/vulnerability.base.json
info : CACHE https://api.nuget.org/v3/vulnerabilities/vulnerability.update.json

error: Package 'Microsoft.VisualStudio.Web.CodeGeneration.Design' is incompatible with 'all' frameworks in project '/Users/andreas/Development/_test/TodoApp/TodoApp.csproj'.


<PropertyGroup>
  <Nullable>enable</Nullable>
  <ImplicitUsings>enable</ImplicitUsings>
  <TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
  <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.0">
    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    <PrivateAssets>all</PrivateAssets>
  </PackageReference>
  
  <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0" />
  <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.0">
    <PrivateAssets>all</PrivateAssets>
    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  </PackageReference>
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