Skip to content

Commit

Permalink
(#142) Remove mention of net461
Browse files Browse the repository at this point in the history
This TFM is no longer being used, and as a result the build fails when
trying to find folders that contains this TFM.
  • Loading branch information
gep13 committed Nov 8, 2021
1 parent 4112884 commit e4aad02
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion nuspec/chocolatey/Cake-Bakery.portable.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<iconUrl>https://raw.githubusercontent.com/cake-build/graphics/master/png/cake-medium.png</iconUrl>
</metadata>
<files>
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\Cake.Bakery\net461\**\*.*" exclude="runtimes/*.*" target="tools"/>
<file src="..\..\BuildArtifacts\temp\_PublishedApplications\Cake.Bakery\net6.0\**\*.*" exclude="runtimes/*.*" target="tools"/>
<file src="..\..\LICENSE" target="tools\LICENSE"/>
<file src="VERIFICATION.txt" target="tools"/>
</files>
Expand Down
2 changes: 1 addition & 1 deletion recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ToolSettings.SetToolSettings(context: Context,
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");

var binArtifactPath = BuildParameters.Paths.Directories.PublishedApplications.Combine("Cake.Bakery/net461");
var binArtifactPath = BuildParameters.Paths.Directories.PublishedApplications.Combine("Cake.Bakery/net6.0");
var zipArtifactsPath = BuildParameters.Paths.Directories.Build.Combine("Packages/Zip");
var omnisharpBaseDownloadURL = "https://omnisharpdownload.blob.core.windows.net/ext";
var omnisharpMonoRuntimeMacOS = $"{omnisharpBaseDownloadURL}/mono.macOS-5.12.0.301.zip";
Expand Down
6 changes: 0 additions & 6 deletions src/Cake.Scripting/Cake.Scripting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,4 @@
<ItemGroup>
<ProjectReference Include="..\Cake.Scripting.Abstractions\Cake.Scripting.Abstractions.csproj" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Runtime.Serialization" />
</ItemGroup>
</Project>

0 comments on commit e4aad02

Please sign in to comment.