You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wpf/Themes/Theme-Studio.md
+27-8Lines changed: 27 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -274,21 +274,40 @@ Provide the theme name, in which the theme should be exported, and select the re
274
274
275
275

276
276
277
-
Until version 31.2.2, while exporting themes from Theme Studio, separate projects were created for each framework. Starting with version 31.2.9, themes are exported as a single SDK-style project that supports multiple frameworks: `.NET Framework 4.6.2`, `.NET 8.0`, `.NET 9.0`, and `.NET 10`.
277
+
N> When running the exported project in .NET 8.0 or .NET 9.0 environments, you may encounter reference issues due to missing or incompatible assemblies. To resolve this, manually add references to the required assemblies from the appropriate framework installation path or NuGet packages. Refer path location: C:\Program Files (x86)\Syncfusion\Essential Studio\WPF\ {product version}\precompiledassemblies\ {target framework}\
278
278
279
-
When opening the exported theme project, the `.NET Framework 4.6.2` will be selected by default.
279
+
### Generating theme assembly
280
280
281
-
If any of the supported frameworks (`.NET Framework 4.6.2`, `.NET 8.0`, `.NET 9.0`, or `.NET 10`) are not installed on your machine, you can remove the unavailable framework from the `<TargetFrameworks>` tag in the `MultiTargeting.targets` file located at: [ D:\Windows11Light\targets\MultiTargeting.targets ].This will resolve any compilation issues caused by missing frameworks.
281
+
Let us see the step-by-step procedure for ensuring theme assembly generation for exported theme projects.
282
282
283
-
When running the exported single SDK-style theme project, you may encounter reference issues due to missing or incompatible assemblies across the targeted frameworks (4.6.2, .NET 8.0, .NET 9.0, and .NET 10). To resolve this, update the product version in the path specified in the `<SyncfusionInstallLocation>` tag of the exported .csproj theme project to match the installed product version, as shown in the image below. Reference path: C:\Program Files (x86)\Syncfusion\Essential Studio\WPF\{product version}
283
+
**Step 1**
284
284
285
-

285
+
The following exported theme project should be attached to corresponding target frameworks used in the WPF application.
Let us see the procedure for ensuring theme assembly generation for exported theme projects.
308
+
**Step 2**
290
309
291
-
Rebuild the exported single SDK-Style theme project in `Release` mode to generate the theme assembly.
310
+
Rebuild the exported theme project in `Release` mode to generate the theme assembly.
292
311
293
312
The export theme project has default `ThemeStudio.snk` key pair. If it is not required, use the already created private key pair by referring to the export theme project inside the application properties or [Create a new key pair](https://docs.microsoft.com/en-us/dotnet/standard/assembly/create-public-private-key-pair) using Visual Studio if the private key pair was not created externally.
All the sample browser projects are configured as single SDK-style projects that support multiple frameworks: `.NET Framework 4.6.2`, `.NET 8.0`, `.NET 9.0`, and `.NET 10`.
49
-
50
-
When you click the `Explore Demo Source` button, the `net10.0-windows` entry will be automatically removed from the targets file if .NET 10 is not installed on your machine, preventing any compilation errors.
51
-
52
-
To use the `.NET 10 framework`, install the required SDK and add `net10.0-windows` to the `<TargetFrameworks>` tag in the `MultiTargeting.targets` file located at the Samples Location: D:\WPF31.2.9\WPF\31.2.9\SampleBrowser\targets\MultiTargeting.targets as shown in the image below.
If you don’t have other frameworks installed and encounter compilation issues as a result, you can remove the unsupported framework from the `<TargetFrameworks>` tag in the same file and retain only the available ones to resolve the issue.
57
-
58
48
N> To run the individual control demos, please refer the instruction from [Running Individual Control Demos](https://github.com/syncfusion/wpf-demos#running-individual-control-demos).
0 commit comments