【发布时间】:2010-01-06 11:39:32
【问题描述】:
我已经下载了myTODO Azure 示例应用程序,当尝试在本地运行它时,我收到以下非常令人费解的错误消息。
The item "..\MyTodo.WebUx\MyTodo.WebUx.csproj" in item list
"ProjectReferenceWithConfiguration" does not define a value for metadata "Configuration".
In order to use this metadata, either qualify it by specifying %(ProjectReferenceWithConfiguration.Configuration),
or ensure that all items in this list define a value for this metadata.
C:\Program Files (x86)\MSBuild\Microsoft\Cloud Service\1.0\Visual Studio 10.0\Microsoft.CloudService.targets
以下是 MyToDo.WebUX.csproj 文件的摘录,我要更改什么?
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
【问题讨论】: