diff --git a/AspNetCore.SassCompiler/SassCompilerHostedService.cs b/AspNetCore.SassCompiler/SassCompilerHostedService.cs index 4f434bf..fe20bca 100644 --- a/AspNetCore.SassCompiler/SassCompilerHostedService.cs +++ b/AspNetCore.SassCompiler/SassCompilerHostedService.cs @@ -218,6 +218,7 @@ private static (string ExePath, string SnapshotPath) GetExeAndSnapshotPath() return RuntimeInformation.OSArchitecture switch { Architecture.X64 => ("runtimes\\win-x64\\src\\dart.exe", "runtimes\\win-x64\\src\\sass.snapshot"), + Architecture.Arm64 => ("runtimes\\win-x64\\src\\dart.exe", "runtimes\\win-x64\\src\\sass.snapshot"), _ => (null, null), }; } diff --git a/AspNetCore.SassCompiler/build/AspNetCore.SassCompiler.props b/AspNetCore.SassCompiler/build/AspNetCore.SassCompiler.props index d73ba1d..1ca773c 100644 --- a/AspNetCore.SassCompiler/build/AspNetCore.SassCompiler.props +++ b/AspNetCore.SassCompiler/build/AspNetCore.SassCompiler.props @@ -10,6 +10,9 @@ + + $(MSBuildThisFileDirectory)..\runtimes\win-x64\src\dart.exe + $(MSBuildThisFileDirectory)..\runtimes\win-x64\src\sass.snapshot $(MSBuildThisFileDirectory)..\runtimes\linux-arm64\sass $(MSBuildThisFileDirectory)..\runtimes\osx-arm64\src\dart