我在这里尝试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;
任何人都知道这是什么问题?
答案 0 :(得分:3)
此处Config不是数据类型,这就是您收到此错误的原因。