Merged PR 864657: 1541369 [v3][1DS][StickyNotes][C#] Unable to start app after upgrade from v1 to
1541369 [v3][1DS][StickyNotes][C#] Unable to start app after upgrade from v1 to v3 - WinRT COM exception * Build script for C# SDK nuget packaging - new DLL name * Build script for build agent (setup prerequisites for cmake build using choco) Build scripts only. No code changes. Instructions sent out to the customer how to add the new .DLL to app package manifest to avoid the crash. Related work items: #1541369
This commit is contained in:
Родитель
5691a68f03
Коммит
0fc5e6f921
|
@ -2,18 +2,26 @@
|
|||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Target Name="PlatformCheck" BeforeTargets="InjectReference"
|
||||
Condition=" ( ('$(Platform)' != 'x86') AND ('$(Platform)' != 'ARM') AND ('$(Platform)' != 'x64'))">
|
||||
Condition=" ( ('$(Platform)' != 'x86') AND ('$(Platform)' != 'ARM') AND ('$(Platform)' != 'ARM64') AND ('$(Platform)' != 'x64'))">
|
||||
<Error Text="$(MSBuildThisFileName) does not support the '$(Platform)' platform. You need to specify x86, x64 or ARM." />
|
||||
</Target>
|
||||
|
||||
<ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'UAP'">
|
||||
<Reference Include="$(MSBuildThisFileDirectory)..\..\lib\uap10.0\$(Platform)\Microsoft.Applications.Telemetry.Windows.winmd" />
|
||||
<Reference Include="$(MSBuildThisFileDirectory)..\..\lib\uap10.0\Microsoft.Applications.Telemetry.Windows.winmd">
|
||||
<Name>Microsoft.Applications.Telemetry.Windows.UAP</Name>
|
||||
<HintPath>$(MSBuildThisFileDirectory)..\..\lib\uap10.0\Microsoft.Applications.Telemetry.Windows.winmd</HintPath>
|
||||
<Implementation>Microsoft.Applications.Telemetry.Windows-managed.dll</Implementation>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="InjectReference" BeforeTargets="ResolveAssemblyReferences" Condition="'$(TargetPlatformIdentifier)' == 'UAP'">
|
||||
<ItemGroup>
|
||||
<SDKReference Include="Microsoft.VCLibs, Version=14.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ReferenceCopyLocalPaths Include="$(MSBuildThisFileDirectory)..\..\lib\uap10.0\$(Platform)\Microsoft.Applications.Telemetry.Windows-managed.dll" />
|
||||
<ReferenceCopyLocalPaths Include="$(MSBuildThisFileDirectory)..\..\lib\uap10.0\$(Platform)\Microsoft.Applications.Telemetry.Windows-managed.pdb" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,14 @@
|
|||
@echo off
|
||||
WHERE choco >nul 2>nul
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
echo This script requires chocolatey. Installation instructions: https://chocolatey.org/docs/installation
|
||||
exit -1
|
||||
)
|
||||
|
||||
choco install -y cmake
|
||||
choco install -y svn
|
||||
choco install -y git
|
||||
choco install -y llvm
|
||||
choco install -y zip
|
||||
REM choco install -y visualstudio2017buildtools
|
||||
REM choco install -y visualstudio2017enterprise
|
Загрузка…
Ссылка в новой задаче