gpt4 book ai didi

expression-blend - 指定的解决方案配置 “Debug|BNB”无效

转载 作者:行者123 更新时间:2023-12-03 13:21:03 26 4
gpt4 key购买 nike

在Expression Blend 4中,在编译时出现错误提示

The specified solution configuration “Debug|BNB” is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform=”Any CPU”) or leave those properties blank to use the default solution configuration.
Done building project “myproject.sln” — FAILED.
Build failed.

最佳答案

背景:在构建时,编译器(无论是从Expression Blend还是Visual Studio启动)都必须知道代码的目标平台是什么,即X86、64位等系统架构。

现在的问题是,系统范围的环境变量“Platform”设置似乎也覆盖了Expression Blend用作目标平台的任何设置。

我在其他网站上找到了一些解决方法,并将在此处提供可能的解决方案。尝试以下两个建议之一应该会有所帮助:

  • 在“控制面板-系统-高级-环境变量”中删除有冲突的环境变量“平台”。重新启动Blend并尝试一下(也许您必须重新启动计算机才能进行此工作)。
  • 如果这样做没有帮助:使用注册表编辑器(开始-运行-“Regedit.exe”),转到项HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Environment,然后选择项Platform。删除值BNB。如果找不到指定的键,请尝试用“ControlSet001”替换“CurrentControlSet”,这在某些情况下也适用。然后重新启动计算机。

  • 请评论哪种解决方案有效。

    关于expression-blend - 指定的解决方案配置 “Debug|BNB”无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5563560/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com