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 e97de39 commit f9bda01Copy full SHA for f9bda01
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