[mdoc] Fix NullReferenceException when importing @name attribute.
[mono.git] / mcs / tools / mdoc / mdoc.csproj
index 30ad35b8e03c3bd5ad84c8cb2a58c75d88b38fc0..54a018853812320a5c4d6848866898fd53e13876 100644 (file)
     <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\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