Skip to content

Commit

Permalink
Updated the package to target Umbraco 13 😎
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Feb 9, 2024
1 parent f8d5fbb commit 744a710
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion debug.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
dotnet build src/Limbo.Umbraco.ModelsBuilder --configuration Debug /t:rebuild /t:pack -p:PackageOutputPath=c:\nuget\Umbraco10
dotnet build src/Limbo.Umbraco.ModelsBuilder --configuration Debug /t:rebuild /t:pack -p:PackageOutputPath=c:\nuget\Umbraco13
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class FileSummary {
private FileSummary(string path, CompilationUnitSyntax root) {
Path = path;
Name = System.IO.Path.GetFileName(path);
Usings = root.Usings.Select(x => x.Name.ToString()).ToList();
Usings = (from x in root.Usings where x.Name != null select x.Name!.ToString()).ToList();
Namespaces = new List<NamespaceSummary>();
Classes = new List<ClassSummary>();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<StaticWebAssetBasePath>App_Plugins/$(AssemblyName)</StaticWebAssetBasePath>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<VersionPrefix>2.0.5</VersionPrefix>
<VersionPrefix>13.0.0-alpha000</VersionPrefix>
<VersionSuffix Condition="'$(Configuration)'=='Debug'">$([System.DateTime]::UtcNow.ToString(`yyyyMMddHHmm`))</VersionSuffix>
<Company>Limbo</Company>
<Authors>Anders Bjerner</Authors>
Expand All @@ -31,9 +31,9 @@
<!-- Include NuGet dependencies -->
<ItemGroup>
<PackageReference Include="Skybrud.Essentials" Version="1.1.56" />
<PackageReference Include="Umbraco.Cms.Core" Version="[10.0.0,12.999)" />
<PackageReference Include="Umbraco.Cms.Web.Website" Version="[10.0.0,12.999)" />
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="[10.0.0,12.999)" />
<PackageReference Include="Umbraco.Cms.Core" Version="[13.0.0,13.999)" />
<PackageReference Include="Umbraco.Cms.Web.Website" Version="[13.0.0,13.999)" />
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="[13.0.0,13.999)" />
</ItemGroup>

<!-- Backoffice assets -->
Expand Down

0 comments on commit 744a710

Please sign in to comment.