kudu: Recent update to dotnet CLI breaks build
The version of dotnet CLI I have installed locally is: 1.0.0-preview2-003121
. I have an ASP.NET MVC Core 1.0 app targeting .NET Framework 4.5.1. The solution has other dependency libs targeting same TFM, but those are classy csproj-based project (added to source control via git submodules).
I have auto-deployment setup for this repo and everything was working for past couple of months (since January RC1 days till Nov 9, 2016; last successful build). I have encountered many upgrades RC1->RC2->RTM and each time fixed the problem by searching on Google/GitHub etc.
My dotnet CLI has the same version that we had in our Basic and Shared hosting plans up until very recently, when the version in cloud was bumped to 1.0.0-preview2-1-003155
.
This caused our app build breakage. I get the following error when donet build
triggers the csproj dependency projects:
error MSB4044: The “GenerateDependencyFragmentJson” task was not given a value for the required parameter “CompileItems”
This sting produces zero results on Google, Bing and GitHub.
I only pushed a few lines of Sass and cshtml changes today and found that build now breaks on all hosting plans (we have multiple plans to host different environments of same app).
I know this belongs to Microsoft Azure or .NET team, but if you could help me by:
- pointing to the dontet CLI, nuget 3x or any documentation which explains which magic word to add in csproj/project.json/xproj to get it back to work OR
- downgrading the dotnet CLI version to
1.0.0-preview2-003121
in cloud via Kudu OR - pointing to a person who can give us a tip
that would be highly appreciated. 🍬 🍰 🍕
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (8 by maintainers)
Yep, the reason we use msbuild is in fact for the mixed case. Didn’t realize that’s what you had, but I see it now.
So the theories are:
Need to dig deeper.