sonar-dotnet icon indicating copy to clipboard operation
sonar-dotnet copied to clipboard

Add more Blazor projects to peach

Open antonioaversa opened this issue 1 year ago • 0 comments

PR on peachee-dotnet: https://github.com/SonarSource/peachee-dotnet/pull/62

Some projects to check and possibly include:

  • ~https://github.com/huntercfreeman/BlazorStudio~ https://github.com/Luthetus/Luthetus.Ide (project moved) (DONE)
  • https://github.com/ThomasBleijendaal/RapidCMS (CUT OUT)
  • https://github.com/Hona/UpBlazor (DONE)
  • https://github.com/syncfusion/blazor-showcase-appointment-planner (CUT OUT)
    • Demo of https://www.syncfusion.com/blazor-components?utm_medium=ads&utm_source=google_ads&utm_[…]MGTaFQUH9c_Z8-Y1Z74MveABZpVjbmrFgfh5HO7OtCl6poaAmuUEALw_wcB](https://www.syncfusion.com/blazor-components?utm_medium=ads&utm_source=google_ads&utm_campaign=google_ads_blazor_tier1&gclid=Cj0KCQiAuqKqBhDxARIsAFZELmJ4ST66aMGTaFQUH9c_Z8-Y1Z74MveABZpVjbmrFgfh5HO7OtCl6poaAmuUEALw_wcB

UPDATE: I have given up on Rapid CMS due to problems with source gen, which are not reproducible locally for me. More specifically: source generation fails both locally and on peach. However, locally the build still succeeds (despite the source gen failure), both from VS and from dotnet build, whereas it consistently fails when running from peach - same build params).

CSC : warning CS8785: Generator 'ModelMakerGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'JsonReaderException' with message 'Unexpected character encountered while parsing value: <. Path '', line 0, position 0.' [C:\Project\examples\RapidCMS.Example.ModelMaker.Models\RapidCMS.Example.ModelMaker.Models.csproj]
C:\Project\examples\RapidCMS.Example.ModelMaker.Models\DesignTimeDbContextFactory.cs(7,75): error CS0246: The type or namespace name 'ModelMakerDbContext' could not be found (are you missing a using directive or an assembly reference?) [C:\Project\examples\RapidCMS.Example.ModelMaker.Models\RapidCMS.Example.ModelMaker.Models.csproj]
C:\Project\examples\RapidCMS.Example.ModelMaker.Models\DesignTimeDbContextFactory.cs(9,16): error CS0246: The type or namespace name 'ModelMakerDbContext' could not be found (are you missing a using directive or an assembly reference?) [C:\Project\examples\RapidCMS.Example.ModelMaker.Models\RapidCMS.Example.ModelMaker.Models.csproj]

Also blazor-showcase-appointment-planner has been cut out of this task, to deliver earlier the remaining two projects and being able to peach validate.

antonioaversa avatar Nov 10 '23 10:11 antonioaversa