Re: Anyone Successfully Using C# 6.0 on Azure?
Ok, great, thanks! I'll check out those GitHub issues.
I assumed 1.10.1 was the latest stable release (wasn't sure what 1.10.x was exactly but assumed it was the active/unstable work on 1.10.2).
Anyway, I forked Orchard and then set 1.10.1 full source from that fork as the deployment source for a new deployment slot in Azure. It failed with all kinds of warnings and errors after a few minutes.
Warnings were things like:
2016-05-03T22:03:06.9178801Z,D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Autofac, Version=220.127.116.11, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\src\Orchard\Orchard.Framework.csproj],,0
2016-05-03T22:03:07.2147548Z,D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "AllRules.ruleset". [D:\home\site\repository\src\Orchard\Orchard.Framework.csproj],,0
The first error lines was:
2016-05-03T22:03:25.8865109Z,Mvc\Html\LinkExtensions.cs(5,18): error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) [D:\home\site\repository\src\Orchard\Orchard.Framework.csproj],,0
I followed the exact same steps with 1.9.1 and it worked. It took almost 40 minutes, which made me question if this is the best deployment model (especially when I have small updates to my modules), but at least it worked. Maybe this isn't the best way to deploy and maybe I should be using pre-compiled or something but I wanted to get something to work where I could work locally against the full source (for debugging/understanding purposes) and just check my code in, including any custom modules, and have it auto-deploy to an Azure slot.