Skip to content

Commit

Permalink
Moving to net7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Jan 15, 2024
1 parent 579cab2 commit 38a13e3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const path = require('path');
var net = process.argv[2];
var namespace = 'QuickStart.' + net.charAt(0).toUpperCase() + net.substr(1);
if(net === 'core') net = 'coreapp';
var version = net == 'standard' ? '2.1' : '3.1'
if(net === 'core' || net === 'fsharp') net = '';
var version = net == 'standard' ? '2.1' : '7.0'

const baseNetAppPath = path.join(__dirname, '/src/'+ namespace +'/bin/Debug/net'+ net + version);

Expand Down
2 changes: 1 addition & 1 deletion src/ExternalLibrary/ExternalLibrary.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion src/QuickStart.Core/QuickStart.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<PreserveCompilationContext>true</PreserveCompilationContext>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
Expand Down

0 comments on commit 38a13e3

Please sign in to comment.