VisualStudioformac从入门到放弃1

VisualStudioformac从入门到放弃1

2023年6月27日发(作者:)

VisualStudioformac从⼊门到放弃1MAC

第⼆步:安装软件过程出现It was not possible to complete an automatic installation. This might be due to a problem with your network, proxy servers or an unsolvableinstallation conflict. At this point, you can continue the installation by manually downloading and installing the independent pieces. The listbelow shows each component that you need to FrameworkDownload the to any directory on your disk, double-click it and follow the instructions on screen. Please accept all the defaults during theinstallation, including the target SDKMac OS X uses its own version of Java and in order to install it you need to and type the following command:javac -versionAfter typing ityou should see a Mac OS X system popup which will guide you to install the Java d SDKDownload the , open the downloaded archive and copy the contents of the folder found at its root directory (most probably named android-sdk-macosx) to the /Users/cong/Library/Developer/Xamarin/android-sdk-macosx directory. in order to start the Android SDK Manager application. In the GUI make sure the following components are installed or selected forinstallation:Android SDK ToolsAndroid SDK Platform-toolsAndroid SDK Build-toolsAndroid API 15Android API 19Android API 21

Once all the required components are selected (you can select others as well, if you wish) start the you cannotsee /Users/cong/Library/Developer/Xamarin/android-sdk-macosx in Finder please to reveal the directory in ad the , open the downloaded archive and copy the contents of its root directory (most probably named android-ndk-r10e) tothe /Users/cong/Library/Developer/Xamarin/android-ndk the Android SDK installation is finished you might want to start the and create as many emulator images as you might need for yourdevelopment. This step can be performed at any time, on an as-needed Studio for Mac PreviewDownload the to any directory on your disk, double-click it and then drag and drop the Visual Studio for Mac Preview icon to theApplications dDownload the to any directory on your disk, double-click it and follow the instructions on screen. Please accept all the defaults during theinstallation, including the target nload the to any directory on your disk, double-click it and follow the instructions on screen. Please accept all the defaults during theinstallation, including the target nload the to any directory on your disk, double-click it and follow the instructions on screen. Please accept all the defaults during theinstallation, including the target drive.(这⾥没有⽤到移动端只需要下载: 这2个包就可以,其他都是开发跨平台包)三、激动⼈性时刻到来,打开vs,界⾯⾮常简洁,去除vs很多冗余功能,感觉舒服很多。。。。

四、新建⼀个mvc项⽬,会提⽰你要在线安装⽀持mvc类库,是从nuget下载dll??五 运⾏ 微软66666

Windows如果将上⾯代码放到windows系统,结果会怎么样呢?环境:win10+vs2015 编译正常,运⾏也正常

上⾯那些只是⼩试⽜⼑,下⾯是见证奇迹时候,直接把之前项⽬【不连接数据库】丢到mac vs运⾏居然报错,彻底把我惊呆了Operation is not supported on this platform. 这个操作不⽀持此平台。。。这个是预览版上bug?对于出现问题,可以⽤以下⼏种⽅案1:重启vs,重启电脑,卸载项⽬重新加载(成功⼀次,后来不知道为啥不⾏。。。)2:so上⾯有⼈说是debug模式问题,我切换编译还是报错。(失败)3:google⼀下说多了pdb⽂件,我清理⼀下整个解决⽅案,把所有bin⽬录删除,编译还是报错。。。(失败)4:切换⽬标框架 (成功⼀次,之后失败就没法成功过了)

会不会是Mono4.5没有全部移植过来类库?于是这个设置⼀下4.5.1 4.5.2,我在windows是net4.5,编译⼀下,依然报错。 我切换4.6.1⼀下编译 成功了。。。。(然⽽我⾼兴太早了,准备想重现这个问题操作,备份⼀下csproj⽂件,还原之前旧版本csproj,然后⼀路报错下去解决不了,把正确csproj替换也不⾏)5:mac上新建⼀个mvc项⽬,把代码拷贝过去(如果所有⽅法试过都不⾏,此⽅案是百试百灵,强烈推荐)6:我旧项⽬对⽐⼀下5新建项⽬csproj,改了⼀摸⼀样也不⾏,fk(失败,不知道为啥)

本⼈在项⽬采⽤第5个⽅案,Sorry,时间有限,暂时分析不出报错原因具体在哪⾥...

最后想说:vs在mac操作加⼊【未包括项⽬⽂件】很蛋疼。。

2 vs mac-⼯具体验吐槽3 vs mac-加⼊数据库访问项⽬4 vs mac-ios开发5 vs mac-安卓开发6 vs mac netcore体验

发布者:admin,转转请注明出处:http://www.yc00.com/news/1687842017a49990.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信