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 path for a project file, for a specific build configuration
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .Project - Containing Type
- Project
Parser Extensions
Syntax
public static FilePath GetProjectAssembly(this ICakeContext context, FilePath target, string configuration)
Examples
The project's
FilePath
and the build configuration will return the
output file (dll or exe) for the project and return as a FilePath
The alias expects a valid project file.
// Project output dll/exe as FilePath[] for 'Custom' configuration
IEnumerable<FilePath> filePaths = GetOutputAssemblies(new FilePath("test.csproj"), "Custom");
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
ObsoleteAttribute |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | the cake context |
target | FilePath | the project file |
configuration | string | the build configuration |
Return Value
Type | Description |
---|---|
FilePath | the output assembly path |