mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-03-01 14:47:58 +00:00
generator: add reference to System.Core in the MSBuild csproj
Extension methods (such as the one we have in XmlElementExtensions.cs) need to link to System.Runtime.CompilerServices.ExtensionAttribute class in order to compile. In .NET 3.5, this was part of System.Core (not mscorlib like in .NET 4.5) [1], so we need to link to it in order to compile via MSBuild. [1] http://msdn.microsoft.com/en-us/library/system.runtime.compilerservices.extensionattribute%28v=vs.90%29.aspx
This commit is contained in:
parent
077836a227
commit
f9f654a06a
|
@ -105,5 +105,6 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in a new issue