We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a451287 commit d5483f3Copy full SHA for d5483f3
test/templates/util/aspnet.ts
@@ -115,7 +115,11 @@ export class AspNetProcess {
115
}
116
117
export function publishProjectSync(sourceDir: string, outputDir: string) {
118
- childProcess.execSync(`dotnet publish -c Release -o ${ outputDir }`, {
+ // Workaround for: MSB4018: The "ResolvePublishAssemblies" task failed unexpectedly
119
+ // TODO: Remove this when the framework issue is fixed
120
+ const aspNetCore20PublishWorkaround = '/p:TargetManifestFiles=';
121
+
122
+ childProcess.execSync(`dotnet publish -c Release -o ${ outputDir } ${ aspNetCore20PublishWorkaround }`, {
123
cwd: sourceDir,
124
stdio: 'inherit',
125
encoding: 'utf8'
0 commit comments