How to use daily sdk build with daily ASP.NET Core build
See original GitHub issueSteps to reproduce
Download and untar latest sdk from https://github.com/dotnet/cli
dotnet new web
dotnet run
Expected behavior
I can get the application to run based on README info
Actual behavior
It was not possible to find any compatible framework version
The specified framework 'Microsoft.AspNetCore.All', version '2.1.0-preview1-28124' was not found.
- Check application dependencies and target a framework version installed at:
/home/tmds/Downloads/dotnet-sdk-latest/
- The .NET framework can be installed from:
https://aka.ms/dotnet-download-runtime
- The .NET framework and SDK can be installed from:
http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
Environment data
.NET Command Line Tools (2.1.300-preview2-008022)
Product Information:
Version: 2.1.300-preview2-008022
Commit SHA-1 hash: 71f22a9f37
Runtime Environment:
OS Name: fedora
OS Version: 25
OS Platform: Linux
RID: fedora.25-x64
Base Path: /home/tmds/Downloads/dotnet-sdk-latest/sdk/2.1.300-preview2-008022/
Microsoft .NET Core Shared Framework Host
Version : 2.1.0-preview1-26116-04
Build : eeb3a84e2142aba791fe003564b8afd048c45ff9
Issue Analytics
- State:
- Created 6 years ago
- Comments:23 (22 by maintainers)
Top Results From Across the Web
aspnetcore/docs/DailyBuilds.md at main
How to get daily builds of ASP.NET Core · Obtain the latest build of the .NET Core SDK. · Add a NuGet.Config to...
Read more >Background tasks with hosted services in ASP.NET Core
Create a new project. · Select Worker Service. Select Next. · Provide a project name in the Project name field or accept the...
Read more >Building Simple Dapr Cron Jobs with ASP.NET Core Web ...
This article is going to cover how to configure a basic Dapr cron job in a ASP.NET Web API. I'll cover how to...
Read more >Build a REST API with ASP.NET Core 2.2
This is a step-by-step for creating a REST API application using ASP.NET Core 2.2.
Read more >How to create .NET Core 3 (nightly build) app in Visual ...
To create new project using the nightly build of .NET Core 3.0 is only applicable from command prompt, because the current .NET Core...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When updating the code from the package runtime store to the shared framework, I missed this required change to redist.csproj: https://github.com/dotnet/cli/commit/8de55145af7724b9af261dec4c4090e98117c4a5#diff-acadc45977478b307ad6d53f23f6e17c
FYI - you can also get installers for the aspnetcore shared framework here: https://github.com/aspnet/universe#daily-builds. The versions linked their may not match with what is bundled in the CLI. There is a lag between when we produce a new build of aspnetcore and when CLI consumes it.