我正在编写一个具有多个COM引用的C#应用程序。当我尝试构建它时,对于其中的某些错误:
c:\ WINDOWS \ Microsoft.NET \ Framework \ v3.5 \ Microsoft.Common.targets(1418,9):错误MSB3303:无法解析COM引用“ 70850f66-869f-44a0-88e7-b0460a7e3bf3”版本0.1。类型库导入程序在类型验证期间遇到错误。尝试在没有班级成员的情况下导入。
该应用程序仍在构建并成功运行。
此错误消息是什么意思,我该如何解决?
我有使用C#编程的经验,但是这个学期我正在学习C++课程,我正在编写我的第二个项目,但是当我尝试构建程序的调试配置时,我不断收到此错误.
我的构建日志如下,有关于发生了什么的任何想法?我不知所措.
感谢大家!
1>------ Rebuild All started: Project: Project_2, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'Project_2', configuration 'Debug|Win32'
1>Compiling...
1>main.cpp
1>Linking...
1>LINK : C:\Users\Alex\Documents\Visual Studio 2008\Projects\Project_2\Debug\Project_2.exe not found or not built by the last incremental link; performing full link
1>Embedding manifest...
1>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.
1>Build log was saved at "file://c:\Users\Alex\Documents\Visual Studio 2008\Projects\Project_2\Project_2\Debug\BuildLog.htm"
1>Project_2 - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, …Run Code Online (Sandbox Code Playgroud) 我将我的应用程序包放在PackageMaker中并尝试构建它,现在我收到此错误:
错误无法将资源复制到en.lproj
有任何想法吗?谢谢
屏幕截图:

我正在Flask中构建一个模块化应用程序,如果我从当前的Blueprint中引用另一个Blueprint中的函数,我会不断收到构建错误,例如我有一个文件userProfiles.py
@userP.route('/myProfile/', methods=['GET'])
def showProfile():
.....
Run Code Online (Sandbox Code Playgroud)
我有另一个文件userAccounts.py
@userA.route('/login/', methods=['GET', 'POST'])
def login():
.....
Run Code Online (Sandbox Code Playgroud)
然后我有一个main.py注册所有的蓝图,并做app.run()
现在我试图从我的showProfile函数做url_for('userA.login),但我不断得到 - werkzeug.routing.BuildError - .我无法解决这个问题,在线解决方案没有帮助我.
PS url_for函数在我的模板中也不起作用,由于某种原因它只是没有拾取函数,我别无选择,只能href到路径.
只是添加一点点信息我根本没有重复功能,所有功能及其名称都是唯一的,url_for路由在每个蓝图中都能正常工作
这是Traceback:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1701, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1689, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1687, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1360, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1358, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1344, in dispatch_request
return …Run Code Online (Sandbox Code Playgroud) 我初始化了一个反应原生项目.它安装了0.45.0版本的react-native.
XCode无法构建它. config.hpp文件有问题. 错误以红色突出显示,表示"未找到'boost/config/user.hpp'文件"
我有一个基于角度2构建的遗留代码.这是我在名为users.input.ts的文件上的代码.它编译成功.但是当我尝试构建时,我得到了编译错误.谁能帮助我做我必须做的事情?
输入select.ts
import { Component, Input, Output, EventEmitter, OnChanges, SimpleChange } from '@angular/core';
import { InputSelectSearchComponent } from '../input-select-search/input-select-search.component';
import { InputBase } from '../../classes/input-base';
import { UIStylekitService } from '../../ui-stylekit.service';
export class InputSelect extends InputBase<string> {
controlType = 'select';
options: {value: string, label: string}[] = [];
constructor(options: {} = {}) {
super(options);
this.options = options['options'] || [];
}
}
@Component({
selector: 'input-select',
templateUrl: 'input-select.component.html',
inputs: ['form','input']
})
export class InputSelectComponent extends InputSelectSearchComponent {
constructor(
private __Stylekit: UIStylekitService ) { …Run Code Online (Sandbox Code Playgroud) 我一直在用头撞砖墙,所以任何帮助将不胜感激:)
我创建了两个具有以下结构的项目。
build2 使用内部构建器编译得很好。然而,build1 甚至没有开始构建,因为它报告
> **** Rebuild of configuration Release for project CoreMarkTs1 ****
>
> **** Internal Builder is used for build ****
> Build error
> Path must include project and resource
> name: /build1
Run Code Online (Sandbox Code Playgroud)
任何帮助将非常感激。
我已经实现了在生成一个Xml序列化程序集的接受答案中提到的更改作为我的构建的一部分
<Target Name="AfterBuild" DependsOnTargets="AssignTargetPaths;Compile;ResolveKeySource" Inputs="$(MSBuildAllProjects);@(IntermediateAssembly)" Outputs="$(OutputPath)$(_SGenDllName)">
<!-- Delete the file because I can't figure out how to force the SGen task. -->
<Delete Files="$(TargetDir)$(TargetName).XmlSerializers.dll" ContinueOnError="true" />
<SGen BuildAssemblyName="$(TargetFileName)" BuildAssemblyPath="$(OutputPath)" References="@(ReferencePath)" ShouldGenerateSerializer="true" UseProxyTypes="false" KeyContainer="$(KeyContainerName)" KeyFile="$(KeyOriginatorFile)" DelaySign="$(DelaySign)" ToolPath="$(SGenToolPath)" Platform="$(Platform)">
<Output TaskParameter="SerializationAssembly" ItemName="SerializationAssembly" />
</SGen>
</Target>
Run Code Online (Sandbox Code Playgroud)
构建exe项目时出现错误信息:
错误14反映类型'myNamespace.myAssembly.myForm.MicroContact'时出错.C:\ dev\src\myClient\myClient\SGEN myClient
这是MicroContact的代码(这里没有什么独特之处):
Public Class MicroContact
Implements IComparable
Private _id As Long
Private _name As String
Public Property Id() As Long
Get
Return _id
End Get
Set(ByVal value As Long)
_id = …Run Code Online (Sandbox Code Playgroud) 当我尝试运行我的Xcode项目时,它失败并显示一条错误,指出我有重复的符号.以下是我解决此错误的方式.希望能帮到你〜
从错误信息我发现WPBuySkinAlertView可能是重复的类.所以我在项目中搜索文件.
项目中有两个WPBuySkinAlertView文件.
因此,下次出现此错误时,请根据错误信息检查项目,找到重复的类并删除它.
我的 Android Studio 工作正常,一切都很好,但是在将 Android Studio 更新到最新版本并更新 gradle 后,我收到以下错误
能否提供解决方案,谢谢
任务 :app:processDebugResources FAILED AGPBI: {"kind":"error","text":"Android 资源链接失败","sources":[{}],"original":"AAPT: 未知选项 '--proguard -minimal-keep-rules'。\n\naapt2 链接 [选项] -o arg --manifest arg 文件...\n\n选项:\n -o arg 输出路径。\n --manifest arg 路径到 Android要构建的清单。\n -I arg 添加要链接的 Android APK。\n -A arg 要包含在 APK 中的资产目录。这些未处理。\n -R arg 要链接的编译单元,使用overlay语义。\n 给定的最后一个冲突资源优先。\n --package-id arg 指定要用于此应用程序的包 ID。必须大于或等于\n 0x7f 并且不能与--static-lib 或--shared-lib 一起使用。\n --java arg 生成R.java 的目录。\n --proguard arg 输出生成的 Proguard 规则的文件。\n --proguard-main-dex arg 为主 dex 生成的 Proguard 规则的输出文件。\n --proguard-conditional-keep-rules 生成有条件的 Proguard 保留规则。\n --no- auto-version 禁用自动样式和布局 …
build-error ×10
xcode ×2
.net ×1
android ×1
angular ×1
angular-cli ×1
build.gradle ×1
c++ ×1
com ×1
eclipse ×1
eclipse-cdt ×1
flask ×1
gradle ×1
ios ×1
javascript ×1
jinja2 ×1
packagemaker ×1
react-native ×1
resources ×1
routing ×1
sgen ×1
tlbimp ×1
url-for ×1
xcode8 ×1