File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFramework >net8.0</ TargetFramework >
5+ <TargetFrameworks >net8.0;net10.0</ TargetFrameworks >
66 <RootNamespace >Devlooped</RootNamespace >
77 <AssemblyName >retest</AssemblyName >
88 <NoWarn >CS9107</NoWarn >
4747 <None Include =" ..\..\osmfeula.txt" Link =" osmfeula.txt" Pack =" true" PackagePath =" OSMFEULA.txt" />
4848 </ItemGroup >
4949
50- <Target Name =" RenderHelp" AfterTargets =" Build" Condition =" $(NoHelp) != 'true' and $(DesignTimeBuild) != 'true'" >
50+ <Target Name =" RenderHelp" AfterTargets =" Build" Condition =" $(NoHelp) != 'true' and $(DesignTimeBuild) != 'true' and $(TargetFramework) == 'net10.0' " >
5151 <WriteLinesToFile Lines =" ```shell" Overwrite =" true" Encoding =" UTF-8" File =" help.md" />
52- <Exec Command =" dotnet run --no-build --no-launch-profile -- --help >> help.md" StdOutEncoding =" UTF-8" EnvironmentVariables =" NO_COLOR=true" />
52+ <Exec Command =" dotnet run --framework $(TargetFramework) -- no-build --no-launch-profile -- --help >> help.md" StdOutEncoding =" UTF-8" EnvironmentVariables =" NO_COLOR=true" />
5353 <WriteLinesToFile Lines =" ```" Overwrite =" false" Encoding =" UTF-8" File =" help.md" />
5454 </Target >
5555
You can’t perform that action at this time.
0 commit comments