Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppWithPlugin Demo Update to net8.0 #6984

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions core/extensions/AppWithPlugin/AppWithPlugin/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ static void Main(string[] args)

string[] pluginPaths = new string[]
{
@"HelloPlugin\bin\Debug\net7.0\HelloPlugin.dll",
@"JsonPlugin\bin\Debug\net7.0\JsonPlugin.dll",
@"OldJsonPlugin\bin\Debug\net7.0\OldJsonPlugin.dll",
@"FrenchPlugin\bin\Debug\net7.0\FrenchPlugin.dll",
@"UVPlugin\bin\Debug\net7.0\UVPlugin.dll",
@"HelloPlugin\bin\Debug\net8.0\HelloPlugin.dll",
@"JsonPlugin\bin\Debug\net8.0\JsonPlugin.dll",
@"OldJsonPlugin\bin\Debug\net8.0\OldJsonPlugin.dll",
@"FrenchPlugin\bin\Debug\net8.0\FrenchPlugin.dll",
@"UVPlugin\bin\Debug\net8.0\UVPlugin.dll",
};

IEnumerable<ICommand> commands = pluginPaths.SelectMany(pluginPath =>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>

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

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>

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

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>

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

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>

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

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion core/extensions/AppWithPlugin/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ By using `AssemblyDependencyResolver` along with a custom `AssemblyLoadContext`,

## Build and Run

1. Install .NET 7.0 or newer. The sample targets .NET 7.0, but support for all the features it uses was added in .NET Core 3.0.
1. Install .NET 8.0 or newer. The sample targets .NET 8.0, but support for all the features it uses was added in .NET Core 3.0.
2. Use the .NET SDK to build the project via `dotnet build`.
- The AppWithPlugin project does not contain any references to the plugin projects, so you need to build the solution.
3. Go to the AppWithPlugin directory and use `dotnet run` to run the app.
Expand Down
2 changes: 1 addition & 1 deletion core/extensions/AppWithPlugin/UVPlugin/UVPlugin.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>

Expand Down
Loading