Skip to content

Instantly share code, notes, and snippets.

@dpr-dev
Created January 11, 2018 07:57
Show Gist options
  • Save dpr-dev/9e61cb9d677fcc63a518feddcbf929eb to your computer and use it in GitHub Desktop.
Save dpr-dev/9e61cb9d677fcc63a518feddcbf929eb to your computer and use it in GitHub Desktop.
APPX4001: Build property AppxBundlePlatforms is not explicitly set and is calculated based on currently building architecture. Use 'Create App Package' wizard or edit project file to set it
=>
Add `AppxBundlePlatforms` section to .csproj
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
...
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
</PropertyGroup>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment