chore: Fixed Windows build
This commit is contained in:
Родитель
0df09fb23d
Коммит
8f32e5518a
|
@ -23,7 +23,7 @@ jobs:
|
|||
- job: Windows
|
||||
|
||||
pool:
|
||||
name: 'Hosted Windows 2019 with VS2019'
|
||||
vmImage: windows-2022
|
||||
|
||||
workspace:
|
||||
clean: all
|
||||
|
@ -90,13 +90,14 @@ jobs:
|
|||
publishLocation: Container
|
||||
|
||||
- job: linux
|
||||
container: nv-bionic-wasm
|
||||
container: unoplatform/wasm-build:2.2
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-18.04'
|
||||
|
||||
variables:
|
||||
NUGET_PACKAGES: $(build.sourcesdirectory)/.nuget
|
||||
SkipUnknownFrameworks: True
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
|
||||
<AndroidLinkMode>None</AndroidLinkMode>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<AotAssemblies>false</AotAssemblies>
|
||||
<UseHighDPIResources>false</UseHighDPIResources>
|
||||
<EnableLLVM>false</EnableLLVM>
|
||||
|
@ -58,7 +58,7 @@
|
|||
<AndroidAotAdditionalArguments>nodebug,no-write-symbols</AndroidAotAdditionalArguments>
|
||||
<EnableLLVM>false</EnableLLVM>
|
||||
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<BundleAssemblies>false</BundleAssemblies>
|
||||
<UseHighDPIResources>true</UseHighDPIResources>
|
||||
<AndroidLinkSkip>$(AssemblyName)</AndroidLinkSkip>
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<CodeAnalysisRuleSet>Uno.AzureDevOps.UWP.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
|
@ -85,7 +85,7 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<AppxBundle>Always</AppxBundle>
|
||||
<CodeAnalysisRuleSet>Uno.AzureDevOps.UWP.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
|
@ -99,7 +99,7 @@
|
|||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<CodeAnalysisRuleSet>Uno.AzureDevOps.UWP.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
|
||||
|
@ -113,7 +113,7 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<AppxBundle>Always</AppxBundle>
|
||||
<CodeAnalysisRuleSet>Uno.AzureDevOps.UWP.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
|
@ -127,7 +127,7 @@
|
|||
<UseVSHostingProcess>false</UseVSHostingProcess>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<CodeAnalysisRuleSet>Uno.AzureDevOps.UWP.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
||||
|
@ -141,7 +141,7 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<AppxBundle>Always</AppxBundle>
|
||||
<CodeAnalysisRuleSet>Uno.AzureDevOps.UWP.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<NoWarn>NU1701</NoWarn>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<WasmShellMonoRuntimeExecutionMode Condition="$([MSBuild]::IsOsUnixLike()) and '$(MixedModeBuild)'=='True'">InterpreterAndAOT</WasmShellMonoRuntimeExecutionMode>
|
||||
<TypeScriptToolsVersion>4.4</TypeScriptToolsVersion>
|
||||
<!--<WasmShellIndexHtmlPath>$(MSBuildThisFileDirectory)index.html</WasmShellIndexHtmlPath>-->
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<MtouchArch>x86_64</MtouchArch>
|
||||
<MtouchDebug>true</MtouchDebug>
|
||||
<MtouchExtraArgs>--nolinkaway --linkskip=$(AssemblyName) --xml=./LinkerExclusions.xml --setenv=MONO_LOG_LEVEL=debug --setenv=MONO_LOG_MASK=gc --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
||||
<DebugType>portable</DebugType>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<MtouchArch>x86_64</MtouchArch>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<MtouchExtraArgs>--nolinkaway --linkskip=$(AssemblyName) --xml=./LinkerExclusions.xml --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<CodesignProvision />
|
||||
<CodesignExtraArgs />
|
||||
<CodesignResourceRules />
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<MtouchFastDev>true</MtouchFastDev>
|
||||
<MtouchEnableSGenConc>true</MtouchEnableSGenConc>
|
||||
<MtouchLink>Full</MtouchLink>
|
||||
|
@ -74,7 +74,7 @@
|
|||
<MtouchEnableSGenConc>true</MtouchEnableSGenConc>
|
||||
<BuildIpa>true</BuildIpa>
|
||||
<MtouchExtraArgs>--nolinkaway --linkskip=$(AssemblyName) --xml=./LinkerExclusions.xml --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<OptimizePNGs>true</OptimizePNGs>
|
||||
<MtouchFloat32>true</MtouchFloat32>
|
||||
<MtouchUseSGen>true</MtouchUseSGen>
|
||||
|
@ -91,7 +91,7 @@
|
|||
<BuildIpa>True</BuildIpa>
|
||||
<CodesignProvision>Automatic:AdHoc</CodesignProvision>
|
||||
<CodesignKey>iPhone Distribution</CodesignKey>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'AppStore|iPhone' ">
|
||||
<DebugType>none</DebugType>
|
||||
|
@ -104,16 +104,16 @@
|
|||
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
|
||||
<CodesignProvision>Automatic:AppStore</CodesignProvision>
|
||||
<CodesignKey>iPhone Distribution</CodesignKey>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
|
||||
<AppExtensionDebugBundleId />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Ad-Hoc|iPhoneSimulator'">
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppStore|iPhoneSimulator'">
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Main.cs" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче