的Visual Studio 2010 Beta 2的myTODO错误消息 [英] Visual Studio 2010 Beta 2 myTODO Error message

查看:147
本文介绍了的Visual Studio 2010 Beta 2的myTODO错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了 myTODO Azure的示例应用程序,当试图本地运行我收到以下十分不解的错误消息。

 项列表中的项目.. \\ MyTodo.WebUx \\ MyTodo.WebUx.csproj
ProjectReferenceWithConfiguration没有定义元数据的配置的值。
为了使用该元数据,通过指定%限定它(ProjectReferenceWithConfiguration.Configuration)
或者确保在此列表中的所有项目的元数据定义的值。
C:\\ Program Files文件(x86)的\\的MSBuild \\微软\\云服务\\ 1.0 \\的Visual Studio 10.0 \\ Microsoft.CloudService.targets

下面是一个extractfrom的MyToDo.WebUX.csproj文件,我该怎么改?

 <?XML版本=1.0编码=UTF-8&GT?;
<项目ToolsVersion =4.0DefaultTargets =生成的xmlns =htt​​p://schemas.microsoft.com/developer/msbuild/2003>
<&的PropertyGroup GT;
<结构条件='$(配置)'==''>调试和LT; /结构>
<平台条件='$(平台)'==''>&值为anycpu LT; /平台和GT;
<&的ProductVersion GT; 9.0.30729< /&的ProductVersion GT;


解决方案

要获得Web项目转换,请从要素如下:{603c0e0b-db56-11dc-be95-000d561079b0};

这是样品过​​时但...你可以用它来看看测试项目,但要获得一个更切合多数该项目的code之日起VS2008版本,尝试下载源这个实验: DeployingApplicationsinWindowsAzure

源链接是在右上角。如果你看一下在3锻炼结束文件夹,你会发现一个更切合这一​​项目的最新版本......但是我不认为完整的解决方案是存在的,所以你必须把它比你挂一个以上。

...我还没有比较自己,所以我不知道什么是实验室版本和code库之一之间缺少的项目。

I have downloaded the myTODO Azure sample application and when trying to run it locally I am receiving the following very puzzling error message.

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

Below is an extractfrom the MyToDo.WebUX.csproj file, what do I change?

<?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>

解决方案

To get the web project to convert, remove the following from the element: "{603c0e0b-db56-11dc-be95-000d561079b0};"

That sample is out of date though ... you can use it to look at the tests project, but to get a more up to date vs2008 version of the majority of that project's code, try downloading the source to this lab: DeployingApplicationsinWindowsAzure.

The Source link is in the upper right corner. If you look at the end folder for the 3 exercise you will find a more up to date version of this project ... however I don't think the complete solution is there so you'll have to compare it to the one you linked to above.

... I haven't compared the projects myself so I don't know what is missing between the lab version and the one on code gallery.

这篇关于的Visual Studio 2010 Beta 2的myTODO错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆