diff --git a/packages/jsii-pacmak/lib/targets/dotnet.ts b/packages/jsii-pacmak/lib/targets/dotnet.ts index 7789b94e56..c8fc8cb229 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet.ts @@ -28,7 +28,9 @@ export default class Dotnet extends Target { { cwd: sourceDir } ); - await this.copyFiles(path.join(sourceDir, packageId, 'bin', 'Release'), outDir); + await this.copyFiles( + path.join(sourceDir, packageId, 'bin', 'Release'), + path.join(outDir, this.targetName)); await fs.remove(path.join(outDir, 'netstandard2.0')); }