Code: Select all
- monorepo
|- scripts
| |- script1.ps
|- src
|- projA
| |- projA.csproj
|- projB
< /code>
In der CSProj -Datei definiere ich ein Post -Build -Ziel, um einen Befehl aus einem Skript auszuführen
im Skriptverzeichnis am Stamm />
error MSB3073: The command "pwsh -NoProfile -ExecutionPolicy RemoteSigned -Command "
error MSB3073: $root = ;
error MSB3073: $scriptPath = [System.IO.Path]::Combine($root, 'scripts', 'writemanifest.ps1');
error MSB3073: & $scriptPath
exited with code 255.
< /code>
Ich verstehe, dass Variablen nicht ordnungsgemäß zugeordnet sind, oder es führt nicht den richtigen Befehl aus, aber ich habe keine Ahnung, wie man es behebt. Jede Hilfe wäre geschätzt.
Mobile version