Skip to content
Open
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
2 changes: 1 addition & 1 deletion PowerDocu.AppDocumenter/AppWordDocBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ private void addAppResources()
}
table.Append(CreateRow(new Text("Resource Preview"), icon));
}
catch (Exception e)
catch (Exception)
{
table.Append(CreateRow(new Text("Resource Preview"), new Text("Resource Preview is not available, media file is invalid.")));
}
Expand Down
2 changes: 1 addition & 1 deletion PowerDocu.AppDocumenter/PowerDocu.AppDocumenter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<LangVersion>latest</LangVersion>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>embedded</DebugType>
Expand Down
1 change: 0 additions & 1 deletion PowerDocu.FlowDocumenter/FlowMarkdownBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ private void addActionInfo()
}
}
else {
string s = "";
}
}
operandsCell.Append("</table>");
Expand Down
1 change: 0 additions & 1 deletion PowerDocu.FlowDocumenter/FlowWordDocBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ private void addActionInfo()
operandsCell.Append(innerOperandsTable, new Paragraph());
}
else {
string s = "";
}
}
operandsCell.Append(operandsTable, new Paragraph());
Expand Down
2 changes: 1 addition & 1 deletion PowerDocu.FlowDocumenter/PowerDocu.FlowDocumenter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<LangVersion>latest</LangVersion>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>embedded</DebugType>
Expand Down
1 change: 1 addition & 0 deletions PowerDocu.GUI/CommandLineOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using CommandLine;
using PowerDocu.Common;

#nullable enable
namespace PowerDocu.GUI
{
public class CommandLineOptions
Expand Down
2 changes: 1 addition & 1 deletion PowerDocu.GUI/PowerDocu.GUI.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk">
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing from Microsoft.NET.Sdk.WindowsDesktop to Microsoft.NET.Sdk may cause build issues or loss of Windows-specific features. The WindowsDesktop SDK provides additional functionality for WPF and WinForms applications. Verify that all Windows-specific features still work correctly with the standard SDK, or consider keeping the WindowsDesktop SDK while using the net8.0-windows target framework.

Suggested change
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

Copilot uses AI. Check for mistakes.

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
Expand Down
8 changes: 4 additions & 4 deletions PowerDocu.GUI/PowerDocuForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private void SyncConfigHelper()
configHelper.checkForUpdatesOnLaunch = checkForUpdatesOnLaunchCheckBox.Checked;
}

private async void SaveConfigButton_Click(object sender, EventArgs e)
private void SaveConfigButton_Click(object sender, EventArgs e)
{
statusLabel.Text = "Saving configuration...";
statusLabel.Refresh();
Expand All @@ -192,12 +192,12 @@ private async void SaveConfigButton_Click(object sender, EventArgs e)
statusLabel.Text = "New default configuration has been saved.";
}

private async void StartDocumentationButton_Click(object sender, EventArgs e)
private void StartDocumentationButton_Click(object sender, EventArgs e)
{
startDocumentation(true);
}

private async void StartImageGenerationButton_Click(object sender, EventArgs e)
private void StartImageGenerationButton_Click(object sender, EventArgs e)
{
startDocumentation(false);
}
Expand Down Expand Up @@ -271,7 +271,7 @@ private void startDocumentation(bool fullDocumentation = true)
}
}

private async void ClearWordTemplateButton_Click(object sender, EventArgs e)
private void ClearWordTemplateButton_Click(object sender, EventArgs e)
{
openWordTemplateDialog.FileName = "";
clearWordTemplateButton.Visible = false;
Expand Down
1 change: 0 additions & 1 deletion PowerDocu.SolutionDocumenter/DataverseGraphBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ ColumnEntity lookupColumn in tableEntity
createNodeRelationship(lookupTableGraph, currentTableGraph, lookupTableEntity, tableEntity, lookupColumn, "*|1");
}
} else {
string s = "";
}
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net8.0-windows</TargetFramework>
<LangVersion>latest</LangVersion>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<DebugType>embedded</DebugType>
Expand Down
2 changes: 1 addition & 1 deletion modules/PowerDocu.Common
Loading