Azure failed to start due to NetFx451

When deploying your project in azure mode, you will receive an error message

Azure Deployment: The feature named NetFx451 that is required by the uploaded package is not available in the OS * chosen for the deployment.
+4
source share
3 answers

To fix this error, update your * .cscfg files in your azure project. In each file you find osFamily="3"(maybe something else), change it to osFamily="4".

Publish your project again and it should now deploy

+8
source

For .Net 4.6.1 you need to select osFamily = "5" inside your * .cscfg files and run these instructions

+8
source

, .cscfg .

, "Windows Server 2012 R2" (OS 4.x) , . .

, , .NET.

"Windows 2008 R2" (OS 2.6), NetFx. "Windows Server 2012 R2" (OS 4.x) .NET, . .

+1

Source: https://habr.com/ru/post/1534475/


All Articles