Posts

Showing posts from November, 2024
Image
This article will summarize the development of Add-Ins for Outlook.  Use the basic template using Yeoman and Yeoman Generator. Development environment OS: Windows 11 .Net version: 8.0 Development tool: Visual Studio Code Node.js version: 18.20.4 Yeoman version: 5.0.0 Development language: React, Typescript
Image
This article will summarize the development of Add-Ins for Outlook.  Use the basic template using Yeoman and Yeoman Generator. Development environment OS: Windows 11 .Net version: 8.0 Development tool: Visual Studio Code Node.js version: 18.20.4 Yeoman version: 5.0.0 Development language: React, Typescript

[NETSDK1136] the target platform must be set to windows

  ■ Issue How to resolve the error message below when building by creating a project based on .Net 8.0 and adding the <UseWindowsForms>true</UseWindowsForms> property to the project file (.csproj). error NETSDK1136: The target platform must be set to Windows (usually by including '-windows' in the TargetFramework property) when using Windows Forms or WPF, or referencing projects or packages that do so. ■ Solution Among the properties of the project file (.csproj) < TargetFramework > net8.0 </ TargetFramework > Add -windows to TargetFramework property < TargetFramework > net8.0-windows </ TargetFramework >

How to delete temporary files in Windows 11

Image
 Let's summarize how to delete temporary files to increase Windows storage space. 1. Delete temporary files 1) Press the Windows Start button and enter ‘delete temporary files’ in the search bar. 2) Select 'System > Storage > Temporary Files' 3) Delete temporary files 2. Delete temp files manually 1) Press Win + R and type %temp% 2) Delete all items in the Windows temporary folder. (If it says that items currently in use cannot be removed, just ignore them.)

Popular posts from this blog

Setting up Windows Powershell with Oh-My-Posh

[NETSDK1136] the target platform must be set to windows