If i start a dotnet build with a local dotnet.exe, the build uses the one specified in the path to find the C# or F# compiler.
See original GitHub issueI have installed a global dotnet/cli.
when I use a locally installed dotnet cli to build a dotnetsdk it uses the globally installed dotnetcl compilers instead of the local one.
When I run this command:
c:\microsoft\visualfsharp\Tools\dotnet20\dotnet.exe build /v:normal
I expect it to use the compilers and tools from this location: c:\microsoft\visualfsharp\Tools\dotnet20\
Instead it uses this location: C:\Program Files\dotnet\sdk\2.0.2-vspre-006949
Below is the build log that demonstrates this:
c:\microsoft\visualfsharp\Tools\dotnet20\dotnet.exe build /v:normal
Build started 9/28/2017 11:21:38 AM.
1>Project "c:\temp\csrepro\csrepro.csproj" on node 1 (Restore target(s)).
1>Restore:
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: c:\temp\csrepro\obj\project.assets.json
Restore completed in 26.54 ms for c:\temp\csrepro\csrepro.csproj.
NuGet Config files used:
C:\Users\kevinr.REDMOND\AppData\Roaming\NuGet\NuGet.Config
C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
C:\Users\kevinr.REDMOND\.dotnet\NuGetFallbackFolder
https://api.nuget.org/v3/index.json
1>Done Building Project "c:\temp\csrepro\csrepro.csproj" (Restore target(s)).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.80
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 9/28/2017 11:21:39 AM.
1>Project "c:\temp\csrepro\csrepro.csproj" on node 1 (Build target(s)).
1>GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreCompile:
C:\Program Files\dotnet\sdk\2.0.2-vspre-006949\Roslyn\RunCsc.cmd /noconfig /unsafe- /checked- /nowarn:1701,1702,1705,1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;DEBUG;NETCOREAPP2_0 /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\Microsoft.CSharp.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\Microsoft.VisualBasic.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\Microsoft.Win32.Primitives.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\mscorlib.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\netstandard.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.AppContext.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Buffers.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Collections.Concurrent.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Collections.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Collections.Immutable.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Collections.NonGeneric.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Collections.Specialized.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ComponentModel.Annotations.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ComponentModel.Composition.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ComponentModel.DataAnnotations.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ComponentModel.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ComponentModel.EventBasedAsync.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ComponentModel.Primitives.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ComponentModel.TypeConverter.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Configuration.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Console.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Core.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Data.Common.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Data.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.Contracts.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.Debug.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.DiagnosticSource.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.FileVersionInfo.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.Process.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.StackTrace.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.TextWriterTraceListener.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.Tools.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.TraceSource.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Diagnostics.Tracing.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Drawing.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Drawing.Primitives.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Dynamic.Runtime.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Globalization.Calendars.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Globalization.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Globalization.Extensions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.Compression.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.Compression.FileSystem.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.Compression.ZipFile.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.FileSystem.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.FileSystem.DriveInfo.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.FileSystem.Primitives.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.FileSystem.Watcher.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.IsolatedStorage.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.MemoryMappedFiles.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.Pipes.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.IO.UnmanagedMemoryStream.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Linq.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Linq.Expressions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Linq.Parallel.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Linq.Queryable.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.Http.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.HttpListener.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.Mail.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.NameResolution.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.NetworkInformation.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.Ping.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.Primitives.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.Requests.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.Security.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.ServicePoint.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.Sockets.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.WebClient.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.WebHeaderCollection.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.WebProxy.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.WebSockets.Client.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Net.WebSockets.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Numerics.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Numerics.Vectors.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ObjectModel.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.DispatchProxy.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.Emit.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.Emit.ILGeneration.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.Emit.Lightweight.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.Extensions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.Metadata.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.Primitives.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Reflection.TypeExtensions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Resources.Reader.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Resources.ResourceManager.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Resources.Writer.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.CompilerServices.VisualC.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Extensions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Handles.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.InteropServices.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.InteropServices.RuntimeInformation.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.InteropServices.WindowsRuntime.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Loader.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Numerics.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Serialization.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Serialization.Formatters.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Serialization.Json.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Serialization.Primitives.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Runtime.Serialization.Xml.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.Claims.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.Cryptography.Algorithms.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.Cryptography.Csp.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.Cryptography.Encoding.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.Cryptography.Primitives.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.Cryptography.X509Certificates.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.Principal.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Security.SecureString.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ServiceModel.Web.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ServiceProcess.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Text.Encoding.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Text.Encoding.Extensions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Text.RegularExpressions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.Overlapped.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.Tasks.Dataflow.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.Tasks.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.Tasks.Extensions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.Tasks.Parallel.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.Thread.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.ThreadPool.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Threading.Timer.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Transactions.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Transactions.Local.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.ValueTuple.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Web.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Web.HttpUtility.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Windows.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.Linq.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.ReaderWriter.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.Serialization.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.XDocument.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.XmlDocument.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.XmlSerializer.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.XPath.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\System.Xml.XPath.XDocument.dll /reference:C:\Users\kevinr.REDMOND\.nuget\packages\microsoft.netcore.app\2.0.0\ref\netcoreapp2.0\WindowsBase.dll /debug+ /debug:portable /filealign:512 /nologo /optimize- /out:obj\Debug\netcoreapp2.0\csrepro.dll /target:exe /warnaserror- /utf8output /deterministic+ Program.cs "C:\Users\kevinr.REDMOND\AppData\Local\Temp\.NETCoreApp,Version=v2.0.AssemblyAttributes.cs" obj\Debug\netcoreapp2.0\csrepro.AssemblyInfo.cs /warnaserror+:NU1605
CopyFilesToOutputDirectory:
Copying file from "obj\Debug\netcoreapp2.0\csrepro.dll" to "bin\Debug\netcoreapp2.0\csrepro.dll".
csrepro -> c:\temp\csrepro\bin\Debug\netcoreapp2.0\csrepro.dll
Copying file from "obj\Debug\netcoreapp2.0\csrepro.pdb" to "bin\Debug\netcoreapp2.0\csrepro.pdb".
1>Done Building Project "c:\temp\csrepro\csrepro.csproj" (Build target(s)).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:03.43
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
dotnet build command - .NET CLI
The dotnet build command builds a project and all of its dependencies.
Read more >dotnet run command - .NET CLI
The dotnet run command provides a convenient option to run your application from the source code with one command. It's useful for fast ......
Read more >dotnet command - .NET CLI
The dotnet command has two functions: It provides commands for working with .NET projects. For example, dotnet build builds a project.
Read more >Build .NET Core console application to output an EXE
You can run it using dotnet ConsoleApp2.dll . If you want to generate an EXE file, you have to generate a self-contained application....
Read more >Deploying an ASP.NET core application with Elastic Beanstalk
This tutorial uses the .NET Core SDK to generate a basic .NET Core application, run it locally, and build a deployable package.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To verify it isn’t just using the Roslyn from
%PROGRAMFILES%
, but instead it is loading the whole .NET Core SDK from%PROGRAMFILES%
, you can typec:\microsoft\visualfsharp\Tools\dotnet20\dotnet.exe --info
And the output will tell you the version of the SDK and where it is running from.
By default, if you don’t explicitly specify an sdk version in a
global.json
, the SDK used will be the highest version installed across:dotnet.exe
being executed%PROGRAMFILES%\dotnet\sdk
folderYou can opt out of this behavior by setting
$env:DOTNET_MULTILEVEL_LOOKUP = '0'
There is a lot of literature on this behavior:
https://github.com/dotnet/cli/issues/5896 https://github.com/dotnet/core-setup/issues/1664 https://github.com/dotnet/core-setup/pull/1568