1
Vote

Visual Studio 2013 csproj files fail

description

To use LINQtoXSD on Visual Studio 2013 .csproj files, the following files must be successfully processed:

C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild\Microsoft.Build.Commontypes.xsd
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Xml\Schemas\1033\Microsoft.Build.xsd

Using LINQtoXSD on these files creates .cs source code with hundreds of warnings.
microsoft.build.commontypes.cs(109418,67): warning CS0109: The member  '...' does not hide an inherited member.  The new keyword is not required.
The resulting generated source code does not work correctly.


A test for success of fixing this issue would be to use LINQtoXSD to change a VS2013 .csproj file as follows: Change a C# project-reference to a DLL reference,
this means changing an XML element:
  <ProjectReference Include="..\foo\Projectname.vcxproj">
      <Project>{ef39b8e2-7a78-4fb8-916a-e6f4dabaaa20}</Project>
      <Name>Projectname</Name>
    </ProjectReference>
To this XML element:
<Reference Include=""FooCo, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"">
    <SpecificVersion>False</SpecificVersion>
    <HintPath>..\..\dll\projectname.dll</HintPath>
</Reference>

comments