这是我的项目文件csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net4.6</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="EntityFramework" Version="6.2.0" />
</ItemGroup>
</Project>
Run Code Online (Sandbox Code Playgroud)
在VisualStudio 2017中,我尝试添加项" ADO.NET实体数据模型 ".当按下添加按钮VS给我一个例外...

在日志文件中我得到了这个:
===================== 2018-02-21 15:23:47可恢复的System.Reflection.TargetInvocationException:调用目标引发了异常.---> Microsoft.VisualStudio.ProjectSystem.ProjectException:此项目项提供程序不支持项类型"EntityDeploy".在Microsoft.VisualStudio.ProjectSystem.ProjectErrorUtilities.ThrowProjectExceptionHelper(Exception innerException,String unformattedMessage,Object [] args)at Microsoft.VisualStudio.ProjectSystem.ProjectErrorUtilities.ThrowProjectException(String message,Object arg0)àMicrosoft.VisualStudio.ProjectSystem.CpsProjectItem`1. d__25.MoveNext()
当我尝试将变量部署到 Azure 自动化资产时,出现错误并且无法部署我的资源。
假设这个模板
{
"name": "myVariable",
"type": "Microsoft.Automation/automationAccounts/variables",
"apiVersion": "2015-10-31",
"dependsOn": [
"[resourceId('Microsoft.Automation/automationAccounts', variables('automationAccountName'))]"
],
"location": "[variables('automationLocation')]",
"properties": {
"isEncrypted": "false",
"value": "8f703df8-0448-4ee3-8629-fc3f01840683"
}
}
Run Code Online (Sandbox Code Playgroud)
部署向我抛出异常:
{\"Message\":\"The request is invalid.\",\"ModelState\":{\"variable.properties.value\":[\"Invalid JSON primitive: a7d14fb0-232e-4fa0-a748-c7c8fb2082e2.\"]}}
我也尝试过:
"value": "\"8f703df8-0448-4ee3-8629-fc3f01840683\""
Run Code Online (Sandbox Code Playgroud)
但是任何尝试都失败了!
任何人都知道如何使用 ARM 模板配置可变资产?
azure azure-resource-manager azure-automation azure-rm-template
假设这个用例:
我希望从今年3月到7月之间购买波士顿的顾客.
有了DDD
我应该使用巫婆实施?
architecture design-patterns domain-driven-design specifications