C# 该程序已退出,UWP应用程序的代码为-1073741701(0xc000007b)
我开发UWP应用程序已经有一段时间了。没问题。将其连接到git回购和其他一切。所以这个解决方案和项目在3天前运行得非常好。我完成了一天的工作,对回购协议做出了承诺,并关掉了电脑。当我今天回来时,试图在visual studio 2019中启动我的UWP以在本地计算机上开始调试,我收到了以下消息: 目标进程已退出,但未引发CoreCLR启动事件。确保将目标进程配置为使用.NET Core。如果目标进程未在.NET Core上运行,则可能会出现这种情况。 程序“[2812]LaserMeasurementTool.exe”已退出,代码为-1073741701(0xc000007b)。 激活Windows应用商店应用程序'062a9632-d22f-4d48-991a-d1d51afe77e5_ebvsp9khn4a7w!应用程序“失败”,错误为“应用程序未启动” 有时,在0xc000007b错误代码之后,会显示“无法找到dll”,但并非每次都是如此 到目前为止,我已经尝试过:C# 该程序已退出,UWP应用程序的代码为-1073741701(0xc000007b),c#,.net-core,uwp,C#,.net Core,Uwp,我开发UWP应用程序已经有一段时间了。没问题。将其连接到git回购和其他一切。所以这个解决方案和项目在3天前运行得非常好。我完成了一天的工作,对回购协议做出了承诺,并关掉了电脑。当我今天回来时,试图在visual studio 2019中启动我的UWP以在本地计算机上开始调试,我收到了以下消息: 目标进程已退出,但未引发CoreCLR启动事件。确保将目标进程配置为使用.NET Core。如果目标进程未在.NET Core上运行,则可能会出现这种情况。 程序“[2812]LaserMeasurem
- 清理并重建解决方案
- 修复Visual Studio
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.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>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>Removed for safety</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>LaserMeasurementTool</RootNamespace>
<AssemblyName>LaserMeasurementTool</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.18362.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>Removed for safety</ProjectTypeGuids>
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64</AppxBundlePlatforms>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<EnableGatekeeperAnalysis>false</EnableGatekeeperAnalysis>
<UseDotNetNativeToolchain>false</UseDotNetNativeToolchain>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
<OutputPath>bin\ARM64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
</PropertyGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
<Compile Include="Models\DataModel.cs" />
<Compile Include="Models\ExportModel.cs" />
<Compile Include="Models\ImportModel.cs" />
<Compile Include="Models\LoginModel.cs" />
<Compile Include="Models\ProgramDataModel.cs" />
<Compile Include="Models\SettingsModel.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utilities\CollectionConverter.cs" />
<Compile Include="Utilities\ExcelBuilder.cs" />
<Compile Include="Utilities\JSON.cs" />
<Compile Include="Utilities\Messages.cs" />
<Compile Include="Utilities\DataHelper.cs" />
<Compile Include="ViewModels\AdminViewModel.cs" />
<Compile Include="ViewModels\BaseViewModel.cs" />
<Compile Include="ViewModels\CalibrationViewModel.cs" />
<Compile Include="ViewModels\DatabaseViewModel.cs" />
<Compile Include="ViewModels\GeneralViewModel.cs" />
<Compile Include="ViewModels\LoginChangePasswordViewModel.cs" />
<Compile Include="ViewModels\LoginViewModel.cs" />
<Compile Include="ViewModels\MainDisplayViewModel.cs" />
<Compile Include="ViewModels\MainViewModel.cs" />
<Compile Include="ViewModels\SettingsViewModel.cs" />
<Compile Include="Views\AdminAccountView.xaml.cs">
<DependentUpon>AdminAccountView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Admin\AddAccount.xaml.cs">
<DependentUpon>AddAccount.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Admin\EditAccount.xaml.cs">
<DependentUpon>EditAccount.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Admin\MainAccount.xaml.cs">
<DependentUpon>MainAccount.xaml</DependentUpon>
</Compile>
<Compile Include="Views\ChangePasswordView.xaml.cs">
<DependentUpon>ChangePasswordView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\General\Calibration.xaml.cs">
<DependentUpon>Calibration.xaml</DependentUpon>
</Compile>
<Compile Include="Views\General\Database.xaml.cs">
<DependentUpon>Database.xaml</DependentUpon>
</Compile>
<Compile Include="Views\General\Main.xaml.cs">
<DependentUpon>Main.xaml</DependentUpon>
</Compile>
<Compile Include="Views\General\Settings.xaml.cs">
<DependentUpon>Settings.xaml</DependentUpon>
</Compile>
<Compile Include="Views\LoginView.xaml.cs">
<DependentUpon>LoginView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MainView.xaml.cs">
<DependentUpon>MainView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\GeneralView.xaml.cs">
<DependentUpon>GeneralView.xaml</DependentUpon>
</Compile>
<Compile Include="Views\TestView.xaml.cs">
<DependentUpon>TestView.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
</ItemGroup>
<ItemGroup>
<Content Include="Assets\img\Add.png" />
<Content Include="Assets\img\Add_DarkGray.png" />
<Content Include="Assets\img\Add_White.png" />
<Content Include="Assets\img\BackBtn.png" />
<Content Include="Assets\img\BackBtn_White.png" />
<Content Include="Assets\img\Checkmark.png" />
<Content Include="Assets\img\Checkmark_White.png" />
<Content Include="Assets\img\LaveerLogo.png" />
<Content Include="Assets\img\Load.png" />
<Content Include="Assets\img\Load_White.png" />
<Content Include="Assets\img\Lock.png" />
<Content Include="Assets\img\LogoutBtn.png" />
<Content Include="Assets\img\LogoutBtn_White.png" />
<Content Include="Assets\img\Person.png" />
<Content Include="Assets\img\Plus.png" />
<Content Include="Assets\img\Plus_White.png" />
<Content Include="Assets\img\RemoveBtn.png" />
<Content Include="Assets\img\EditBtn.png" />
<Content Include="Assets\img\EditBtn_White.png" />
<Content Include="Assets\img\Lock_White.png" />
<Content Include="Assets\img\RemoveBtn_White.png" />
<Content Include="Assets\img\Sync.png" />
<Content Include="Assets\img\Sync_Shadow.png" />
<Content Include="Assets\img\Sync_White.png" />
<Content Include="Assets\img\X.png" />
<Content Include="Assets\img\X_LightGray.png" />
<Content Include="Assets\img\X_White.png" />
<Content Include="Assets\LoginBackground.jpg" />
<Content Include="Assets\img\Person_White.png" />
<Content Include="Assets\img\ViewBtn.png" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
<Content Include="Assets\Square150x150Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.scale-200.png" />
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Assets\StoreLogo.png" />
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Styles\Styles.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\AdminAccountView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\Admin\AddAccount.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Admin\EditAccount.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Admin\MainAccount.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\ChangePasswordView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\General\Calibration.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\General\Database.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\General\Main.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\General\Settings.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\LoginView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MainView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\GeneralView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\TestView.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Net.Native.Compiler">
<Version>2.2.3</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.Runtime.CoreCLR">
<Version>2.0.8</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.Runtime.Native">
<Version>1.0.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.2.9</Version>
</PackageReference>
<PackageReference Include="MvvmLight">
<Version>5.4.1.1</Version>
</PackageReference>
<PackageReference Include="MvvmLightLibs">
<Version>5.4.1.1</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>12.0.3</Version>
</PackageReference>
<PackageReference Include="Syncfusion.DataGridExcelExport.UWP">
<Version>17.3.0.28</Version>
</PackageReference>
<PackageReference Include="Syncfusion.Licensing">
<Version>17.3.0.28</Version>
</PackageReference>
<PackageReference Include="Syncfusion.Pdf.UWP">
<Version>17.3.0.28</Version>
</PackageReference>
<PackageReference Include="Syncfusion.SfChart.UWP">
<Version>17.3.0.28</Version>
</PackageReference>
<PackageReference Include="Syncfusion.SfGauge.UWP">
<Version>17.3.0.28</Version>
</PackageReference>
<PackageReference Include="Syncfusion.SfGrid.UWP">
<Version>17.3.0.28</Version>
</PackageReference>
<PackageReference Include="Syncfusion.SfInput.UWP">
<Version>17.3.0.28</Version>
</PackageReference>
<PackageReference Include="Syncfusion.XlsIO.UWP">
<Version>17.3.0.28</Version>
</PackageReference>
<PackageReference Include="System.Dynamic.Runtime">
<Version>4.3.0</Version>
</PackageReference>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe">
<Version>4.6.0</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- 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.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
调试
x86
为安全起见,请将其移除
AppContainerExe
性质
激光测量工具
激光测量工具
恩美
UAP
10.0.18362.0
10.0.17763.0
14
512
为安全起见,请将其移除
真的
假的
假的
SHA256
真的
真的
总是
x86 | x64
0
真的
bin\x86\Debug\
调试;痕迹;NETFX_核心;WINDOWS_UWP
;2008
满的
x64
假的
促使
真的
假的
假的
假的
bin\x86\Release\
痕迹;NETFX_核心;WINDOWS_UWP
真的
;2008
pdbonly
x86
假的
促使
真的
真的
真的
bin\ARM\Debug\
调试;痕迹;NETFX_核心;WINDOWS_UWP
;2008
满的
手臂
假的
促使
真的
bin\ARM\Release\
痕迹;NETFX_核心;WINDOWS_UWP
真的
;2008
pdbonly
手臂
假的
促使
真的
真的
真的
bin\ARM64\Debug\
调试;痕迹;NETFX_核心;WINDOWS_UWP
;2008
满的
ARM64
假的
促使
真的
真的
bin\ARM64\Release\
痕迹;NETFX_核心;WINDOWS_UWP
真的
;2008
pdbonly
ARM64
假的
促使
真的
真的
真的
bin\x64\Debug\
调试;痕迹;NETFX_核心;WINDOWS_UWP
;2008
满的
x64
假的
促使
真的
bin\x64\Release\
痕迹;NETFX_核心;WINDOWS_UWP
真的
;2008
pdbonly
x64
假的
促使
真的
真的
包装参考
App.xaml
MainPage.xaml
AdminAccountView.xaml
AddAccount.xaml
EditAccount.xaml
maincount.xaml
ChangePasswordView.xaml
校准.xaml
Database.xaml
Main.xaml
Settings.xaml
LoginView.xaml
MainView.xaml
GeneralView.xaml
TestView.xaml
设计师
MSBuild:编译
设计师
MSBuild:编译
设计师
设计师
MSBuild:编译
MSBuild:编译
设计师
设计师
MSBuild:编译
设计师
MSBuild:编译
设计师
MSBuild:编译
MSBuild:编译