File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/GitVersion.MsBuild/msbuild/tools Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 24
24
</PropertyGroup >
25
25
26
26
<PropertyGroup >
27
+ <!-- The GitVersion task is explicitly disabled when running on the .NET Framework because it's no longer supported.
28
+ If a project that uses GitVersion.MsBuild is opened in Visual Studio,
29
+ the task will be turned off because Visual Studio operates on the .NET Framework's version of MSBuild.
30
+ However, you can still execute GitVersion.MsBuild as part of the `dotnet build` or `dotnet msbuild` commands. -->
31
+ <DisableGitVersionTask Condition =" '$(MSBuildRuntimeType)' != 'Core' " >true</DisableGitVersionTask >
32
+
27
33
<DisableGitVersionTask Condition =" '$(DisableGitVersionTask)' == '' " >false</DisableGitVersionTask >
28
34
29
35
<!-- Property that enables WriteVersionInfoToBuildLog -->
You can’t perform that action at this time.
0 commit comments