trnktms / Helix.Skeleton

Accelarate Helix based Sitecore project initial setup and project addition included with common needs.
MIT License
12 stars 2 forks source link

Old Msbuild is used #13

Open Geri044 opened 5 years ago

Geri044 commented 5 years ago

Running build.cmd throws the error: MS 14.0 does not support Microsoft.Net.Compilers. I have resolved this issue by using a newer Msbuild.exe: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe" %_solution% /p:DeployOnBuild=true /p:PublishProfile=%_publishProfile% /p:VisualStudioVersion=15.0

trnktms commented 5 years ago

Instead of hardcoded msbuild path, Invoke-MSBuild PS module should be used.