-
Notifications
You must be signed in to change notification settings - Fork 1k
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
dotnet publish (3.0) #10512
Comments
From @pranavkm on Monday, September 23, 2019 6:04:08 PM From @Rick-Anderson on Monday, September 23, 2019 5:50:31 PM @pranavkm who can review |
From @pranavkm on Monday, September 23, 2019 6:04:10 PM From @zygimantas on Monday, September 23, 2019 5:55:09 PM Solution structure is: /src/Website/Website.csproj
App.sln |
From @pranavkm on Monday, September 23, 2019 6:04:11 PM From @zygimantas on Monday, September 23, 2019 5:56:23 PM Error in 3.0-alpine docker container was:
|
From @vijayrkn on Monday, September 23, 2019 6:18:59 PM No. This is just plain 'dotnet publish'. Adding @nguerrera |
From @zygimantas on Monday, September 23, 2019 6:31:17 PM Probably it's unrelated, but I use 3.0-alpine SDK image, but I haven't upgraded the code yet, so |
From @nguerrera on Monday, September 23, 2019 6:38:43 PM This was an intentional change and should be documented as such. There was some discussion of including it in docs/release notes on https://github.com/dotnet/cli/issues/4765, but seems not to have happened. It has been this way in every 3.0 preview. I believe this would best be tracked as a docs issue. cc @KathleenDollard @livarcocc |
the same problem met, that's really a breaking change(if not a bug), a bunch of dockerfile had to update 😢 |
The change was made for a major version that semantically allows breaks but you probably needed to update your docker files for 3.0 anyway. |
3.0 way is more natural |
This change was by design and aligns the CLI with the majority of other command line tools out there regarding this behavior. |
From @pranavkm on Monday, September 23, 2019 6:04:07 PM
From @zygimantas on Monday, September 23, 2019 5:46:20 PM
[Enter feedback here]
.NET 3.0 breaking change - I had to change after upgrade from 2.2 to 3.0:
dotnet publish --configuration=Release --no-restore --output=../../dist src/Website
to
dotnet publish --configuration=Release --no-restore --output=dist src/Website
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Copied from original issue: dotnet/AspNetCore.Docs#14494
Copied from original issue: dotnet/aspnetcore#14262
The text was updated successfully, but these errors were encountered: