我有一些vb6代码我很长时间没有编译.最后一次编译正在生产中.现在,当我进行完全编译时,我收到错误" 未定义用户定义的类型 ".我确定缺少参考文献. 但是没有明亮的代码.我似乎无法找到可能丢失的参考资料.
任何关于我能找到缺失参考的线索都会非常有帮助.
谢谢!
戴夫
我有一个让我疯狂的问题.
我有一个MVC 4 WebAPI应用程序,它定义了几个区域.
我的作业区发送控制器(SendController.cs)的定义如下:
namespace TargetAPI.Areas.Jobs.Controllers
{
public class SendController : ApiController
{
[HttpPost]
public HttpResponseMessage Index(SendRequest req)
{
try
{
//blah blah
}
catch (Exception ex)
{
//blah blah
}
}
}
}
Run Code Online (Sandbox Code Playgroud)
我的工作区域注册(JobsAreaRegistration.cs)定义如下:
namespace TargetAPI.Areas.Jobs
{
public class JobsAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Jobs";
}
}
public override void RegisterArea(AreaRegistrationContext context)
{
context.MapRoute(
"Jobs_long",
"Jobs/{controller}/{action}/{id}",
new { action = "Index", id = UrlParameter.Optional },
new[] { "TargetAPI.Areas.Jobs.Controllers" }
);
} …Run Code Online (Sandbox Code Playgroud) 我有一个博览会反应本机应用程序。当我使用
eas build --non-interactive -p all --auto-submit-with-profile development
Run Code Online (Sandbox Code Playgroud)
一切顺利。ios 和 android 应用程序均已构建并提交。我花了很长时间才到达那里!
但我收到苹果回复的一封电子邮件,上面写着:
ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
Run Code Online (Sandbox Code Playgroud)
这是一个博览会反应本机应用程序,所以我没有 SwiftSupport 文件夹。
这是我的 eas.json 文件:
{
"cli": { "requireCommit": true },
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"node": "12.22.8"
},
"preview": {
"distribution": "internal",
"node": "12.22.8"
},
"production": {
"distribution": "internal",
"node": "12.22.8"
}
},
"submit": {
"development": {
"android": …Run Code Online (Sandbox Code Playgroud) 我有一个将消息排队到RabbitMQ的功能,如下所示:
var amqp = require('amqplib/callback_api');
var _queueURL = 'amqp://127.0.0.1';
var _toBlahBlahQueueName = 'blahblah';
var self = module.exports = {
queueMessage: function (msgObj, callback) {
try {
amqp.connect(_queueURL, function (err, connection) {
if (err) {
callback(err);
}
connection.createChannel(function (err, channel) {
if (err) {
callback(err);
}
channel.assertQueue(_toBlahBlahQueueName, { durable: true }, function (err, _ok) {
if (err) {
callback(err);
}
var msg = new Buffer(JSON.stringify(msgObj));
channel.sendToQueue(_toBlahBlahQueueName, msg, { persistent: true }, function (err, ok) {
if (err) {
console.log(err);
callback(err);
} …Run Code Online (Sandbox Code Playgroud) asp.net ×1
asp.net-mvc ×1
expo ×1
ios ×1
iphone ×1
node.js ×1
rabbitmq ×1
react-native ×1
vb6 ×1