Empty report

WebMAP for Silverlight generates an empty report

If there are errors during the analysis, then the report may not be accurate, or it may turn out completely empty. The cause for errors can vary wildly. You'll will need to check the conversion log in order to have a better idea of the possible root cause.

In the "Analysis Complete!" screen, click on "View log folder" button, and open the ConversionLog file.

A log file can be intimidating, but you don't need to understand all of it, just to scan for some clues. For example, take a look at the beginning of this ConversionLog:

[8/11/2022, 12:12:11.3562108]  Information: Found BuildTools: Visual Studio Build Tools 2017 (15.9.28307.2019)
[8/11/2022, 12:12:11.3622782]  Information: Selected BuildTools: Visual Studio Build Tools 2017 (15.9.28307.2019)
[8/11/2022, 12:12:41.2770383]  Information: EFProcess 637958167610279865 started
[8/11/2022, 12:12:53.6639851]  Information: MSBuild message C:\Users\John Doe\Desktop\Silver TESTS\SilverBuildErrors02\SilverBuildErrors02\SilverBuildErrors02.csproj => 'Nothing to do. None of the projects specified contain packages to restore.'
[8/11/2022, 12:12:53.6931962]  Information: MSBuild message C:\Users\John Doe\Desktop\Silver TESTS\SilverBuildErrors02\SilverBuildErrors02.Web\SilverBuildErrors02.Web.csproj => 'Nothing to do. None of the projects specified contain packages to restore.'
[8/11/2022, 12:12:58.9539293]  Critical: Error executing task PreprocessProjectElementsTask:
  The backtracking was cut at index 88. Position 69(-19) can't be restored.
      Method = LoadItem
      ItemName = C:\Users\John Doe\Desktop\Silver TESTS\SilverBuildErrors02\SilverBuildErrors02\MainPage.xaml.cs
      ItemId = UniqueId[0]
      Operation = Loading

The first few lines are just information. Then we see a Critical error, and the next line contains "The backtracking was cut at...". This is indicative that the input source code has syntax errors on the code. WebMAP for Silverlight only works with code that compiles correctly.

These are some errors you can find on ConversionLog, and the possible cause for them:

ConversionLog Error
Cause

Critical: Error executing task... Microsoft.Silverlight.CSharp.targets" was not found.

Silverlight 5 SDK is not installed.

Critical: Error executing task...

Microsoft.WebApplication.targets" was not found.

"Web development build tools" workload is not installed. Please follow instructions here.

Information: Selected BuildTools: No BuildTools was found on this machine.

Error: Error executing the conversion tasks. Please check the details Unable to load one or more of the requested types.

VS Build Tools 2017 is not installed. Please follow instructions here.

Critical: MSBuild error MSB4057 (The target "Restore" does not exist in the project.)...

"Web development build tools" workload is not installed. Please follow instructions here.

Critical: Error executing task... The backtracking was cut at index...

There are syntax errors on the input source code. Please verify that input source code compiles successfully.

Sometimes there are no errors on the ConversionLog, but the report is still empty. If you see no errors on the ConversionLog, but this warning is present:

It means that no C# Silverlight projects were found on the input solution. Visual Basic projects and Web projects are ignored by WebMAP for Silverlight, so if your input solution only contains Visual Basic and Web Silverlight projects, the report will come out empty.

Last updated

Was this helpful?