File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,9 @@ private async Task LoadData()
189189
190190 return textContents ;
191191 }
192- catch
192+ catch ( Exception e )
193193 {
194- return null ;
194+ return $ "Exception Encountered Loading file ' { filePath } ': \n { e . Message } \n { e . StackTrace } " ;
195195 }
196196 }
197197
@@ -214,7 +214,12 @@ private static string GetRelativePathToFileWithoutExtension(Type type)
214214
215215 var folderPath = typeNamespace . Replace ( simpleAssemblyName , "" ) . Trim ( '.' ) . Replace ( '.' , '/' ) ;
216216
217- return $ "SourceAssets/{ sampleName } /samples/{ simpleAssemblyName } /{ folderPath } /{ type . Name } ";
217+ if ( folderPath . Length != 0 )
218+ {
219+ folderPath += "/" ;
220+ }
221+
222+ return $ "SourceAssets/{ sampleName } /samples/{ simpleAssemblyName } /{ folderPath } { type . Name } ";
218223 }
219224 }
220225}
Original file line number Diff line number Diff line change 3030
3131 <ItemGroup >
3232 <PackageReference Condition =" '$(TargetFramework)' == '$(UwpTargetFramework)'" Include =" Microsoft.UI.Xaml" Version =" 2.7.0" />
33- <PackageReference Condition =" '$(TargetFramework)' == '$(WinAppSdkTargetFramework)'" Include =" Microsoft.WindowsAppSDK" Version =" 1.0.0 " />
33+ <PackageReference Condition =" '$(TargetFramework)' == '$(WinAppSdkTargetFramework)'" Include =" Microsoft.WindowsAppSDK" Version =" 1.0.3 " />
3434 </ItemGroup >
3535</Project >
Original file line number Diff line number Diff line change 1616 </PropertyGroup >
1717
1818 <ItemGroup >
19- <PackageReference Include =" Microsoft.WindowsAppSDK" Version =" 1.0.1 " />
19+ <PackageReference Include =" Microsoft.WindowsAppSDK" Version =" 1.0.3 " />
2020 <PackageReference Include =" Microsoft.Windows.SDK.BuildTools" Version =" 10.0.22000.194" />
2121 <Manifest Include =" $(ApplicationManifest)" />
2222 </ItemGroup >
You can’t perform that action at this time.
0 commit comments