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 2424 </PropertyGroup >
2525
2626 <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+
2733 <DisableGitVersionTask Condition =" '$(DisableGitVersionTask)' == '' " >false</DisableGitVersionTask >
2834
2935 <!-- Property that enables WriteVersionInfoToBuildLog -->
You can’t perform that action at this time.
0 commit comments