[mdoc] Fix NullReferenceException when importing @name attribute.
[mono.git] / mcs / tools / mdoc / mdoc.csproj
index 8597972150af65c6c4fd858946c9145981111afb..54a018853812320a5c4d6848866898fd53e13876 100644 (file)
@@ -9,39 +9,38 @@
     <OutputType>Exe</OutputType>
     <RootNamespace>mdoc</RootNamespace>
     <AssemblyName>mdoc</AssemblyName>
-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-    <DebugSymbols>true</DebugSymbols>
+    <DebugSymbols>True</DebugSymbols>
     <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
+    <Optimize>False</Optimize>
     <OutputPath>bin\Debug</OutputPath>
     <DefineConstants>DEBUG;NET_4_0</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
     <PlatformTarget>x86</PlatformTarget>
-    <Externalconsole>true</Externalconsole>
+    <Externalconsole>True</Externalconsole>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
     <DebugType>none</DebugType>
-    <Optimize>false</Optimize>
+    <Optimize>False</Optimize>
     <OutputPath>bin\Release</OutputPath>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
     <PlatformTarget>x86</PlatformTarget>
-    <Externalconsole>true</Externalconsole>
+    <Externalconsole>True</Externalconsole>
   </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Web" />
     <Reference Include="System.Xml.Linq" />
-    <Reference Include="Mono.Cecil, Version=0.9.4.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
     <Reference Include="ICSharpCode.SharpZipLib" />
     <Reference Include="monodoc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
       <SpecificVersion>False</SpecificVersion>
       <HintPath>..\..\class\lib\net_2_0\monodoc.dll</HintPath>
     </Reference>
     <Reference Include="System.Xml" />
+    <Reference Include="Mono.Cecil, Version=0.9.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <ItemGroup>
     <Compile Include="Mono.Documentation\webdoc.cs" />
     <Compile Include="Mono.Documentation\XhtmlWriter.cs" />
     <Compile Include="Mono.Documentation\exceptions.cs" />
+    <Compile Include="Mono.Documentation\index.cs" />
   </ItemGroup>
   <ItemGroup>
-    <EmbeddedResource Include="..\monodoc\Resources\mdoc-html-format.xsl">
-      <Link>Resources\mdoc-html-format.xsl</Link>
-      <LogicalName>mdoc-html-format.xsl</LogicalName>
-    </EmbeddedResource>
-    <EmbeddedResource Include="..\monodoc\Resources\mdoc-html-utils.xsl">
-      <Link>Resources\mdoc-html-utils.xsl</Link>
-      <LogicalName>mdoc-html-utils.xsl</LogicalName>
-    </EmbeddedResource>
-    <EmbeddedResource Include="..\monodoc\Resources\mdoc-sections-css.xsl">
-      <Link>Resources\mdoc-sections-css.xsl</Link>
-      <LogicalName>mdoc-sections-css.xsl</LogicalName>
-    </EmbeddedResource>
-    <EmbeddedResource Include="..\monodoc\Resources\mono-ecma-css.xsl">
-      <Link>Resources\mono-ecma-css.xsl</Link>
-      <LogicalName>mono-ecma-css.xsl</LogicalName>
-    </EmbeddedResource>
     <EmbeddedResource Include="Resources\defaulttemplate.xsl">
       <LogicalName>defaulttemplate.xsl</LogicalName>
     </EmbeddedResource>
       <LogicalName>stylesheet.xsl</LogicalName>
     </EmbeddedResource>
   </ItemGroup>
+  <ItemGroup>
+    <None Include="..\..\class\monodoc\Resources\mdoc-html-format.xsl">
+      <Link>Resources\mdoc-html-format.xsl</Link>
+    </None>
+    <None Include="..\..\class\monodoc\Resources\mdoc-html-utils.xsl">
+      <Link>Resources\mdoc-html-utils.xsl</Link>
+    </None>
+    <None Include="..\..\class\monodoc\Resources\mdoc-sections-css.xsl">
+      <Link>Resources\mdoc-sections-css.xsl</Link>
+    </None>
+    <None Include="..\..\class\monodoc\Resources\mono-ecma-css.xsl">
+      <Link>Resources\mono-ecma-css.xsl</Link>
+    </None>
+  </ItemGroup>
 </Project>
\ No newline at end of file