如何编辑在Blend 4被用VS2012创建一个C#项目? [英] How to edit a c# project in Blend 4 that was created with VS2012?

查看:1085
本文介绍了如何编辑在Blend 4被用VS2012创建一个C#项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它总是说解决方案foo.sln是不支持的格式,并且可能无法正常打开。你想反正开解?如果我点击是的,它显示解决方案树,但是当我打开一个XAML文件,只显示其XAML文本,而不是用户界面的渲染。

It always says "The solution "foo.sln" is of an unsupported Format and may not open correctly. Do you want to open the solution anyway?" If I click yes, it Shows the solution tree, but when I open a xaml file, it only Displays its xaml text, not the Rendering of the UI.

据这 http://blendinsider.com/technical/available-现在混纺换视觉工作室2012-2012-08-15 / 混合4是它的意思的工作方式。所以,什么是错的,我猜。

According to this http://blendinsider.com/technical/available-now-blend-for-visual-studio-2012-2012-08-15/ Blend 4 is the way it's meant to work. So something is wrong I guess.

我有旧项目与VS2010创建和Blend 4。我仍可以打开并在他们的工作在Blend 4,而在vs2012对他们的工作。只有vs2012创建新项目似乎有这个问题对我来说。

I have older Projects created with vs2010 and Blend 4. I can still open and work in them in Blend 4 while working on them in vs2012. Only new Projects created with vs2012 seem to have this Problem for me.

推荐答案

当您在Blend 4打开VS2012工程,像这样的消息显示:

When you open a VS2012 project in blend 4, a message like this is showed:

的事情是,如果你点击Yes按钮,然后它会打开该项目,但如果项目的目标框架是4.5则混合物只将显示您的XAML代码,并没有更多的东西。但是如果你的项目目标框架是4.0或更低,那么你将可以编辑为通常你以前做过的项目。

The thing is that if you click the yes button then it will open the project, but if the target framework of the project is 4.5 then the blend only will show you the Xaml code, and no more else. But if the target framework of your project is 4.0 or lower, then you will may edit the project as normally you have done before.

希望这可以帮助你......

Hope this could helps you...

这篇关于如何编辑在Blend 4被用VS2012创建一个C#项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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