将 xamarin 项目从 windows 迁移到 mac os
Migrate xamarin project from windows to mac os
我已将 xamarin 项目从 windows 10 迁移到 macos cataliina(10.15.5)。
但是当我尝试 运行 xamarin.ios 项目时,我完全陷入了错误。
希望多多指教
/Library/Frameworks/Mono.framework/Versions/6.10.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(5,5):
Error MSB3073: The command " if not exist
"/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/x86"
md
"/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/x86"
xcopy /s /y
"/Users/dmitry/Desktop/APP/APP_code/1.9.8/packages/Microsoft.SqlServer.Compact.4.0.8854.1/NativeBinaries/x86/."
"/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/x86"
if not exist
"/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/amd64"
md
"/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/amd64"
xcopy /s /y
"/Users/dmitry/Desktop/APP/APP_code/1.9.8/packages/Microsoft.SqlServer.Compact.4.0.8854.1/NativeBinaries/amd64/."
"/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/amd64""
exited with code 1. (MSB3073) (Application.Mobile.Client.Portable)
将 Xamarin PCL .Net Framework 更新为 .Net Standard 解决了问题。
我已将 xamarin 项目从 windows 10 迁移到 macos cataliina(10.15.5)。
但是当我尝试 运行 xamarin.ios 项目时,我完全陷入了错误。 希望多多指教
/Library/Frameworks/Mono.framework/Versions/6.10.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(5,5): Error MSB3073: The command " if not exist "/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/x86" md "/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/x86" xcopy /s /y "/Users/dmitry/Desktop/APP/APP_code/1.9.8/packages/Microsoft.SqlServer.Compact.4.0.8854.1/NativeBinaries/x86/." "/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/x86" if not exist "/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/amd64" md "/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/amd64" xcopy /s /y "/Users/dmitry/Desktop/APP/APP_code/1.9.8/packages/Microsoft.SqlServer.Compact.4.0.8854.1/NativeBinaries/amd64/." "/Users/dmitry/Desktop/APP/APP_code/1.9.8/SuppClient/Portable/bin/Debug/amd64"" exited with code 1. (MSB3073) (Application.Mobile.Client.Portable)
将 Xamarin PCL .Net Framework 更新为 .Net Standard 解决了问题。