Skip to content

Commit f43c894

Browse files
committed
.
1 parent 69a8ef0 commit f43c894

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ build_script:
1212
./dotnet-install.ps1 -JSonFile src/global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet'
1313
dotnet build src --configuration Release
1414
dotnet test src --configuration Release --no-build --no-restore
15+
$env:PATH = "C:\Program Files (x86)\Microsoft Visual Studio\Installer;$env:PATH"
16+
dotnet pack src/DiffEngineTray/DiffEngineTray.csproj --configuration Release -p:ToolType=aot -o nugets
1517
}
1618
else {
1719
Invoke-WebRequest "https://dot.net/v1/dotnet-install.sh" -OutFile "./dotnet-install.sh"

src/DiffEngineTray/DiffEngineTray.csproj

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@
55
<TargetFramework>net10.0</TargetFramework>
66
<UseWindowsForms>true</UseWindowsForms>
77
<PackAsTool>True</PackAsTool>
8+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
9+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
10+
<PublishAot>true</PublishAot>
11+
<_SuppressWinFormsTrimError>true</_SuppressWinFormsTrimError>
12+
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
13+
<SuppressAotAnalysisWarnings>true</SuppressAotAnalysisWarnings>
14+
<TrimmerSingleWarn>false</TrimmerSingleWarn>
15+
<IlcTreatWarningsAsErrors>false</IlcTreatWarningsAsErrors>
816
<Description>A utility that runs in the windows tray and handles the results of file differences.</Description>
917
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
10-
<NoWarn>NETSDK1137;WFAC010;NU5119</NoWarn>
18+
<NoWarn>NETSDK1137;NETSDK1175;WFAC010;NU5119;IL3000;IL3050;IL3051;IL3053</NoWarn>
1119
<GenerateDocumentationFile>false</GenerateDocumentationFile>
1220
<RollForward>LatestMajor</RollForward>
1321
</PropertyGroup>

0 commit comments

Comments
 (0)