File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments