Hello i am trying to run dotnet -c Release [sourcepath] --output [destination]
a project in a .sln
that has multiple projects.
The file-structure of the solution is like this:
RootFolder
-.sln
Folder1
- Csproj1
Folder2
- Csproj2 //i want to publish this one (lets say ipotetically)
When i am running dotnet publish -c Release [path]/RootFolder/folder1 --output [destination]
i keep getting the error:
Error:
Microsoft (R) Build Engine version 15.8.169+g1ccb72aefa for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1008: Only one project can be specified.
Switch: Release
For switch syntax, type "MSBuild /help"