Skip to content

Instantly share code, notes, and snippets.

@pakrym
Last active February 11, 2016 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pakrym/a89dc62e87aa3858cf0e to your computer and use it in GitHub Desktop.
Save pakrym/a89dc62e87aa3858cf0e to your computer and use it in GitHub Desktop.

Structure:

src\ProjectA\Program.cs
src\ProjectA\project.json
src\ProjectB\Class.cs
src\ProjectB\project.json
global.json

dotnet build

src\ProjectA\bin\Debug\ProjectA.dll
src\ProjectA\bin\Debug\ProjectA.pdb
src\ProjectA\bin\Debug\win7-x64\ProjectA.exe
src\ProjectA\bin\Debug\win7-x64\ProjectA.dll
src\ProjectA\bin\Debug\win7-x64\ProjectA.pdb
src\ProjectA\obj\Debug\***
src\ProjectA\obj\Debug\win7-x64\***

src\ProjectB\bin\Debug\ProjectB.dll
src\ProjectB\bin\Debug\ProjectB.pdb
src\ProjectB\obj\Debug\***

dotnet build -o c:\out\

src\ProjectA\bin\Debug\ProjectA.dll
src\ProjectA\bin\Debug\ProjectA.pdb
src\ProjectA\obj\Debug\***

src\ProjectB\bin\Debug\ProjectB.dll
src\ProjectB\bin\Debug\ProjectB.pdb
src\ProjectB\obj\Debug\***

c:\out\ProjectA.exe
c:\out\ProjectA.dll
c:\out\ProjectA.pdb
c:\out\ProjectB.dll
c:\out\ProjectB.pdb

dotnet build -o c:\out\ --build-base-path c:\temp\

c:\temp\src\ProjectA\bin\Debug\ProjectA.dll
c:\temp\src\ProjectA\bin\Debug\ProjectA.pdb
c:\temp\src\ProjectA\obj\Debug\***

c:\temp\src\ProjectB\bin\Debug\ProjectB.dll
c:\temp\src\ProjectB\bin\Debug\ProjectB.pdb
c:\temp\src\ProjectB\obj\Debug\***

c:\out\ProjectA.exe
c:\out\ProjectA.dll
c:\out\ProjectA.pdb
c:\out\ProjectB.dll
c:\out\ProjectB.pdb
@pakrym
Copy link
Author

pakrym commented Feb 2, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment