Expression Blend 4 和 VS 2008 SP1

发布于 2024-09-12 21:57:30 字数 760 浏览 5 评论 0原文

大家好!

一两个问题..

是否可以使用 Expression Blend 4 和 Visual Studio 2008???

如果是的话...怎么办?

我这样做了:

安装VS2008 安装表达式 4 安装VS2008 SP1 安装 Silverlight 3 工具 删除 Silverlight 4 注册表项 安装 Silverlight 3 Developer(Silverlight_Developer.exe,以在 VS2008 中启用 Silverlight 调试)

然后...当我尝试在 VS2008 中打开 Expression Blend 4 解决方案时,它说使用的版本是更新的... 所以我打开sln文件并将版本11.0更改为10.0

现在VS2008从Blend 4打开sln,并且由于我使用版本3创建了解决方案,我认为不会有任何问题,但VS2008不渲染任何场景。 ..

如果我按F5,项目将在资源管理器中编译并启动...但我无法使用VS2008做任何事情...只是在代码中编辑而不是在设计中...

或者我是否误解了一切???我来自 Flash.. 我习惯在 Flash 中创建一些东西,然后将其用作 HTML 中的对象...

这次我在 Blend 4 中创建了一个菜单...但是如何在 ASPX 中使用它? ??如何为我的按钮分配操作???

抱歉有这么多问题:(我一直在阅读一些教程,但所有这些教程都是针对 Blend 4 中的设计...不要在 VS2008 中使用这些解决方案

谢谢!!!!

Good Day everyone!!

One question.. or two..

Is it possible to use Expression Blend 4 and Visual Studio 2008???

if it is... how??

I did this:

Install VS2008
Install Expression 4
Install VS2008 SP1
Install Silverlight 3 Tools
Remove Silverlight 4 registry key
Install Silverlight 3 Developer (Silverlight_Developer.exe, to enable Silverlight debugging in VS2008)

Then... when I try to open a Expression Blend 4 Solution in VS2008 it says that the version used is more recent...
So I open the sln file and change version 11.0 to 10.0

Now VS2008 opens the sln from Blend 4, and since I created the solution using Version 3, I supossed there wouldn't be any problem, but VS2008 doesn't render any escene...

If I press F5 the project compiles and launches in Explorer... but I can't do anything with VS2008... just edit in code but not in design...

or am I mistaking everything???? I come from Flash.. and I'm used to create something in Flash, then use it as an object in HTML...

This time I created a menu in Blend 4... but how do I use it in a ASPX??? how do I assign actions to my buttons???

sorry for so many questions :( I've been reading some tutorials but all of them are for design in Blend 4... not to use those solutions in VS2008

Thanks!!!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

烟花肆意 2024-09-19 21:57:30
  1. 创建一个Blend 4项目(没有用vs2008尝试过),如果有的话可以跳过。
  2. 打开 *.sln 文件并更改:

    格式版本 11.00 ->格式版本10.00

    # Visual Studio 2010 -> # Visual Studio 2008
    
  3. 打开 *.csproj 文件并更改:

    <导入项目=“$(MSBuildToolsPath32)\Microsoft.CSharp.targets”/>
    

    <导入项目=“$(MSBuildToolsPath)\Microsoft.CSharp.targets”/>
    

现在您可以在 vs 2008 中打开 Blend 4 项目。要再次在 Blend 中打开,只需反向执行步骤 3。

  1. Create a Blend 4 project (havent tried with vs2008), If you have one skip.
  2. Open *.sln file and change:

    Format Version 11.00 -> Format Version 10.00

    # Visual Studio 2010 -> # Visual Studio 2008
    
  3. Open *.csproj file and change:

    <Import Project="$(MSBuildToolsPath32)\Microsoft.CSharp.targets" />
    

    to

    <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    

Now you can open your Blend 4 project inside vs 2008. To open in blend again just reverse step 3.

半世蒼涼 2024-09-19 21:57:30

这是可能的,但它不会很漂亮,并且它不是混合程序管理器支持的使用模式:

http://social.expression.microsoft.com/Forums/en-US/blend/thread/173d26c6-325a-4654-a6f1- 08b89173d86d

如果你想这样做,我猜最好的办法是维护两种解决方案,一种用于 2010 格式的混合,另一种用于 2008 年的格式,让混合在任何重大变化时重新转换(这将是手动过程)。

更好的问题是,你愿意吗?我相信 Blend 4 旨在公开 Silverlight 和 WPF 中的新功能,而您只能在 Visual Studio 2010 中访问这些功能。我怀疑它会对您的 XAML 进行更改,而您的 2008 解决方案/项目将不支持这些更改。

我的 $.02 是最好使用支持 Visual Studio 2008 的 Blend 版本,或者升级到 Visual Studio 2010。

It is possible, but it will not be pretty, and it is not a supported mode of usage per the program manager of blend:

http://social.expression.microsoft.com/Forums/en-US/blend/thread/173d26c6-325a-4654-a6f1-08b89173d86d

If you want to do it, I am guessing the best path would be to maintain two solutions, one for blend in the 2010 format and one for 2008, letting blend re-convert on any significant changes (this would be a manual process).

A better question is, would you want to? I believe that Blend 4 is designed to expose the new features in Silverlight and WPF that you only get access to in Visual Studio 2010. I suspect it will make changes to your XAML that will not be supported in your 2008 solution/projects.

My $.02 is that it is better to use a version of Blend that supports working with Visual Studio 2008, or upgrade to Visual Studio 2010.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文