{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4541","repository_url":"https://api.github.com/repos/Microsoft/visualfsharp","labels_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4541/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4541/comments","events_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4541/events","html_url":"https://github.com/Microsoft/visualfsharp/issues/4541","id":305703027,"number":4541,"title":"Warnings during build-from-VisualStudio","user":{"login":"dsyme","id":7204669,"avatar_url":"https://avatars1.githubusercontent.com/u/7204669?v=4","gravatar_id":"","url":"https://api.github.com/users/dsyme","html_url":"https://github.com/dsyme","followers_url":"https://api.github.com/users/dsyme/followers","following_url":"https://api.github.com/users/dsyme/following{/other_user}","gists_url":"https://api.github.com/users/dsyme/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyme/subscriptions","organizations_url":"https://api.github.com/users/dsyme/orgs","repos_url":"https://api.github.com/users/dsyme/repos","events_url":"https://api.github.com/users/dsyme/events{/privacy}","received_events_url":"https://api.github.com/users/dsyme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-15T20:12:36Z","updated_at":"2018-03-15T23:39:13Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We get lots of warnings and errors from a build of VisualFSharp.sln from Visual Studio.\r\n\r\n@brettfo Would be great to get this clean.  Some are due to multi-proc build.\r\n\r\n\r\nErrors:\r\n```\r\n1>FSharp.UIResources -> C:\\GitHub\\dsyme\\visualfsharp\\vsintegration\\src\\FSharp.UIResources\\bin\\Debug\\FSharp.UIResources.dll\r\n1>The system cannot find the path specified.\r\n1>C:\\GitHub\\dsyme\\visualfsharp\\build\\targets\\ConvertPortablePdbs.targets(17,5): error MSB3073: The command \"\"C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.DiaSymReader.Pdb2Pdb\\1.1.0-roslyn-62714-01\\tools\\Pdb2Pdb.exe\" \"C:\\GitHub\\dsyme\\visualfsharp\\vsintegration\\src\\FSharp.UIResources\\bin\\Debug\\FSharp.UIResources.dll\" /out \"C:\\GitHub\\dsyme\\visualfsharp\\Debug\\net40\\bin\\ConvertedPdbs\\FSharp.UIResources.pdb\" /verbose /srcsvrvar SRC_INDEX=public\" exited with code 3.\r\n1>Done building project \"FSharp.UIResources.csproj\" -- FAILED.\r\n```\r\nand\r\n```\r\n2>C:\\GitHub\\dsyme\\visualfsharp\\FSharp.Directory.Build.targets(32,5): error MSB3027: Could not copy \"C:\\GitHub\\dsyme\\visualfsharp\\src\\..\\Debug\\net40\\bin\\UnitTests\\MockTypeProviders\\FSharp.Core.dll\" to \"C:\\GitHub\\dsyme\\visualfsharp\\Debug\\net40\\bin\\FSharp.Core.dll\". Exceeded retry count of 10. Failed. \r\n2>C:\\GitHub\\dsyme\\visualfsharp\\FSharp.Directory.Build.targets(32,5): error MSB3021: Unable to copy file \"C:\\GitHub\\dsyme\\visualfsharp\\src\\..\\Debug\\net40\\bin\\UnitTests\\MockTypeProviders\\FSharp.Core.dll\" to \"C:\\GitHub\\dsyme\\visualfsharp\\Debug\\net40\\bin\\FSharp.Core.dll\". The requested operation cannot be performed on a file with a user-mapped section open.\r\n2>C:\\GitHub\\dsyme\\visualfsharp\\FSharp.Directory.Build.targets(32,5): error MSB3021: \r\n```\r\nand\r\n```\r\n21>------ Build started: Project: FSharp.Compiler.UnitTests, Configuration: Debug Any CPU ------\r\n21>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3277: Found conflicts between different versions of \"System.ValueTuple\" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.\r\n```\r\nand\r\n```\r\n15>------ Build started: Project: FSharp.VS.FSI, Configuration: Debug Any CPU ------\r\n15>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(4289,5): warning MSB3026: Could not copy \"C:\\GitHub\\dsyme\\visualfsharp\\Debug\\net40\\bin\\FSharp.Compiler.Private.pdb\" to \"bin\\Debug\\FSharp.Compiler.Private.pdb\". Beginning retry 1 in 1000ms. The process cannot access the file 'C:\\GitHub\\dsyme\\visualfsharp\\Debug\\net40\\bin\\FSharp.Compiler.Private.pdb' because it is being used by another process.\r\n```\r\nand\r\n```\r\n15>FSharp.VS.FSI -> C:\\GitHub\\dsyme\\visualfsharp\\vsintegration\\src\\FSharp.VS.FSI\\bin\\Debug\\FSharp.VS.FSI.dll\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error : CreatePkgDef : error : FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.Shell.Framework, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error :    at Microsoft.VisualStudio.Tools.CreatePkgDef.DoCreatePkgDef(InputArguments inputArguments)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error :    at Microsoft.VisualStudio.Tools.CreatePkgDef.Main(String[] arguments)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error : FileLoadException: Could not load file or assembly 'FSharp.Compiler.Private.dll' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error :    at System.Reflection.AssemblyName.nGetFileInformation(String s)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error :    at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error :    at Microsoft.VisualStudio.Tools.CreatePkgDef.<AssemblyResolveHandler>g__LoadAssemblyIfItMatchesArgs7_0(String pathToAssembly, <>c__DisplayClass7_0& )\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error :    at Microsoft.VisualStudio.Tools.CreatePkgDef.AssemblyResolveHandler(Object sender, ResolveEventArgs args)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error :    at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error : FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)\r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error : \r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error : \r\n15>C:\\Users\\dsyme\\.nuget\\packages\\Microsoft.VSSDK.BuildTools\\15.1.192\\tools\\vssdk\\Microsoft.VsSDK.targets(979,5): error :\r\n15>Done building project \"FSharp.VS.FSI.fsproj\" -- FAILED.\r\n```\r\nand\r\n```\r\n30>C:\\Users\\dsyme\\.nuget\\packages\\xlifftasks\\0.2.0-beta-000081\\build\\XliffTasks.targets(122,5): error : Two or more source files to be translated in the same project are named FSData.resx. Give them unique names or set unique XlfTranslatedFilename metadata.\r\n```\r\n\r\nWarnings:\r\n\r\n```\r\n1>AdvancedOptionsControl.xaml.cs(23,16,23,38): warning CS1591: Missing XML comment for publicly visible type or member 'AdvancedOptionsControl.AdvancedOptionsControl()'\r\n1>IntegerRangeValidationRule.cs(8,18,8,44): warning CS1591: Missing XML comment for publicly visible type or member 'IntegerRangeValidationRule'\r\n1>IntegerRangeValidationRule.cs(10,16,10,42): warning CS1591: Missing XML comment for publicly visible type or member 'IntegerRangeValidationRule.IntegerRangeValidationRule()'\r\n1>IntegerRangeValidationRule.cs(15,20,15,23): warning CS1591: Missing XML comment for publicly visible type or member 'IntegerRangeValidationRule.Min'\r\n1>IntegerRangeValidationRule.cs(17,20,17,23): warning CS1591: Missing XML comment for publicly visible type or member 'IntegerRangeValidationRule.Max'\r\n1>IntegerRangeValidationRule.cs(19,42,19,50): warning CS1591: Missing XML comment for publicly visible type or member 'IntegerRangeValidationRule.Validate(object, CultureInfo)'\r\n```\r\nand\r\n```\r\n26>------ Build started: Project: FSharp.LanguageService, Configuration: Debug Any CPU ------\r\n26>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3277: Found conflicts between different versions of \"Microsoft.Build\" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.\r\n26>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3277: Found conflicts between different versions of \"Microsoft.DiaSymReader\" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.\r\n26>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3277: Found conflicts between different versions of \"Microsoft.Build.Tasks.Core\" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.\r\n26>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3277: Found conflicts between different versions of \"Microsoft.Build.Framework\" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.\r\n26>C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\Microsoft.Common.CurrentVersion.targets(2052,5): warning MSB3277: Found conflicts between different versions of \"Microsoft.VisualStudio.Threading\" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/comments/373556743","html_url":"https://github.com/Microsoft/visualfsharp/issues/4541#issuecomment-373556743","issue_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/4541","id":373556743,"user":{"login":"dsyme","id":7204669,"avatar_url":"https://avatars1.githubusercontent.com/u/7204669?v=4","gravatar_id":"","url":"https://api.github.com/users/dsyme","html_url":"https://github.com/dsyme","followers_url":"https://api.github.com/users/dsyme/followers","following_url":"https://api.github.com/users/dsyme/following{/other_user}","gists_url":"https://api.github.com/users/dsyme/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyme/subscriptions","organizations_url":"https://api.github.com/users/dsyme/orgs","repos_url":"https://api.github.com/users/dsyme/repos","events_url":"https://api.github.com/users/dsyme/events{/privacy}","received_events_url":"https://api.github.com/users/dsyme/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T23:39:13Z","updated_at":"2018-03-15T23:39:13Z","author_association":"CONTRIBUTOR","body":"@brettfo BTW I see this at the start of the build in the package manager output\r\n\r\n    Error occurred while restoring NuGet packages: '$(XliffTasksPackageVersion)' is not a valid version string.\r\n"}}
{"actor":{"display_login":"dsyme"}}