Skip to content

Commit 3f8b450

Browse files
update to internal commit df189ff2
1 parent 956521b commit 3f8b450

File tree

2 files changed

+16
-28
lines changed

2 files changed

+16
-28
lines changed

programming/maui/faq/common-environment-issues.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,19 @@ Remove iOS platform from you project via the project file.
3737
Adding the library via project file can ignore the 260 character limitation but you need some additional steps to complete the installation.
3838

3939
```xml
40-
<ItemGroup>
40+
<Project Sdk="Microsoft.NET.Sdk">
4141
...
42-
<PackageReference Include="Dynamsoft.BarcodeReaderBundle.Maui" Version="10.2.1101" />
43-
</ItemGroup>
42+
<ItemGroup>
43+
...
44+
<PackageReference Include="Dynamsoft.BarcodeReaderBundle.Maui" Version="10.2.1101" />
45+
</ItemGroup>
46+
</Project>
4447
```
4548

4649
Open the **Package Manager Console** and run the following commands:
4750

48-
If you are using .Net 8:
49-
50-
```bash
51-
dotnet build --framework net8.0-android
52-
dotnet build --framework net8.0-ios
53-
```
54-
55-
If you are using .Net 7:
56-
5751
```bash
58-
dotnet build --framework net7.0-android
59-
dotnet build --framework net7.0-ios
52+
dotnet build
6053
```
6154

6255
## error NU1202: Package Dynamsoft.BarcodeReaderBundle.Maui 10.2.1101 is not compatible with net8.0-windows10.0.19041

programming/maui/user-guide.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,32 +66,27 @@ In the **NuGet Package Manager>Manage Packages for Solution** of your project, s
6666

6767
### Visual Studio for Windows
6868

69-
Windows systems have a limitation of 260 characters in the path. As a result, the package can't be added via the **NuGet Package Manager**. You have to Add the library via the project file and do some additional steps to complete the installation.
69+
You have to Add the library via the project file and do some additional steps to complete the installation.
7070

7171
1. Add the library in the project file:
7272

7373
```xml
74-
<ItemGroup>
74+
<Project Sdk="Microsoft.NET.Sdk">
7575
...
76-
<PackageReference Include="Dynamsoft.BarcodeReaderBundle.Maui" Version="10.2.1101" />
77-
</ItemGroup>
76+
<ItemGroup>
77+
...
78+
<PackageReference Include="Dynamsoft.BarcodeReaderBundle.Maui" Version="10.2.1101" />
79+
</ItemGroup>
80+
</Project>
7881
```
7982

8083
2. Open the **Package Manager Console** and run the following commands:
8184

82-
If you are using .Net 8:
83-
8485
```bash
85-
dotnet build --framework net8.0-android
86-
dotnet build --framework net8.0-ios
86+
dotnet build
8787
```
8888

89-
If you are using .Net 7:
90-
91-
```bash
92-
dotnet build --framework net7.0-android
93-
dotnet build --framework net7.0-ios
94-
```
89+
> Note: Windows system have a limitation of 260 characters in the path. If you don't use console to install the package, you will receive error "Could not find a part of the path 'C:\Users\admin\.nuget\packages\dynamsoft.imageprocessing.ios\2.2.300\lib\net7.0-ios16.1\Dynamsoft.ImageProcessing.iOS.resources\DynamsoftImageProcessing.xcframework\ios-arm64\dSYMs\DynamsoftImageProcessing.framework.dSYM\Contents\Resources\DWARF\DynamsoftImageProcessing'"
9590

9691
## Build Your Barcode Scanner App
9792

0 commit comments

Comments
 (0)