This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Incubator.
Summary
Gets the output assembly paths for a solution file, for a specific build configuration
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .Project - Containing Type
- Project
Parser Extensions
Syntax
public static IEnumerable<FilePath> GetSolutionAssemblies(this ICakeContext context, FilePath target, string configuration)
Examples
The Solution's
FilePath
and the build configuration will return the
output files (dll or exe) for the projects and return as an IEnumerable<T>
The alias expects a valid `.sln` file.
// Solution project's output dll/exe's for the 'Release' configuration and 'AnyCPU' platform
IEnumerable<FilePath> filePaths = GetOutputAssemblies(new FilePath("test.sln"), "Release");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | the cake context |
target | FilePath | the solution file |
configuration | string | the build configuration |
Return Value
Type | Description |
---|---|
IEnumerable |
the list of output assembly paths |