导入的项目C:\ ... \v4.5 \ microsoft.expression.blend.wpf.targets"没找到 [英] The imported project C:\…\v4.5\microsoft.expression.blend.wpf.targets" was not found

查看:338
本文介绍了导入的项目C:\ ... \v4.5 \ microsoft.expression.blend.wpf.targets"没找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在旧窗口7中使用Visual Studio 2013开发我的WPF项目。但是当我安装新的Windows 10和Visual Studio 2017并尝试打开我的项目时;我的项目无法加载并收到此错误消息:





导入的项目C:\Program Files (86)\Microsoft视觉Studio\2017\Enterprise\MSBuild\Microsoft\Expression\Blend.NETFramework\v4.5\Microsoft.Expression.Blend.WPF.targets没有被发现。此外,试图 在回退搜索路径(S)以$(MSBuildExtensionsPath)Microsoft\Expression\Blend.NetFramework\v.4.5\Microsoft.Expression.Blend.WPF.targets  -  到魔鬼,C:\Progam文件(x86)\ MSBuild。这些搜索路径在C:\ Users \AdminPC \ AppData \ Local \ Mysoftoft \VisualStudio \15.0_51bebed7 \devenv.exe.config中定义。确认在声明的路径是正确的,并且该文件中存在的搜索路径一个磁盘上的C:\Users\AdminPC\Documents\Visual工作室2013\Projects\MyCustomMessages\MyCustomMessages。 csproj 





我的尝试:



<预>我搜索了一些解决方案,我发现我必须安装BlendWPFSDKv4_en.msi 4版,但仍然没有帮助也没有BlendWPFSDKv4_en.msi 4.5版本我应该怎么做,我应该安装VS 2013才能解决这个问题吗?





感谢和问候



https://lh3.googleusercontent.com/-bfGekobnXi4/W13jUI2nRJI/AAAAAAAAADc/QKn0p5MmDKwgX4VkJALnDSrQ8zLZB_f4wCL0BGAs/w530-d-h234-n/可以%2527t%2Bload%2Bproject.PNG

解决方案

(MSBuildExtensionsPath) - C:\Progam Files(x86)\ MSBuild。这些搜索路径在C:\ Users \AdminPC \ AppData \ Local \ Microsoft \\\ VisualStudio \15.0_51bebed7 \devenv.exe.config中定义。确认声明中的路径是否正确,并且该文件存在于其中一个搜索路径中的磁盘上。 C:\ Users\AdminPC\Documents\Visual Studio 2013 \Projects \ MyCustomMessages\MyCustomMessages.csproj





我尝试了什么:



< pre>我搜索了一些解决方案,我发现我必须安装BlendWPFSDKv4_en .msi版本4,但仍然没有帮助也没有BlendWPFSDKv4_en.msi版本4.5。我该怎么办,为了解决这个问题,我应该安装VS 2013吗?





谢谢和问候



https://lh3.googleusercontent.com/-bfGekobnXi4/W13jUI2nRJI/AAAAAAAAADc/QKn0p5MmDKwgX4VkJALnDSrQ8zLZB_f4wCL0BGAs/w530-d-h234-n/Can%2527t%2Bload%2Bproject.PNG


以下是如何进行正确的Visual Studio 2017 / Blend安装。你应该结束VS和Blend的捷径。



使用Blend for Visual Studio创建UI - Visual Studio Microsoft Docs [ ^ ]


伙计们。我通过在VS2017的同一台机器上安装VS2015解决了这个问题,现在该项目在VS2017中工作正常。 


I was developing my WPF projects using Visual Studio 2013 in my old window 7. But when I installed new Windows 10 and also Visual Studio 2017 and tried to open my project; my project fail to load and got this error message:



the imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Expression\Blend.NETFramework\v4.5\Microsoft.Expression.Blend.WPF.targets" was not found. Also, tried to fiend "Microsoft\Expression\Blend.NetFramework\v.4.5\Microsoft.Expression.Blend.WPF.targets in the fallback searchpath(s) for $(MSBuildExtensionsPath) - "C:\Progam Files (x86)\MSBuild" . These search paths are defined in "C:\Users\AdminPC\AppData\Local\Microsoft\VisualStudio\15.0_51bebed7\devenv.exe.config" . Confirm that the path in the declaration is correct , and that the file exists on the disk in one of the search paths. C:\Users\AdminPC\Documents\Visual Studio 2013\Projects\MyCustomMessages\MyCustomMessages.csproj



What I have tried:

<pre>I Searched for some solutions I found I have to install BlendWPFSDKv4_en.msi Version 4, but still doesn't help also there is no BlendWPFSDKv4_en.msi version 4.5. What Should I do, Shall I install VS 2013 in order to fix this issue?



Thanks and Regards

https://lh3.googleusercontent.com/-bfGekobnXi4/W13jUI2nRJI/AAAAAAAAADc/QKn0p5MmDKwgX4VkJALnDSrQ8zLZB_f4wCL0BGAs/w530-d-h234-n/Can%2527t%2Bload%2Bproject.PNG

解决方案

(MSBuildExtensionsPath) - "C:\Progam Files (x86)\MSBuild" . These search paths are defined in "C:\Users\AdminPC\AppData\Local\Microsoft\VisualStudio\15.0_51bebed7\devenv.exe.config" . Confirm that the path in the declaration is correct , and that the file exists on the disk in one of the search paths. C:\Users\AdminPC\Documents\Visual Studio 2013\Projects\MyCustomMessages\MyCustomMessages.csproj



What I have tried:

<pre>I Searched for some solutions I found I have to install BlendWPFSDKv4_en.msi Version 4, but still doesn't help also there is no BlendWPFSDKv4_en.msi version 4.5. What Should I do, Shall I install VS 2013 in order to fix this issue?



Thanks and Regards

https://lh3.googleusercontent.com/-bfGekobnXi4/W13jUI2nRJI/AAAAAAAAADc/QKn0p5MmDKwgX4VkJALnDSrQ8zLZB_f4wCL0BGAs/w530-d-h234-n/Can%2527t%2Bload%2Bproject.PNG


Here's how to do a "proper" Visual Studio 2017 / Blend installation. You should wind up with VS and Blend short-cuts.

Creating a UI by using Blend for Visual Studio - Visual Studio | Microsoft Docs[^]


Guys. I had solved the problem by installing VS2015 in the same machine that has VS2017 and now the project works fine in VS2017. 


这篇关于导入的项目C:\ ... \v4.5 \ microsoft.expression.blend.wpf.targets&quot;没找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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