0

我正在尝试 Flexpaper 的 asp.net 代码,这是代码出错

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using lib;
using System.Collections;
using System.IO;



public partial class setup : System.Web.UI.Page
{
    protected String path_to_pdf2swf = @"C:\Program Files\SWFTools\";
    protected String path_to_pdf2json = @"C:\Program Files\PDF2JSON\";
    protected String pdf2swf_exec = "pdf2swf.exe";
    protected String pdf2json_exec = "pdf2json.exe";
    protected int step = 1;
    protected Config configManager;

错误

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS0246: The type or namespace name 'Config' could not be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 24:     protected String pdf2json_exec = "pdf2json.exe";
Line 25:     protected int step = 1;
Line 26:     protected Config configManager;
Line 27: 
Line 28:     private Boolean pdf2swf = false;

有谁知道是什么问题?

4

1 回答 1

3

您写道:受保护的配置配置管理器;

这里 Config 不是一种数据类型,这就是您收到此错误的原因。

于 2013-07-03T09:37:51.870 回答