Skip to content

Commit

Permalink
Solved CompilePlugins.bat errors
Browse files Browse the repository at this point in the history
  • Loading branch information
IlliumIv committed Oct 18, 2019
1 parent 645a023 commit a09e119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Random Features.csproj
Expand Up @@ -51,6 +51,7 @@
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<Private>False</Private>
</Reference>
Expand Down

1 comment on commit a09e119

@IlliumIv
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably I should explain.
A reference to System.Core cannot be added to Visual Studio. The error in VS says: “This component is already automatically referenced ...” and it is true - VS is a smart IDE, she knows: this component is already referenced in ExileApi.Core, we cannot double it.

But CompilePlugins.bat does not know this. It cant automatically add a reference. To solve the problem, we should open a .csproj file and manually add reference to System.Core.

Please sign in to comment.