Skip to content

Commit 5f54727

Browse files
Merge pull request #1989 from syncfusion-content/Update_UG_for_Weekly_Nuget
Reverted the UG changes
2 parents 05f9488 + 2d6cc79 commit 5f54727

File tree

5 files changed

+27
-18
lines changed

5 files changed

+27
-18
lines changed
-31.9 KB
Binary file not shown.

wpf/Themes/Theme-Studio.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -274,21 +274,40 @@ Provide the theme name, in which the theme should be exported, and select the re
274274

275275
![Add Theme as Project for Theme Export](ThemeStudio_images/ThemeStudio-Themes-Folder.png)
276276

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}\
278278

279-
When opening the exported theme project, the `.NET Framework 4.6.2` will be selected by default.
279+
### Generating theme assembly
280280

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.
282282

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**
284284

285-
![Add Reference Path for Exported Theme Projects](ThemeStudio_images/Reference_Path.png)
285+
The following exported theme project should be attached to corresponding target frameworks used in the WPF application.
286286

287-
### Generating theme assembly
287+
<table>
288+
<tr>
289+
<th>
290+
Target Framework</th><th>
291+
Solution Project</th></tr>
292+
<tr>
293+
<td>
294+
.Net 9.0</td><td>
295+
Syncfusion.Themes.Windows11LightYellow.WPF_NET90.csproj </td>
296+
</tr>
297+
<tr>
298+
<td>
299+
.Net 8.0</td><td>
300+
Syncfusion.Themes.Windows11LightYellow.WPF_NET80.csproj </td>
301+
</tr>
302+
<tr>
303+
<td>
304+
.Net Framework 4.6.2</td><td>
305+
Syncfusion.Themes.Windows11LightYellow.WPF_2017.csproj </td></tr>
306+
</table>
288307

289-
Let us see the procedure for ensuring theme assembly generation for exported theme projects.
308+
**Step 2**
290309

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.
292311

293312
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.
294313

-61 KB
Binary file not shown.
11.5 KB
Loading

wpf/samples.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ To explore any individual showcase sample from the `Syncfusion<sup>&reg;</sup> W
4545

4646
![Exploring Syncfusion WPF Showcase Samples](Guidetorunthesamples_images/Exploring-syncfusion-wpf-Showcase-sample.PNG)
4747

48-
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.
53-
54-
![WPF TargetFrameworks](Guidetorunthesamples_images/TargetFrameworks-wpf.jpg)
55-
56-
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-
5848
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).
5949

6050
## Online Samples

0 commit comments

Comments
 (0)