2 years ago

#67415

test-img

Andy

dotnet publish specific project with SolutionDir reference

I'm trying to publish a specific project which is part of a solution. Many of the projects in the solution have settings which depend on the $(SolutionDir) value, but this is not available when the command line only points to the .csproj file instead of the .sln

Is there a way to inject a value to be used as $(SolutionDir) in this case?

.net

deployment

dotnet-publish

0 Answers

Your Answer

Accepted video resources