Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08fd638 commit 64ea044Copy full SHA for 64ea044
Directory.Build.props
@@ -6,7 +6,7 @@
6
<AssemblyProduct>Python.NET</AssemblyProduct>
7
<LangVersion>10.0</LangVersion>
8
<IsPackable>false</IsPackable>
9
- <FullVersion>$([System.IO.File]::ReadAllText("version.txt").Trim())</FullVersion>
+ <FullVersion>$([System.IO.File]::ReadAllText("$(MSBuildThisFileDirectory)version.txt").Trim())</FullVersion>
10
<VersionPrefix>$(FullVersion.Split('-', 2)[0])</VersionPrefix>
11
<VersionSuffix Condition="$(FullVersion.Contains('-'))">$(FullVersion.Split('-', 2)[1])</VersionSuffix>
12
</PropertyGroup>
0 commit comments