MSBuild.NodeTools
MSBuild.NodeTools copied to clipboard
CustomErrorRegularExpression in MSBuild.Bower.targets fails build (CI)
Hi,
On a clean checkout when bower components are installed afresh, there's some glitch that makes it fail on first run when bower reports inconsistent version. I have tried adding -F param to bower install - no help. Removing the CustomErrorRegularExpression attributes from MSBuild.Bower.targets makes it behave, but then I cannot modify the target of a package easily.
Please note that,
angular-ui-grid#3.1.1 depends on angular#>=1.2.16 1.4.x which resolved to angular#1.4.10
angular-animate#1.5.5, angular-resource#1.5.5, angular-route#1.5.5 depends on angular#1.5.5 which resolved to angular#1.5.5
C:\mysolution\packages\MSBuild.Bower.0.5.1\build\MSBuild.Bower.targets(66,9): error : ASP.NET depends on angular#^1.5.0 which resolved to angular#1.5.5 [C:\mysolution\myproj\myproj.csproj]
angular-ui-bootstrap-bower#1.3.2 depends on angular#>=1.4.0 which resolved to angular#1.5.5
ngclipboard#1.1.1 depends on angular#>=1.2.0 which resolved to angular#1.5.5
angular-encode-uri#1.0.0 depends on angular#* which resolved to angular#1.5.5
Resort to using angular#~1.5.5 which resolved to angular#1.5.5
Code incompatibilities may occur.
Otherwise it proceeds and then:
C:\mysolution\packages\MSBuild.Bower.0.5.1\build\MSBuild.Bower.targets(66,9): error MSB3073: The command "SETLOCAL & SET PATH=C:\mysolution\myproj\.bin\;%PATH% & [C:\mysolution\myproj\myproj.csproj]
C:\mysolution\packages\MSBuild.Bower.0.5.1\build\MSBuild.Bower.targets(66,9): error MSB3073: SETLOCAL & SET PATH=C:\mysolution\myproj\.bin\;%PATH% & "C:\mysolution\myproj\.bin\bower.cmd" install -F" exited with code -1. [C:\mysolution\myproj\myproj.csproj]
Just running msbuild again after this works without any modification (considering the bower packages have already been resolved).
Thanks for the works, Rob