You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.
I have an application that has several xprojs that reference some csproj projects. When publishing with source they suffer from this bug: #2352
However, if I add --no-source then I get the following:
...
Done, without errors.
Copying to output path C:\Users\glennc\AppData\Local\Temp\PublishTemp
System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.Framework.PackageManager.BuildContext.PopulateDependencies(PackageBuilder packageBuilder)
at Microsoft.Framework.PackageManager.BuildManager.BuildInternal(String projectPath)
at Microsoft.Framework.PackageManager.BuildManager.Build()
at Microsoft.Framework.PackageManager.Publish.PublishProject.EmitNupkg(PublishRoot root)
at Microsoft.Framework.PackageManager.Publish.PublishProject.Emit(PublishRoot root)
at Microsoft.Framework.PackageManager.Publish.PublishRoot.Emit()
at Microsoft.Framework.PackageManager.Publish.PublishManager.Publish()
at Microsoft.Framework.PackageManager.PublishConsoleCommand.<>c__DisplayClass0_0.<Register>b__1()
at Microsoft.Framework.Runtime.Common.CommandLine.CommandLineApplication.Execute(String[] args)
at Microsoft.Framework.PackageManager.Program.Main(String[] args)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Framework.Runtime.Common.EntryPointExecutor.Execute(Assembly assembly, String[] args, IServiceProvider serviceProvider)
at dnx.host.Bootstrapper.RunAsync(List`1 args, IRuntimeEnvironment env, FrameworkName targetFramework)
at dnx.host.RuntimeBootstrapper.ExecuteAsync(String[] args, FrameworkName targetFramework)
at dnx.host.RuntimeBootstrapper.Execute(String[] args, FrameworkName targetFramework)
The text was updated successfully, but these errors were encountered:
This publish issue was in beta6 and it was fixed during @davidfowl 's refactoring (the usage of SingleOrDefault was removed during the refactoring 307137a)
However, dnu restore suffers from similar issue now and I filed a bug for it at: #2554
I have an application that has several xprojs that reference some csproj projects. When publishing with source they suffer from this bug: #2352
However, if I add --no-source then I get the following:
The text was updated successfully, but these errors were encountered: