`PublishProfileFullPath` is ignored in `dotnet publish` command.
See original GitHub issueHi team,
I have:
- Created a new .NET Core 3.1 console application on my Windows 10 with .NET SDK 3.1.402.
- Executed the following command:
dotnet publish -p:PublishProfileFullPath=WhateverHere
- Publishing succeeded.
The issue is that specified PublishProfileFullPath
(docs) is invalid and dotnet publish
is fine with that.
Note: WhateverHere
can be really whatever. An existing path, not existing path, not path at all.
Could anybody help me understand why is that?
Cheers!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:30 (15 by maintainers)
Top Results From Across the Web
dotnet publish command - .NET CLI
dotnet publish - Publishes the application and its dependencies to a folder for deployment to a hosting system. Synopsis .NET CLI Copy.
Read more >c# - dotnet publish with /p:PublishProfile
The PublishProfile is only the name, any directory before it is disregarded. PublishProfile property is treated as a file name and the directory ......
Read more >dotnet publish seems to ignore Working Directory
I'm trying to set up a simple pipeline that will publish on of the web projects using the dotnet publish command.
Read more >[Solved]-dotnet publish with /p:PublishProfile=?-.net-core
The PublishProfile is only the name, any directory before it is disregarded. PublishProfile property is treated as a file name and the directory...
Read more >10 commands you don't want to be without in .Net Core
Here's a full list of commands that runs restore implicitly: dotnet new; dotnet build; dotnet build-server; dotnet run; dotnet test; dotnet publish; dotnet...
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 Free
Top 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
In your csproj, if the first line contains “Microsoft.NET.SDK.Web”, then you are using the websdk that contains the fallback.
Got it. Ok. I’ll add this item to our backlog