[英]The imported project C:\…\v4.5\Microsoft.Expression.Blend.WPF.targets" was not found
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; 我正在旧窗口7中使用Visual Studio 2013开发我的WPF项目。但是,当我安装新的Windows 10和Visual Studio 2017并尝试打开项目时; 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.
找不到导入的项目“ C:\\ Program Files(x86)\\ Microsoft Visual Studio \\ 2017 \\ Enterprise \\ MSBuild \\ Microsoft \\ Expression \\ Blend.NETFramework \\ v4.5 \\ Microsoft.Expression.Blend.WPF.targets”。 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
另外,尝试在$(MSBuildExtensionsPath)的备用搜索路径中抵御“ Microsoft \\ Expression \\ Blend.NetFramework \\ v.4.5 \\ Microsoft.Expression.Blend.WPF.targets-“ C:\\ Progam文件(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
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. 我搜索了一些解决方案,发现必须安装BlendWPFSDKv4_en.msi版本4,但仍然无济于事,也没有BlendWPFSDKv4_en.msi版本4.5。 What Should I do, Shall I install VS 2013 in order to fix this issue?
我该怎么办,我应该安装VS 2013才能解决此问题吗?
The imported project C:\\…\\v4.5\\Microsoft.Expression.Blend.WPF.targets" was not found
找不到导入的项目C:\\…\\ v4.5 \\ Microsoft.Expression.Blend.WPF.targets”
Found it. 找到了。 You should launch the Visual Studio Installer from the start menu, switch to the " Individual components " page, under the " SDKs, libraries, and frameworks " heading, find the " Blend for Visual Studio SDK for .NET " and install it:
您应该从开始菜单启动Visual Studio Installer,切换到“ 单个组件 ”页面,在“ SDK,库和框架 ”标题下,找到“ Blend for Visual Studio SDK for .NET ”并进行安装:
After the installation is complete, you will find it under the path: 安装完成后,您将在以下路径下找到它:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Expression\Blend.NETFramework\v4.5
Certified: Visual Studio 2017 - What happened to Expression interactions? 认证: Visual Studio 2017-表达式交互发生了什么?
Hope this helps. 希望这可以帮助。
I had solved the problem by installing 我已经通过安装解决了问题
Install Microsoft Expression Blend Software Development Kit (SDK) for .NET 4, 安装适用于.NET 4的Microsoft Expression Blend软件开发工具包(SDK),
without install an older version of VS 无需安装旧版本的VS
我已经通过在具有VS2017的同一台计算机上安装VS2015来解决了该问题,现在该项目在VS2017中可以正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.