![](/img/trans.png)
[英]The type initializer for 'Protexis.' threw an exception. Value cannot be null. Parameter name: path1
[英]UWP Value cannot be null. Parameter name: path1
我正在使用Visual Studio 2015創建一個空白的UWP
每次我嘗試構建時,我都會收到以下錯誤
Error CS1061 'MainPage' does not contain a definition for 'InitializeComponent' and no extension method 'InitializeComponent' accepting a first argument of type 'MainPage' could be found (are you missing a using directive or an assembly reference?)
Error Value cannot be null.
Parameter name: path1
我嘗試卸載Windows軟件開發工具包,然后安裝它沒有運氣
我有一個工作項目,但現在它給出了同樣的錯誤
.csproj中的目標如下
<TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.14393.0</TargetPlatformMinVersion>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.