0
私はVS2015でF#を使用していましたが、MacOS X 10.11.3上で動作する初めてのiMACを購入し、Xamarin 6.0(アルファ放出)。私はいくつかの問題を私はVS2015の下で大丈夫ですファイルをコンパイルしたいときencouteringです。コンパイル時にF#for Xamarin MacOS X:TargetFrameworkVersionv4.5.2はこのツールセットでサポートされていません(ToolsVersion4.0)
私が持っている警告が
TargetFrameworkVersionv4.5.2 not supported by this toolset (ToolsVersion4.0)
これは、ファイルMicrosoft.Common.Targets
..../Library/Frameworks/Mono.Frameworks/Version/4.4.0/Lib/Mono/4.5/Microsoft.Common.Targets
のためのものであり、実行時に、私はエラー
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, System.String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) [0x00000] in /private/tmp/source-mono-4.4.0/bockbuild-mono-4.4.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.IO/FileStream.cs:152
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) [0x00065] in /private/tmp/source-mono-4.4.0/bockbuild-mono-4.4.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/io/streamreader.cs:240
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in /private/tmp/source-mono-4.4.0/bockbuild-mono-4.4.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/io/streamreader.cs:221
at System.IO.StreamReader..ctor (System.String path, Boolean detectEncodingFromByteOrderMarks) [0x00000] in /private/tmp/source-mono-4.4.0/bockbuild-mono-4.4.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/io/streamreader.cs:202
at System.IO.StreamReader..ctor (System.String path) [0x00000] in /private/tmp/source-mono-4.4.0/bockbuild-mono-4.4.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/io/streamreader.cs:182
at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
at System.IO.File.OpenText (System.String path) [0x00000] in /private/tmp/source-mono-4.4.0/bockbuild-mono-4.4.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.IO/File.cs:346
at System.IO.File.ReadAllLines (System.String path) [0x00000] in /private/tmp/source-mono-4.4.0/bockbuild-mono-4.4.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/corlib/System.IO/File.cs:515
at <StartupCode$Algo_Stanford>[email protected]() [0x0000d] in /Users/francois-guillaume.rideau/Documents/Learning-Fsharp/Algo Stanford/Algo Stanford/Knapsack_big.fs:20
を得たものべき私がやります ?
おかげ
この設定はどこで変更できますか? –
@FaguiCurtain Macでプロジェクトオプションを見つけられない場合は、VSで最初に変更して、もう一度やり直すことをおすすめします。 –
プロジェクトオプションにあり、ビルド - >一般の下にあります – jasoni