Skip to content

Commit 0d79fa8

Browse files
Update csproj
1 parent 6f7eb2e commit 0d79fa8

21 files changed

+121
-34
lines changed

SampleApi.csproj

+25-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,31 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
5-
<Nullable>enable</Nullable>
3+
<TargetFramework>net8.0</TargetFramework>
4+
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
5+
<OutputType>Exe</OutputType>
66
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
78
</PropertyGroup>
8-
99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" />
11-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
10+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="[2.0.0,)" />
11+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="[3.2.0,)" />
12+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.OpenApi" Version="[1.5.1,)" />
13+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="[2.0.0,)" />
14+
<PackageReference Include="Microsoft.Data.SqlClient" Version="[5.2.2,)" />
15+
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="[8.3.0,)" />
16+
<PackageReference Include="Microsoft.PowerPlatform.Dataverse.Client" Version="[1.2.2,)" />
17+
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="[8.3.0,)" />
18+
</ItemGroup>
19+
<ItemGroup>
20+
<None Update="host.json">
21+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
22+
</None>
23+
<None Update="local.settings.json">
24+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
25+
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
26+
</None>
27+
</ItemGroup>
28+
<ItemGroup>
29+
<Using Include="System.Threading.ExecutionContext" Alias="ExecutionContext" />
1230
</ItemGroup>
13-
1431
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// <autogenerated />
2+
using System;
3+
using System.Reflection;
4+
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
using System;
11+
using System.Reflection;
12+
13+
[assembly: System.Reflection.AssemblyCompanyAttribute("SampleApi")]
14+
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
15+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6f7eb2e48431f3189303249b3b74228cc43f877e")]
17+
[assembly: System.Reflection.AssemblyProductAttribute("SampleApi")]
18+
[assembly: System.Reflection.AssemblyTitleAttribute("SampleApi")]
19+
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
20+
21+
// Generated by the MSBuild WriteCodeFragment class.
22+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
09e9acd8839aa7b2de0c6ec25f0cd9695312ad018f5a3d4a1cc7de541e35e6a6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
is_global = true
2+
build_property.TargetFramework = net6.0
3+
build_property.TargetPlatformMinVersion =
4+
build_property.UsingMicrosoftNETSdkWeb = true
5+
build_property.ProjectTypeGuids =
6+
build_property.InvariantGlobalization =
7+
build_property.PlatformNeutralAssembly =
8+
build_property.EnforceExtendedAnalyzerRules =
9+
build_property._SupportedPlatformList = Linux,macOS,Windows
10+
build_property.RootNamespace = SampleApi
11+
build_property.RootNamespace = SampleApi
12+
build_property.ProjectDir = /Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/
13+
build_property.EnableComHosting =
14+
build_property.EnableGeneratedComInterfaceComImportInterop =
15+
build_property.RazorLangVersion = 6.0
16+
build_property.SupportLocalizedComponentNames =
17+
build_property.GenerateRazorMetadataSourceChecksumAttributes =
18+
build_property.MSBuildProjectDirectory = /Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi
19+
build_property._RazorSourceGeneratorDebug =
20+
build_property.EffectiveAnalysisLevelStyle = 6.0
21+
build_property.EnableCodeStyleSeverity =
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// <auto-generated/>
2+
global using global::Microsoft.AspNetCore.Builder;
3+
global using global::Microsoft.AspNetCore.Hosting;
4+
global using global::Microsoft.AspNetCore.Http;
5+
global using global::Microsoft.AspNetCore.Routing;
6+
global using global::Microsoft.Extensions.Configuration;
7+
global using global::Microsoft.Extensions.DependencyInjection;
8+
global using global::Microsoft.Extensions.Hosting;
9+
global using global::Microsoft.Extensions.Logging;
10+
global using global::System;
11+
global using global::System.Collections.Generic;
12+
global using global::System.IO;
13+
global using global::System.Linq;
14+
global using global::System.Net.Http;
15+
global using global::System.Net.Http.Json;
16+
global using global::System.Threading;
17+
global using global::System.Threading.Tasks;

obj/Debug/net6.0/SampleApi.MvcApplicationPartsAssemblyInfo.cache

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
//
5+
// Changes to this file may cause incorrect behavior and will be lost if
6+
// the code is regenerated.
7+
// </auto-generated>
8+
//------------------------------------------------------------------------------
9+
10+
using System;
11+
using System.Reflection;
12+
13+
[assembly: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartAttribute("Swashbuckle.AspNetCore.SwaggerGen")]
14+
15+
// Generated by the MSBuild WriteCodeFragment class.
16+
6.32 KB
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
c3e417037681613f704bfe61460aa038fe05ecd4ad8f8b4c1117ab42ec3f57b4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/obj/Debug/net6.0/SampleApi.csproj.AssemblyReference.cache
2+
/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/obj/Debug/net6.0/SampleApi.GeneratedMSBuildEditorConfig.editorconfig
3+
/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/obj/Debug/net6.0/SampleApi.AssemblyInfoInputs.cache
4+
/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/obj/Debug/net6.0/SampleApi.AssemblyInfo.cs
5+
/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/obj/Debug/net6.0/SampleApi.csproj.CoreCompileInputs.cache
6+
/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/obj/Debug/net6.0/SampleApi.MvcApplicationPartsAssemblyInfo.cs
7+
/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/obj/Debug/net6.0/SampleApi.MvcApplicationPartsAssemblyInfo.cache
8+
/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/obj/Debug/net6.0/SampleApi.sourcelink.json
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"documents":{"/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/*":"https://raw.githubusercontent.com/dsp-testing/nuget-web-api-test/6f7eb2e48431f3189303249b3b74228cc43f877e/*"}}

obj/Debug/net8.0/SampleApi.AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[assembly: System.Reflection.AssemblyCompanyAttribute("SampleApi")]
1414
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
1515
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7bb714d1a2a7fcf90312db05ca1d1e0f46b565c3")]
16+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6f7eb2e48431f3189303249b3b74228cc43f877e")]
1717
[assembly: System.Reflection.AssemblyProductAttribute("SampleApi")]
1818
[assembly: System.Reflection.AssemblyTitleAttribute("SampleApi")]
1919
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2753b1d5019a07f3084bfabe750f72e31626412221b9129c80cb46eb12653ed8
1+
09e9acd8839aa7b2de0c6ec25f0cd9695312ad018f5a3d4a1cc7de541e35e6a6

obj/Debug/net8.0/SampleApi.GeneratedMSBuildEditorConfig.editorconfig

+1-7
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,15 @@ build_property.TargetFrameworkIdentifier = .NETCoreApp
88
build_property.FunctionsExecutionModel = isolated
99
build_property.TargetFramework = net8.0
1010
build_property.TargetPlatformMinVersion =
11-
build_property.UsingMicrosoftNETSdkWeb = true
11+
build_property.UsingMicrosoftNETSdkWeb =
1212
build_property.ProjectTypeGuids =
1313
build_property.InvariantGlobalization =
1414
build_property.PlatformNeutralAssembly =
1515
build_property.EnforceExtendedAnalyzerRules =
1616
build_property._SupportedPlatformList = Linux,macOS,Windows
1717
build_property.RootNamespace = SampleApi
18-
build_property.RootNamespace = SampleApi
1918
build_property.ProjectDir = /Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/
2019
build_property.EnableComHosting =
2120
build_property.EnableGeneratedComInterfaceComImportInterop =
22-
build_property.RazorLangVersion = 8.0
23-
build_property.SupportLocalizedComponentNames =
24-
build_property.GenerateRazorMetadataSourceChecksumAttributes =
25-
build_property.MSBuildProjectDirectory = /Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi
26-
build_property._RazorSourceGeneratorDebug =
2721
build_property.EffectiveAnalysisLevelStyle = 8.0
2822
build_property.EnableCodeStyleSeverity =
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
// <auto-generated/>
2-
global using global::Microsoft.AspNetCore.Builder;
3-
global using global::Microsoft.AspNetCore.Hosting;
4-
global using global::Microsoft.AspNetCore.Http;
5-
global using global::Microsoft.AspNetCore.Routing;
6-
global using global::Microsoft.Extensions.Configuration;
7-
global using global::Microsoft.Extensions.DependencyInjection;
8-
global using global::Microsoft.Extensions.Hosting;
9-
global using global::Microsoft.Extensions.Logging;
102
global using global::System;
113
global using global::System.Collections.Generic;
124
global using global::System.IO;
135
global using global::System.Linq;
146
global using global::System.Net.Http;
15-
global using global::System.Net.Http.Json;
167
global using global::System.Threading;
178
global using global::System.Threading.Tasks;
189
global using ExecutionContext = global::System.Threading.ExecutionContext;
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documents":{"/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/*":"https://raw.githubusercontent.com/dsp-testing/nuget-web-api-test/7bb714d1a2a7fcf90312db05ca1d1e0f46b565c3/*"}}
1+
{"documents":{"/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/*":"https://raw.githubusercontent.com/dsp-testing/nuget-web-api-test/6f7eb2e48431f3189303249b3b74228cc43f877e/*"}}

obj/SampleApi.csproj.nuget.dgspec.json

-3
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@
103103
}
104104
],
105105
"frameworkReferences": {
106-
"Microsoft.AspNetCore.App": {
107-
"privateAssets": "none"
108-
},
109106
"Microsoft.NETCore.App": {
110107
"privateAssets": "all"
111108
}

obj/project.assets.json

-3
Original file line numberDiff line numberDiff line change
@@ -10741,9 +10741,6 @@
1074110741
}
1074210742
],
1074310743
"frameworkReferences": {
10744-
"Microsoft.AspNetCore.App": {
10745-
"privateAssets": "none"
10746-
},
1074710744
"Microsoft.NETCore.App": {
1074810745
"privateAssets": "all"
1074910746
}

obj/project.nuget.cache

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": 2,
3-
"dgSpecHash": "1AmAUfUl6ss=",
3+
"dgSpecHash": "UdS0iwz1OVw=",
44
"success": true,
55
"projectFilePath": "/Users/hariharanthavachelvam/Sites/Dependabot/Core/test/SampleApi/SampleApi.csproj",
66
"expectedPackageFiles": [

0 commit comments

Comments
 (0)