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
"The framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found." #118
Comments
This is because starting with version 3, the core App packages are not distributed via NuGet anymore, but built-in with the SDK. So if you have installed the 3.1.100 SDK, then you shouldn't have such issues. Do you maybe have a The documentation is outdated, sorry about that, I'll fix it quickly. |
MyApp.Server.fsproj includes <ItemGroup>
<ProjectReference Include="..\MyApp.Client\MyApp.Client.fsproj" />
<PackageReference Include="Bolero.Server" Version="0.11.22-preview31" />
<PackageReference Include="Bolero.HotReload.Server" Version="0.11.5-preview31" />
<PackageReference Include="Microsoft.AspNetCore.Blazor.Server" Version="3.1-preview4.19579.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1" />
</ItemGroup> |
I just successfully ran the same sequence of commands with version 3.1.101 on both Windows and Ubuntu. What system are you on? Can you try to upgrade to 3.1.101? |
Just tried 3.1.101, and I get the same behavior. This is on Manjaro, but I installed 3.1.101 from Arch AUR. I've experimented a bit with paket and removing some restrictions, but I'm unable to get it building. |
What output do you get for |
Am I supposed to have a Microsoft.AspNetCore.App.dll? Who is referencing this? I'm new to dotnet core :/ I have a lot of dlls like the following: /usr/share/dotnet/packs/Microsoft.AspNetCore.App.Ref/3.1.0/ref/netcoreapp3.1/Microsoft.AspNetCore.dll While there are lots of preview versions in the project files, this one is just pinning 3.1: |
Under |
Ah, thanks! I'm a bit blind it seems, and didn't notice the "Asp" difference in the runtime part. Sorry to steal your time with such a silly user error. |
Know this is old but in-case anyone stumbled upon this, the package is aspnet-runtime in the Community repo currently. |
Thank you very much! And also Tarmil for noticing the problem. I was stucked in this too.. |
thanks i was stuck at this error too.. same OS. |
Thank you, and solve problem in ARCH LINUX sudo pacman -S aspnet-runtime |
Thanks guys, I had to install aspnet-runtime package to enable my asp.net app to run https://aur.archlinux.org/packages/aspnet-runtime-bin Regards |
Looking at the published nuget package, this seems to be correct as I only see netcoreapp2.2 at nuget: https://www.nuget.org/packages/Microsoft.AspNetCore.App
The documentation, https://fsbolero.io/docs/, states that "version 3.0.0 or newer" is required. (EDIT: I'm trying 3.1.100)
Looking at the generated references, it includes a lot of preview stuff.
Does the project work atm? Anything I'm missing from the documentation?
The text was updated successfully, but these errors were encountered: