Remove svnrev.cs from repo and just assume it's there

Reverts 4e5f7e40e. In hindsight this was the obvious, easy solution to the error
in fresh clones. For the record, VS will still complain that the class is
missing on a fresh clone *before compiling*, but now the first compile will
succeed as well as subsequent compiles.
This commit is contained in:
YoshiRulz 2020-01-19 12:53:24 +10:00
parent e898866ab2
commit 5b4b85d2b2
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,9 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="svnrev.cs" /><!-- Not checked-in, but needs to be added to the compile list which is generated before the pre-build event, so this will make MSBuild pretend it's there when cloning. -->
</ItemGroup>
<Target Name="Build">
<!-- when is this called? it's never run and failed on Linux -->
<Exec Command="&quot;$(MSBuildProjectDirectory)\subwcrev.bat&quot; $(MSBuildProjectDirectory)" Condition=" '$(OS)' == 'Windows_NT' " WorkingDirectory="$(MSBuildProjectDirectory)" />

View File

@ -1 +0,0 @@
// This file will get overwritten by a pre-build target defined in Version.csproj.