feat(05-02): add self-contained single-file publish configuration
- Added conditional PropertyGroup for PublishSingleFile=true - Sets SelfContained=true, RuntimeIdentifier=win-x64, IncludeNativeLibrariesForSelfExtract=true - Conditional activation avoids affecting dotnet build and dotnet test - Produces single SharepointToolbox.exe with zero loose DLL files - PublishTrimmed remains false (required by PnP.Framework + MSAL)
This commit is contained in:
@@ -10,6 +10,12 @@
|
|||||||
<StartupObject>SharepointToolbox.App</StartupObject>
|
<StartupObject>SharepointToolbox.App</StartupObject>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(PublishSingleFile)' == 'true'">
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ApplicationDefinition Remove="App.xaml" />
|
<ApplicationDefinition Remove="App.xaml" />
|
||||||
<Page Include="App.xaml" />
|
<Page Include="App.xaml" />
|
||||||
|
|||||||
Reference in New Issue
Block a user