title: The program has exited with code -1073741701 (0xc000007b) for UWP apps
body: <p>I have been developing a UWP app for awhile now. No problems at all. Have it connected to a git repo and everything. So this solution and project was working perfectly fine on 3 days ago. I finished working for the day, made a commit to the repo and turned off my computer. When I came back today, tried to launch my UWP in visual studio 2019 to start debugging on local machine I got this message:</p>
  
  <blockquote>
    <p>The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.
    The program '[2812] LaserMeasurementTool.exe' has exited with code -1073741701 (0xc000007b).
    Activation of the Windows Store app '062a9632-d22f-4d48-991a-d1d51afe77e5_ebvsp9khn4a7w!App' failed with error 'The app didn't start'.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/Twy1U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Twy1U.png" alt="Error message 1"></a></p>
  
  <p>Sometimes right after the 0xc000007b error code it says "a dll could not be found" but not every time.</p>
  
  <p>I have tried so far:</p>
  
  <ul>
  <li>Clean and rebuild the solution</li>
  <li>Repair Visual Studio</li>
  </ul>
  
  <p>I see that there is lots of people that have has this problem. But none of the suggested solutions have worked for me. Was wondering if there is more I can do to solve this issue. I can't do very much if I cannot run my program to test it.</p>
  
  <p>Thank you so much in advance!</p>
  
  <p><strong>Update</strong></p>
  
  <p>Since the first post of this I have tried a few more things:
  I have changed the debugger in VS 2019 to native only. This prompted a different error dialog
  <a href="https://i.stack.imgur.com/1x7kN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1x7kN.png" alt="Error message 2"></a></p>
  
  <p>After this I was taken to <a href="https://docs.microsoft.com/en-us/previous-versions/hh972445(v=vs.140)?redirectedfrom=MSDN" rel="nofollow noreferrer">this site</a> by clicking on "help"</p>
  
  <p>This page got me to open my event viewer for more detail on the issue and this was what the event viewer gave me:</p>
  
  <blockquote>
    <p>Activation for 062a9632-d22f-4d48-991a-d1d51afe77e5_ebvsp9khn4a7w!App failed. Error code: The app didn't start.. Activation phase: COM ActivateExtension</p>
  </blockquote>
  
  <p>And finally the output window in VS 2019 at this point read this:</p>
  
  <blockquote>
    <p>'LaserMeasurementTool.exe' (Win32): Loaded '\lav-dc1\Folder Redirection\bwhelan\Documents\Source\Repos\132 Laser Measurement Tool\LaserMeasurementTool\LaserMeasurementToolUWP\bin\x86\Debug\AppX\LaserMeasurementTool.exe'. 
    'LaserMeasurementTool.exe' (Win32): Loaded 'C:\WINDOWS\System32\ntdll.dll'. Symbols loaded.
    'LaserMeasurementTool.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel32.dll'. Symbols loaded.
    'LaserMeasurementTool.exe' (Win32): Loaded 'C:\WINDOWS\System32\KernelBase.dll'. Symbols loaded.
    'LaserMeasurementTool.exe' (Win32): Loaded 'C:\WINDOWS\System32\ucrtbase.dll'. Symbols loaded.
    'LaserMeasurementTool.exe' (Win32): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.2.2_2.2.27902.3_x86__8wekyb3d8bbwe\uwphost.dll'. 
    'LaserMeasurementTool.exe' (Win32): Unloaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.2.2_2.2.27902.3_x86__8wekyb3d8bbwe\uwphost.dll'
    The thread 0x3b30 has exited with code -1073741701 (0xc000007b).
    The thread 0x1208 has exited with code -1073741701 (0xc000007b).
    The program '[15228] LaserMeasurementTool.exe' has exited with code -1073741701 (0xc000007b).</p>
  </blockquote>
  
  <p>As a whole it still does not work I figured I would add these are things I have now tried and that fail for my situation.</p>
  
  <p><strong>UPDATE CSPROJ FILE</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    &lt;Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /&gt;
    &lt;PropertyGroup&gt;
      &lt;Configuration Condition=" '$(Configuration)' == '' "&gt;Debug&lt;/Configuration&gt;
      &lt;Platform Condition=" '$(Platform)' == '' "&gt;x86&lt;/Platform&gt;
      &lt;ProjectGuid&gt;Removed for safety&lt;/ProjectGuid&gt;
      &lt;OutputType&gt;AppContainerExe&lt;/OutputType&gt;
      &lt;AppDesignerFolder&gt;Properties&lt;/AppDesignerFolder&gt;
      &lt;RootNamespace&gt;LaserMeasurementTool&lt;/RootNamespace&gt;
      &lt;AssemblyName&gt;LaserMeasurementTool&lt;/AssemblyName&gt;
      &lt;DefaultLanguage&gt;en-US&lt;/DefaultLanguage&gt;
      &lt;TargetPlatformIdentifier&gt;UAP&lt;/TargetPlatformIdentifier&gt;
      &lt;TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' "&gt;10.0.18362.0&lt;/TargetPlatformVersion&gt;
      &lt;TargetPlatformMinVersion&gt;10.0.17763.0&lt;/TargetPlatformMinVersion&gt;
      &lt;MinimumVisualStudioVersion&gt;14&lt;/MinimumVisualStudioVersion&gt;
      &lt;FileAlignment&gt;512&lt;/FileAlignment&gt;
      &lt;ProjectTypeGuids&gt;Removed for safety&lt;/ProjectTypeGuids&gt;
      &lt;WindowsXamlEnableOverview&gt;true&lt;/WindowsXamlEnableOverview&gt;
      &lt;AppxPackageSigningEnabled&gt;false&lt;/AppxPackageSigningEnabled&gt;
      &lt;GenerateAppInstallerFile&gt;False&lt;/GenerateAppInstallerFile&gt;
      &lt;AppxPackageSigningTimestampDigestAlgorithm&gt;SHA256&lt;/AppxPackageSigningTimestampDigestAlgorithm&gt;
      &lt;AppxAutoIncrementPackageRevision&gt;True&lt;/AppxAutoIncrementPackageRevision&gt;
      &lt;GenerateTestArtifacts&gt;True&lt;/GenerateTestArtifacts&gt;
      &lt;AppxBundle&gt;Always&lt;/AppxBundle&gt;
      &lt;AppxBundlePlatforms&gt;x86|x64&lt;/AppxBundlePlatforms&gt;
      &lt;HoursBetweenUpdateChecks&gt;0&lt;/HoursBetweenUpdateChecks&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"&gt;
      &lt;DebugSymbols&gt;true&lt;/DebugSymbols&gt;
      &lt;OutputPath&gt;bin\x86\Debug\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP&lt;/DefineConstants&gt;
      &lt;NoWarn&gt;;2008&lt;/NoWarn&gt;
      &lt;DebugType&gt;full&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;x64&lt;/PlatformTarget&gt;
      &lt;UseVSHostingProcess&gt;false&lt;/UseVSHostingProcess&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;Prefer32Bit&gt;true&lt;/Prefer32Bit&gt;
      &lt;EnableGatekeeperAnalysis&gt;false&lt;/EnableGatekeeperAnalysis&gt;
      &lt;UseDotNetNativeToolchain&gt;false&lt;/UseDotNetNativeToolchain&gt;
      &lt;AllowUnsafeBlocks&gt;false&lt;/AllowUnsafeBlocks&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"&gt;
      &lt;OutputPath&gt;bin\x86\Release\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;TRACE;NETFX_CORE;WINDOWS_UWP&lt;/DefineConstants&gt;
      &lt;Optimize&gt;true&lt;/Optimize&gt;
      &lt;NoWarn&gt;;2008&lt;/NoWarn&gt;
      &lt;DebugType&gt;pdbonly&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;x86&lt;/PlatformTarget&gt;
      &lt;UseVSHostingProcess&gt;false&lt;/UseVSHostingProcess&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;Prefer32Bit&gt;true&lt;/Prefer32Bit&gt;
      &lt;UseDotNetNativeToolchain&gt;true&lt;/UseDotNetNativeToolchain&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'"&gt;
      &lt;DebugSymbols&gt;true&lt;/DebugSymbols&gt;
      &lt;OutputPath&gt;bin\ARM\Debug\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP&lt;/DefineConstants&gt;
      &lt;NoWarn&gt;;2008&lt;/NoWarn&gt;
      &lt;DebugType&gt;full&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;ARM&lt;/PlatformTarget&gt;
      &lt;UseVSHostingProcess&gt;false&lt;/UseVSHostingProcess&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;Prefer32Bit&gt;true&lt;/Prefer32Bit&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'"&gt;
      &lt;OutputPath&gt;bin\ARM\Release\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;TRACE;NETFX_CORE;WINDOWS_UWP&lt;/DefineConstants&gt;
      &lt;Optimize&gt;true&lt;/Optimize&gt;
      &lt;NoWarn&gt;;2008&lt;/NoWarn&gt;
      &lt;DebugType&gt;pdbonly&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;ARM&lt;/PlatformTarget&gt;
      &lt;UseVSHostingProcess&gt;false&lt;/UseVSHostingProcess&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;Prefer32Bit&gt;true&lt;/Prefer32Bit&gt;
      &lt;UseDotNetNativeToolchain&gt;true&lt;/UseDotNetNativeToolchain&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'"&gt;
      &lt;DebugSymbols&gt;true&lt;/DebugSymbols&gt;
      &lt;OutputPath&gt;bin\ARM64\Debug\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP&lt;/DefineConstants&gt;
      &lt;NoWarn&gt;;2008&lt;/NoWarn&gt;
      &lt;DebugType&gt;full&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;ARM64&lt;/PlatformTarget&gt;
      &lt;UseVSHostingProcess&gt;false&lt;/UseVSHostingProcess&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;Prefer32Bit&gt;true&lt;/Prefer32Bit&gt;
      &lt;UseDotNetNativeToolchain&gt;true&lt;/UseDotNetNativeToolchain&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'"&gt;
      &lt;OutputPath&gt;bin\ARM64\Release\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;TRACE;NETFX_CORE;WINDOWS_UWP&lt;/DefineConstants&gt;
      &lt;Optimize&gt;true&lt;/Optimize&gt;
      &lt;NoWarn&gt;;2008&lt;/NoWarn&gt;
      &lt;DebugType&gt;pdbonly&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;ARM64&lt;/PlatformTarget&gt;
      &lt;UseVSHostingProcess&gt;false&lt;/UseVSHostingProcess&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;Prefer32Bit&gt;true&lt;/Prefer32Bit&gt;
      &lt;UseDotNetNativeToolchain&gt;true&lt;/UseDotNetNativeToolchain&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"&gt;
      &lt;DebugSymbols&gt;true&lt;/DebugSymbols&gt;
      &lt;OutputPath&gt;bin\x64\Debug\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP&lt;/DefineConstants&gt;
      &lt;NoWarn&gt;;2008&lt;/NoWarn&gt;
      &lt;DebugType&gt;full&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;x64&lt;/PlatformTarget&gt;
      &lt;UseVSHostingProcess&gt;false&lt;/UseVSHostingProcess&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;Prefer32Bit&gt;true&lt;/Prefer32Bit&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"&gt;
      &lt;OutputPath&gt;bin\x64\Release\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;TRACE;NETFX_CORE;WINDOWS_UWP&lt;/DefineConstants&gt;
      &lt;Optimize&gt;true&lt;/Optimize&gt;
      &lt;NoWarn&gt;;2008&lt;/NoWarn&gt;
      &lt;DebugType&gt;pdbonly&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;x64&lt;/PlatformTarget&gt;
      &lt;UseVSHostingProcess&gt;false&lt;/UseVSHostingProcess&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;Prefer32Bit&gt;true&lt;/Prefer32Bit&gt;
      &lt;UseDotNetNativeToolchain&gt;true&lt;/UseDotNetNativeToolchain&gt;
    &lt;/PropertyGroup&gt;
    &lt;PropertyGroup&gt;
      &lt;RestoreProjectStyle&gt;PackageReference&lt;/RestoreProjectStyle&gt;
    &lt;/PropertyGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Compile Include="App.xaml.cs"&gt;
        &lt;DependentUpon&gt;App.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="MainPage.xaml.cs"&gt;
        &lt;DependentUpon&gt;MainPage.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Models\DataModel.cs" /&gt;
      &lt;Compile Include="Models\ExportModel.cs" /&gt;
      &lt;Compile Include="Models\ImportModel.cs" /&gt;
      &lt;Compile Include="Models\LoginModel.cs" /&gt;
      &lt;Compile Include="Models\ProgramDataModel.cs" /&gt;
      &lt;Compile Include="Models\SettingsModel.cs" /&gt;
      &lt;Compile Include="Properties\AssemblyInfo.cs" /&gt;
      &lt;Compile Include="Utilities\CollectionConverter.cs" /&gt;
      &lt;Compile Include="Utilities\ExcelBuilder.cs" /&gt;
      &lt;Compile Include="Utilities\JSON.cs" /&gt;
      &lt;Compile Include="Utilities\Messages.cs" /&gt;
      &lt;Compile Include="Utilities\DataHelper.cs" /&gt;
      &lt;Compile Include="ViewModels\AdminViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\BaseViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\CalibrationViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\DatabaseViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\GeneralViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\LoginChangePasswordViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\LoginViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\MainDisplayViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\MainViewModel.cs" /&gt;
      &lt;Compile Include="ViewModels\SettingsViewModel.cs" /&gt;
      &lt;Compile Include="Views\AdminAccountView.xaml.cs"&gt;
        &lt;DependentUpon&gt;AdminAccountView.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\Admin\AddAccount.xaml.cs"&gt;
        &lt;DependentUpon&gt;AddAccount.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\Admin\EditAccount.xaml.cs"&gt;
        &lt;DependentUpon&gt;EditAccount.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\Admin\MainAccount.xaml.cs"&gt;
        &lt;DependentUpon&gt;MainAccount.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\ChangePasswordView.xaml.cs"&gt;
        &lt;DependentUpon&gt;ChangePasswordView.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\General\Calibration.xaml.cs"&gt;
        &lt;DependentUpon&gt;Calibration.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\General\Database.xaml.cs"&gt;
        &lt;DependentUpon&gt;Database.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\General\Main.xaml.cs"&gt;
        &lt;DependentUpon&gt;Main.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\General\Settings.xaml.cs"&gt;
        &lt;DependentUpon&gt;Settings.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\LoginView.xaml.cs"&gt;
        &lt;DependentUpon&gt;LoginView.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\MainView.xaml.cs"&gt;
        &lt;DependentUpon&gt;MainView.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\GeneralView.xaml.cs"&gt;
        &lt;DependentUpon&gt;GeneralView.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
      &lt;Compile Include="Views\TestView.xaml.cs"&gt;
        &lt;DependentUpon&gt;TestView.xaml&lt;/DependentUpon&gt;
      &lt;/Compile&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;AppxManifest Include="Package.appxmanifest"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/AppxManifest&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;Content Include="Assets\img\Add.png" /&gt;
      &lt;Content Include="Assets\img\Add_DarkGray.png" /&gt;
      &lt;Content Include="Assets\img\Add_White.png" /&gt;
      &lt;Content Include="Assets\img\BackBtn.png" /&gt;
      &lt;Content Include="Assets\img\BackBtn_White.png" /&gt;
      &lt;Content Include="Assets\img\Checkmark.png" /&gt;
      &lt;Content Include="Assets\img\Checkmark_White.png" /&gt;
      &lt;Content Include="Assets\img\LaveerLogo.png" /&gt;
      &lt;Content Include="Assets\img\Load.png" /&gt;
      &lt;Content Include="Assets\img\Load_White.png" /&gt;
      &lt;Content Include="Assets\img\Lock.png" /&gt;
      &lt;Content Include="Assets\img\LogoutBtn.png" /&gt;
      &lt;Content Include="Assets\img\LogoutBtn_White.png" /&gt;
      &lt;Content Include="Assets\img\Person.png" /&gt;
      &lt;Content Include="Assets\img\Plus.png" /&gt;
      &lt;Content Include="Assets\img\Plus_White.png" /&gt;
      &lt;Content Include="Assets\img\RemoveBtn.png" /&gt;
      &lt;Content Include="Assets\img\EditBtn.png" /&gt;
      &lt;Content Include="Assets\img\EditBtn_White.png" /&gt;
      &lt;Content Include="Assets\img\Lock_White.png" /&gt;
      &lt;Content Include="Assets\img\RemoveBtn_White.png" /&gt;
      &lt;Content Include="Assets\img\Sync.png" /&gt;
      &lt;Content Include="Assets\img\Sync_Shadow.png" /&gt;
      &lt;Content Include="Assets\img\Sync_White.png" /&gt;
      &lt;Content Include="Assets\img\X.png" /&gt;
      &lt;Content Include="Assets\img\X_LightGray.png" /&gt;
      &lt;Content Include="Assets\img\X_White.png" /&gt;
      &lt;Content Include="Assets\LoginBackground.jpg" /&gt;
      &lt;Content Include="Assets\img\Person_White.png" /&gt;
      &lt;Content Include="Assets\img\ViewBtn.png" /&gt;
      &lt;Content Include="Properties\Default.rd.xml" /&gt;
      &lt;Content Include="Assets\LockScreenLogo.scale-200.png" /&gt;
      &lt;Content Include="Assets\SplashScreen.scale-200.png" /&gt;
      &lt;Content Include="Assets\Square150x150Logo.scale-200.png" /&gt;
      &lt;Content Include="Assets\Square44x44Logo.scale-200.png" /&gt;
      &lt;Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /&gt;
      &lt;Content Include="Assets\StoreLogo.png" /&gt;
      &lt;Content Include="Assets\Wide310x150Logo.scale-200.png" /&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;ApplicationDefinition Include="App.xaml"&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/ApplicationDefinition&gt;
      &lt;Page Include="MainPage.xaml"&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/Page&gt;
      &lt;Page Include="Styles\Styles.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\AdminAccountView.xaml"&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\Admin\AddAccount.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\Admin\EditAccount.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\Admin\MainAccount.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\ChangePasswordView.xaml"&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\General\Calibration.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\General\Database.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\General\Main.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\General\Settings.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\LoginView.xaml"&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\MainView.xaml"&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\GeneralView.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
      &lt;Page Include="Views\TestView.xaml"&gt;
        &lt;SubType&gt;Designer&lt;/SubType&gt;
        &lt;Generator&gt;MSBuild:Compile&lt;/Generator&gt;
      &lt;/Page&gt;
    &lt;/ItemGroup&gt;
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.Net.Native.Compiler"&gt;
        &lt;Version&gt;2.2.3&lt;/Version&gt;
        &lt;IncludeAssets&gt;runtime; build; native; contentfiles; analyzers; buildtransitive&lt;/IncludeAssets&gt;
        &lt;PrivateAssets&gt;all&lt;/PrivateAssets&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Microsoft.NETCore.Runtime.CoreCLR"&gt;
        &lt;Version&gt;2.0.8&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Microsoft.NETCore.Runtime.Native"&gt;
        &lt;Version&gt;1.0.1&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform"&gt;
        &lt;Version&gt;6.2.9&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="MvvmLight"&gt;
        &lt;Version&gt;5.4.1.1&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="MvvmLightLibs"&gt;
        &lt;Version&gt;5.4.1.1&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Newtonsoft.Json"&gt;
        &lt;Version&gt;12.0.3&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Syncfusion.DataGridExcelExport.UWP"&gt;
        &lt;Version&gt;17.3.0.28&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Syncfusion.Licensing"&gt;
        &lt;Version&gt;17.3.0.28&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Syncfusion.Pdf.UWP"&gt;
        &lt;Version&gt;17.3.0.28&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Syncfusion.SfChart.UWP"&gt;
        &lt;Version&gt;17.3.0.28&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Syncfusion.SfGauge.UWP"&gt;
        &lt;Version&gt;17.3.0.28&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Syncfusion.SfGrid.UWP"&gt;
        &lt;Version&gt;17.3.0.28&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Syncfusion.SfInput.UWP"&gt;
        &lt;Version&gt;17.3.0.28&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="Syncfusion.XlsIO.UWP"&gt;
        &lt;Version&gt;17.3.0.28&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="System.Dynamic.Runtime"&gt;
        &lt;Version&gt;4.3.0&lt;/Version&gt;
      &lt;/PackageReference&gt;
      &lt;PackageReference Include="System.Runtime.CompilerServices.Unsafe"&gt;
        &lt;Version&gt;4.6.0&lt;/Version&gt;
      &lt;/PackageReference&gt;
    &lt;/ItemGroup&gt;
    &lt;PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &amp;lt; '14.0' "&gt;
      &lt;VisualStudioVersion&gt;14.0&lt;/VisualStudioVersion&gt;
    &lt;/PropertyGroup&gt;
    &lt;Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" /&gt;
    &lt;!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
         Other similar extension points exist, see Microsoft.Common.targets.
    &lt;Target Name="BeforeBuild"&gt;
    &lt;/Target&gt;
    &lt;Target Name="AfterBuild"&gt;
    &lt;/Target&gt;
    --&gt;
  &lt;/Project&gt;
  </code></pre>