找不到类型或命名空间名称“Config”

时间:2013-07-03 09:19:02

标签: asp.net

我在这里尝试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;

任何人都知道这是什么问题?

1 个答案:

答案 0 :(得分:3)

你写道: protected Config configManager;

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