mirror of
https://github.com/DuendeSoftware/products
synced 2026-05-24 09:28:24 +00:00
Template build program targets net10.0
This commit is contained in:
parent
0c65a98630
commit
b7cf736a37
2 changed files with 4 additions and 4 deletions
|
|
@ -82,10 +82,10 @@ void CopyFile(DirectoryInfo directoryInfo, FileInfo fileInfo)
|
|||
|
||||
bool TryFindFile(string fileName, [NotNullWhen(true)] out FileInfo? found)
|
||||
{
|
||||
var executingAssemblyLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
|
||||
?? throw new InvalidOperationException("Failed to find executing assembly location");
|
||||
|
||||
|
||||
var currentDir = new DirectoryInfo(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
|
||||
?? throw new InvalidOperationException("Failed to find directory for current assembly"));
|
||||
var currentDir = new DirectoryInfo(executingAssemblyLocation);
|
||||
|
||||
while (currentDir != null && currentDir.Exists)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue