CSC编译错误CS0116

时间:2015-07-30 02:43:04

标签: c# compiler-errors

我正在尝试将一些CS文件编译成.dll并且收到错误CS0116。

enter image description here

我已经尝试搜索并查找此错误代码的含义,并且我得到了混合结果,范围从“代码中的某些内容”到“您错过了标题”,我无法修复它。

任何帮助?

<Project xmlns="Chatterbot">
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{2E624962-F155-432C-A90A-E1CE75DEE9EA}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>ChatterBotAPI</RootNamespace>
<AssemblyName>ChatterBotAPI</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin/Debug</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin/Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Web" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="ChatterBotFactory.cs" />
    <Compile Include="ChatterBotType.cs" />
    <Compile Include="ChatterBot.cs" />
    <Compile Include="ChatterBotSession.cs" />
    <Compile Include="Cleverbot.cs" />
    <Compile Include="ChatterBotThought.cs" />
    <Compile Include="Utils.cs" />
    <Compile Include="Pandorabots.cs" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)/Microsoft.CSharp.targets"/>
</Project>

0 个答案:

没有答案