Skip to content

Commit

Permalink
Merged Pull Request '#157 version/feature/net-8->version/4.5: FEAT: M…
Browse files Browse the repository at this point in the history
…ove projects from .Net 6.0 to .Net 8.0'

FEAT: Move projects from .Net 6.0 to .Net 8.0
  • Loading branch information
Automation51D authored Dec 18, 2024
2 parents 106714d + acd4daf commit 8154fbf
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Examples/ResultCaching/Examples.ResultCaching.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<Platforms>AnyCPU</Platforms>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion Examples/UsageSharing/Examples.UsageSharing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
6 changes: 3 additions & 3 deletions Web Integration/FiftyOne.Pipeline.Web.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<tags>51degrees,pipeline,aggregate,data service,web</tags>
<repository type="git" url="https://github.com/51Degrees/pipeline-dotnet" />
<dependencies>
<group targetFramework="net6.0">
<group targetFramework="net8.0">
<dependency id="FiftyOne.Pipeline.Engines.FiftyOne" version="$version$" />
<dependency id="FiftyOne.Pipeline.Web.Shared" version="$version$" />
<dependency id="FiftyOne.Pipeline.JavaScriptBuilder" version="$version$" />
Expand All @@ -38,12 +38,12 @@
</group>
</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="Microsoft.AspNetCore.App" targetFramework="net6.0"/>
<frameworkAssembly assemblyName="Microsoft.AspNetCore.App" targetFramework="net8.0"/>
</frameworkAssemblies>
</metadata>
<files>
<file src="..\images\51d-logo.png" target="images\" />
<file src="FiftyOne.Pipeline.Web\bin\$config$\net6.0\FiftyOne.Pipeline.Web.dll" target="lib\net6.0" />
<file src="FiftyOne.Pipeline.Web\bin\$config$\net8.0\FiftyOne.Pipeline.Web.dll" target="lib\net8.0" />
<file src="FiftyOne.Pipeline.Web\bin\$config$\netcoreapp3.1\FiftyOne.Pipeline.Web.dll" target="lib\netcoreapp3.1" />
<file src="FiftyOne.Pipeline.Web.Framework\bin\$config$\FiftyOne.Pipeline.Web.Framework.dll" target="lib\net462" />
<file src="FiftyOne.Pipeline.Web.Framework\Web.config.transform" target="content/net462/Web.config.transform" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void ClearHeaders()
/// <inheritdoc/>
public void SetHeader(string name, string value)
{
_response.Headers.Add(name, value);
_response.Headers.Append(name, value);
}

/// <inheritdoc/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1;net8.0</TargetFrameworks>
<Platforms>AnyCPU</Platforms>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
Expand Down Expand Up @@ -33,7 +33,7 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.32" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="6.0.36" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<!-- If these package references are updated or modified then don't forget to also
update the dependencies in the nuspec file in the parent directory. -->
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,7 @@ public static void SetHeaders(HttpContext context,
foreach (var header in flowData.GetFromElement(element)
.ResponseHeaderDictionary)
{
if (context.Response.Headers.ContainsKey(header.Key))
{
context.Response.Headers.Append(header.Key, header.Value);
}
else
{
context.Response.Headers.Add(header.Key, header.Value);
}
context.Response.Headers.Append(header.Key, header.Value);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion performance-tests/performance-tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>performance_tests</RootNamespace>
<AssemblyName>performance_tests</AssemblyName>
</PropertyGroup>
Expand Down

0 comments on commit 8154fbf

Please sign in to comment.