Мой .csproj:
Код: Выделить всё
net10.0-maccatalyst;net10.0-ios;net10.0-android
$(TargetFrameworks);net10.0-windows10.0.19041.0
Exe
Orbis.Mobile
true
true
enable
Orbis - Solidarity
com.essama.orbis.mobile
...
2.0
14
en-US
true
14.2
14.0
23.0
10.0.17763.0
10.0.17763.0
6.5
6.0
en-US
aab
True
False
iphonesimulator
iphoneos
ios-arm64
false
false
--optimize=-remove-dynamic-registrar --gcc_flags="-lswiftCore -lswiftCompatibility50 -lswiftCompatibility51 -lswiftCompatibility56 -lswiftCompatibilityDynamicReplacements -lswiftCompatibilityConcurrency -ObjC -lc++"
false
-all,Twilio
false
false
false
Apple Development: Stephane Vasilyan (MM5W596GVD)
Platforms\iOS\Entitlements.plist
VS: com.essama.orbis.mobile Development
false
Orbis Distribution Profile 3
Apple Distribution: Stephane Vasilyan (2TV4C4QXPX)
Platforms\iOS\Entitlements.plist
4
true
4
false
Mac Developer
3rd Party Mac Developer Installer
aab
True
False
True
False
aab
True
False
aab
True
aab
True
False
false
Framework
True
True
[*]-ObjC -lc++ -lsqlite3 -lz
StoreKit
Framework
True
True
-ObjC -lc++ -lsqlite3 -lz
StoreKit
& l t ; / I t e m G r o u p & g t ; < b r / > < b r / > & l t ; I t e m G r o u p & g t ; < b r / > & l t ; C o m p i l e U p d a t e = & q u o t ; L a n g u a g e s \ A p p R e s o u r c e s . D e s i g n e r . c s & q u o t ; & g t ; < b r / > & l t ; D e s i g n T i m e & g t ; T r u e & l t ; / D e s i g n T i m e & g t ; < b r / > & l t ; A u t o G e n & g t ; T r u e & l t ; / A u t o G e n & g t ; < b r / > & l t ; D e p e n d e n t U p o n & g t ; A p p R e s o u r c e s . r e s x & l t ; / D e p e n d e n t U p o n & g t ; < b r / > & l t ; / C o m p i l e & g t ; < b r / > & l t ; C o m p i l e U p d a t e = & q u o t ; L a n g u a g e s \ A p p R e s o u r c e s . z h - C N . D e s i g n e r . c s & q u o t ; & g t ; < b r / > & l t ; D e p e n d e n t U p o n & g t ; A p p R e s o u r c e s . z h - C N . r e s x & l t ; / D e p e n d e n t U p o n & g t ; < b r / > & l t ; D e s i g n T i m e & g t ; T r u e & l t ; / D e s i g n T i m e & g t ; < b r / > & l t ; A u t o G e n & g t ; T r u e & l t ; / A u t o G e n & g t ; < b r / > & l t ; / C o m p i l e & g t ; < b r / > & l t ; C o m p i l e U p d a t e = & q u o t ; L a n g u a g e s \ A p p R e s o u r c e s . a r - S A . D e s i g n e r . c s & q u o t ; & g t ; < b r / > & l t ; D e p e n d e n t U p o n & g t ; A p p R e s o u r c e s . a r - S A . r e s x & l t ; / D e p e n d e n t U p o n & g t ; < b r / > & l t ; D e s i g n T i m e & g t ; T r u e & l t ; / D e s i g n T i m e & g t ; < b r / > & l t ; A u t o G e n & g t ; T r u e & l t ; / A u t o G e n & g t ; < b r / > & l t ; / C o m p i l e & g t ; < b r / > & l t ; C o m p i l e U p d a t e = & q u o t ; V i e w s \ J o i n e d A c t i v i t i e P a g e . x a m l . c s & q u o t ; & g t ; < b r / > & l t ; D e p e n d e n t U p o n & g t ; J o i n e d A c t i v i t i e P a g e . x a m l & l t ; / D e p e n d e n t U p o n & g t ; < b r / > & l t ; / C o m p i l e & g t ; < b r / > & l t ; C o m p i l e U p d a t e = & q u o t ; V i e w s \ L o g o u t P a g e . x a m l . c s & q u o t ; & g t ; < b r / > & l t ; D e p e n d e n t U p o n & g t ; L o g o u t P a g e . x a m l & l t ; / D e p e n d e n t U p o n & g t ; < b r / > & l t ; / C o m p i l e & g t ; < b r / > & l t ; C o m p i l e U p d a t e = & q u o t ; V i e w s \ N e w A c t i v i t i e P a g e . x a m l . c s & q u o t ; & g t ; < b r / > & l t ; D e p e n d e n t U p o n & g t ; N e w A c t i v i t i e P a g e . x a m l & l t ; / D e p e n d e n t U p o n & g t ; < b r / > & l t ; / C o m p i l e & g t ; < b r / > & l t ; C o m p i l e U p d a t e = & q u o t ; V i e w s \ U p d a t e C l e a n P a g e . x a m l . c s & q u o t ; & g t ; < b r / > & l t ; D e p e n d e n t U p o n & g t ; U p d a t e C l e a n P a g e . x a m l & l t ; / D e p e n d e n t U p o n & g t ; < b r / > & l t;/Compile>
UpdateCharitiePage.xaml
AppResources.zh-CN.Designer.cs
ResXFileCodeGenerator
AppResources.ar-SA.Designer.cs
ResXFileCodeGenerator
AppResources.fr-FR.Designer.cs
ResXFileCodeGenerator
ResXFileCodeGenerator
AppResources.Designer.cs
ResXFileCodeGenerator
Resources.Designer.cs
MSBuild:Compile
MSBuild:Compile
...
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
...
2.0.0.2
Designer
MSBuild:Compile
PreserveNewest
MSBuild:Compile
MSBuild:Compile
MSBuild:Compile
6.0.2
Ошибка NETSDK1005: файл ресурсов «...project.assets.json» не имеет цели для «net10.0-android»
Ошибка NETSDK1005: файл ресурсов «...project.assets.json» не имеет цели для «net10.0-ios»
Ошибка NETSDK1005: файл ресурсов «...project.assets.json» не имеет цели для «net10.0-maccatalyst»
Ошибка NETSDK1005: файл ресурсов «...project.assets.json» не имеет цели для 'net10.0-windows10.0.19041.0'
Что я пробовал:
- Удалил папки bin и obj вручную
- Выполнил:
Код: Выделить всё
dotnet clean dotnet restore dotnet nuget locals all --clear - Проверенный SDK:
Код: Выделить всё
dotnet --version → 10.0.201 - Обновленные рабочие нагрузки:
(Все рабочие нагрузки установлены и обновлены)
Код: Выделить всё
dotnet workload update dotnet workload install maui
- Это происходит для всех целевых платформ, а не только для одной
- Файл project.assets.json создается, но не включает ни одну из целей net10.0-*
/> - До этого явная ошибка восстановления не появляется