Description
My goal is to bundle the WASDK runtime in my packaged application. Attempting to use
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> gives a The platform AnyCPU is not supported for Self Contained mode.
This led me to <SelfContained>true</SelfContained>, unfortunately, this throws TypeInitializationException on launch.
Steps to Reproduce
- Open your
csproj
- Add
<SelfContained>true</SelfContained>
- Build, observe exception.
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
None at the moment.
Relevant log output
No response
Description
My goal is to bundle the WASDK runtime in my packaged application. Attempting to use
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>gives aThe platform AnyCPU is not supported for Self Contained mode.This led me to
<SelfContained>true</SelfContained>, unfortunately, this throwsTypeInitializationExceptionon launch.Steps to Reproduce
csproj<SelfContained>true</SelfContained>Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
None at the moment.
Relevant log output
No response