Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all 106942 articles
Browse latest View live

RSRP-186261: Context action: convert str == "" and str.Equals(String.Empty) to string.IsNullOrWhiteSpace(str)

$
0
0
Reporter Andrew Serebryansky (marcus23) Andrew Serebryansky (marcus23)
Created Jul 14, 2010 1:26:08 PM
Updated Oct 4, 2018 2:32:54 PM
Resolved Oct 4, 2018 2:32:54 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Duplicate
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-154543: Quick-fix to change string-equals-empty to string.IsNullOrEmpty

$
0
0
Reporter Joe White (joewhite) Joe White (joewhite)
Created Feb 12, 2010 12:55:18 AM
Updated Oct 4, 2018 2:32:54 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Improvement
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
It would be convenient if ReSharper had a quick-fix to change a string-equals-empty comparison (or string-not-equals-empty) into a call to string.IsNullOrEmpty. For example:

// Convert this:
if (myString == "")
// to this:
if (string.IsNullOrEmpty(myString))

// Convert this:
if (myString != "")
// to this:
if (!string.IsNullOrEmpty(myString))

RSRP-471724: focus is lost and returned during Search Everywhere with filter

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 2, 2018 3:22:45 PM
Updated Oct 4, 2018 2:33:40 PM
Subsystem Navigation - Global
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Open
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Search Everywhere and navigate somewhere. Don't use a filter at this step.
2. Call Search Everywhere again, type /t and select a class from the external sources.
Now focus goes out from the VS and returns back.

RSRP-471746: The item 'Class1.cs' cannot be deleted.

$
0
0
Reporter Anna Milova (anna.milova) Anna Milova (anna.milova)
Created Sep 26, 2018 10:26:50 PM
Updated Oct 4, 2018 2:33:42 PM
Subsystem Platform - VS Integration
Assignee Sergey Kuks (coox)
Priority Critical
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _4f065301DotnetProducts — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180924.0-eap01d

JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180924.0-eap01d
JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180924.0-eap01d

The item 'Class1.cs' cannot be deleted.

— EXCEPTION #1/2 [COMException]
Message = “The item 'Class1.cs' cannot be deleted.”
ExceptionPath = Root.InnerException
ClassName = System.Runtime.InteropServices.COMException
HResult = E_FAIL=EFail=80004005
StackTraceString = “
 at EnvDTE.ProjectItem.Delete()
 at EnvDTE.ProjectItem.Delete()
 at JetBrains.VsIntegration.ProjectDocuments.Transactions.Actions.VsDragAndDropUtil.<>c__DisplayClass4_1.<DeleteProjectModelElement>b__0()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “The item 'Class1.cs' cannot be deleted.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180924.0-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.3 EAP 1 D Build 2018.3.20180924.0-eap01d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180924.0-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183-am-netat2::14af6a979ca562d9d8e762cd0a8d6a87ecc4ec69

Data.VsVersion = 15.6.27428.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.VsIntegration.ProjectDocuments.Transactions.Actions.VsDragAndDropUtil.<>c__DisplayClass4_1.<DeleteProjectModelElement>b__0()
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExpectUnguardedCallback(Action FNested)
 at JetBrains.VsIntegration.ProjectDocuments.Transactions.Actions.VsDragAndDropUtil.DeleteProjectModelElement(IVsAction action, VsHierarchyItem hierarchyItem, FileSystemPath location, Boolean shared)
 at JetBrains.VsIntegration.ProjectDocuments.Transactions.Actions.VsRemoveAction.Commit()
 at JetBrains.DocumentManagers.Transactions.SolutionProjectDocumentTransaction.DoCommit(IDictionary`2 dirtyDocuments, IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransaction.Commit(IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransaction.Commit(IUndoRedoHandler undoRedoHandler, IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransactionManager.CommitTransaction(IUndoRedoHandler undoRedoHandler, IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransactionManager.CommitTransaction(IProgressIndicator pi)
 at JetBrains.DocumentModel.Transactions.DocumentTransactionCookie.Commit(IProgressIndicator pi)
 at JetBrains.DocumentManagers.Transactions.ProjectModelTransactionFactory.ProjectModelTransactionCookie.Commit(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass42_3.<InitPage>b__2(IProjectModelTransactionCookie c)
 at JetBrains.Util.Special.GeneralUtil.IfNotNull[TInput,TResult](TInput object, Func`2 functor, TResult default)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass42_2.<InitPage>b__1(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage()
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.<NextClick>b__18_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e)
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-186458: Do not forget quick fix in VB

$
0
0
Reporter Olga Lukianova (olka) Olga Lukianova (olka)
Created Jul 16, 2010 3:59:52 PM
Updated Oct 4, 2018 2:35:27 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Quick fix: 'To Function'

 Public Sub Foo(ByVal x As Integer) as String
End Sub

RSRP-468615: InTest for Reachable exits

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Mar 7, 2018 8:05:52 PM
Updated Oct 4, 2018 2:40:28 PM
Subsystem No Subsystem
Assignee Katya Kulikova (Katya.Kulikova)
Priority Normal
State Open
Type Task
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
The go to usages feature was broken for all sync searches for ages.
Simple steps to reproduce copy this method and invoke go to usages on return
using System;

class Program
{
static void Main(string[] args)
{
if (args.Length == 0)
{
return;
}
else
{
throw new Exception("ABC");
}
}
}

RSRP-186717: Should suggest to import suitable extension method in conversion from method group to delegate

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jul 21, 2010 12:45:44 PM
Updated Oct 4, 2018 2:42:50 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;

public class D
{
private static void Main()
{
Func<char,bool> f = "ABC".Contains;
}
}

Suggest QF to add
using System.Linq;

(similar to how it already works for invocations)

RSRP-186866: Create method quickfix in a partial class should not offer to create the method in a generated part

$
0
0
Reporter Roger Lipscombe (rlipscombe) Roger Lipscombe (rlipscombe)
Created Jul 22, 2010 7:09:41 PM
Updated Oct 4, 2018 2:47:04 PM
Resolved Oct 4, 2018 2:47:04 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
If I have (e.g.) a Linq-to-SQL data context class, and I create a file containing the rest of the partial class, and I use the Create method quickfix, then R# asks me which part I would like the method created in. It should not offer to create the method in generated code parts.

RSRP-187062: Missing QF: Insert type arguments

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Jul 27, 2010 11:12:16 AM
Updated Oct 4, 2018 2:51:50 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;

class Pattern
{
static void Main()
{
Type[] t = {typeof(string), typeof(object)};
var s = string.Join(",", t);
}
}

Ambiguous invocation:
string Join(string, params object[]) (in class String)
string Join<Type>(string, System.Collections.Generic.IEnumerable<System.Type>) (in class String)


I need a QF to resolve the ambiguity to the generic method. Expected result:

using System;

class Pattern
{
static void Main()
{
Type[] t = {typeof(string), typeof(object)};
var s = string.Join<Type>(",", t);
}
}

RSRP-471674: [Performance Report] Extension 'JetBrains ReSharper Ultimate 2018.2.3 182.0' likely caused x seconds of unresponsiveness

$
0
0
Reporter Adrian Wright (adrian.3) Adrian Wright (adrian.3)
Created Sep 28, 2018 3:06:59 PM
Updated Oct 4, 2018 2:51:58 PM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1
Product: ReSharper, Version: 2018.2.20180912.160227
Time Zone: GMT Standard Time

Description

In Visual Studio I am getting the following message appear at the top in a yellow bar:

Extension 'JetBrains ReSharper Ultimate 2018.2.3 182.0' likely caused x seconds of unresponsiveness

It even happens when I open Visual Studio without opening a solution or project.

It was happening in previous versions not just the latest version.

RSRP-471733: Incorrect applying file layout to properties with disabled 'MemberCanBeMadeStatic' inspections

$
0
0
Reporter Roman Vasin (roman.vasin) Roman Vasin (roman.vasin)
Created Oct 3, 2018 12:17:07 PM
Updated Oct 4, 2018 2:54:05 PM
Subsystem Code Style - Cleanup
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Code example:

namespace Namespace
{
    public class Class
    {
        // ReSharper disable MemberCanBeMadeStatic.Local
        private int Property1 => AppDomain.CurrentDomain.Id;
        private int Property2 => AppDomain.CurrentDomain.Id;
        // ReSharper restore MemberCanBeMadeStatic.Local

        public Class()
        {
            int x = this.Property1;
        }
    }
}

File layout:

The settings is that properties must be declared before constructors.
After 'Cleanup code':

namespace Namespace
{
    public class Class
    {
        public Class()
        {
            var x = Property1;
        }

        // ReSharper disable MemberCanBeMadeStatic.Local
        private int Property1 => AppDomain.CurrentDomain.Id;

        private int Property2 => AppDomain.CurrentDomain.Id;
        // ReSharper restore MemberCanBeMadeStatic.Local
    }
}

This happens only when 'MemberCanBeMadeStatic' inspection for the properties is disabled with comments.

RSRP-187070: Context action: 'Add overload with params'

$
0
0
Reporter Andrew Serebryansky (marcus23) Andrew Serebryansky (marcus23)
Created Jul 27, 2010 1:12:33 PM
Updated Oct 4, 2018 2:54:38 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
given the method:

public QueryString AddParameters(IEnumerable<string> newParameters/**/)
{
}

placing the cursor at /**/ a suggestion item 'add overload with "params"' should appear that will insert the following code below:


public QueryString AddParameters(params string[] newParameters)
{
return AddParameters((IEnumerable<string>)newParameters);
}

this allows callers to call the method like this:

AddParameters("abc");
AddParameters("def", "ghi");

very convenient.

RSRP-471732: Using a custom type in TestFixtureData doesn't work

$
0
0
Reporter Roger Kratz (rogerkratz) Roger Kratz (rogerkratz)
Created Oct 3, 2018 12:15:00 PM
Updated Oct 4, 2018 2:55:56 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

Test runner (both latest Rider and latest VS) won't run this two times as expected/nunit console does....

[TestFixtureSource(typeof(MyFixtureData), "FixtureParms")]
public class TestFixture
{
	public TestFixture(TestFixtureDataParameters foo)
	{
	}

	[Test]
	public void JustATest()
	{
	}
}

public class MyFixtureData
{
	public static IEnumerable FixtureParms
	{
		get
		{
			yield return new TestFixtureData(new TestFixtureDataParameters(1));
			yield return new TestFixtureData(new TestFixtureDataParameters(2));
		}
	}  
}

public class TestFixtureDataParameters
{
	public TestFixtureDataParameters(object foo)
	{
		Foo = foo;
	}
	
	public object Foo { get; }
}

RSRP-471725: [Xamarin] [Xaml] delegate Task for event are underlined

$
0
0
Reporter Daniel Enilorac (berfhaen) Daniel Enilorac (berfhaen)
Created Oct 2, 2018 3:26:42 PM
Updated Oct 4, 2018 3:00:00 PM
Subsystem XAML
Assignee Sergey Kuks (coox)
Priority Critical
State Submitted
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Let's say, I have the following class in Xamarin.Forms.
public class ButtonLocked : Button { [...] public event Func<object, EventArgs, Task> ClickedLocked; }

And I have the following xaml

<customElements:ButtonLocked Text="Advanced" ClickedLocked="NavigateToAdvancedSearch_OnClicked"/>

The application compiles and runs perfectly. However, Resharper tells me that the signature is incorrect.

RSRP-187641: Add a new namespace convention, takeing into account when refactoring

$
0
0
Reporter Itzik Yitzchaki (etzik360) Itzik Yitzchaki (etzik360)
Created Aug 5, 2010 7:04:13 AM
Updated Oct 4, 2018 3:40:19 PM
Subsystem Code Style
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
When refactoring .net classes, the namespaces are re-arranged or all at the top of the document, or inside the namespace direction.
I want to be able to choose a third option, namespaces are at the top of the document, except those that are part of the project.

For more details, please read:
http://stackoverflow.com/questions/2742426/automate-refactor-import-using-directives-using-resharper-and-visual-studio-2010

RSRP-187697: Allow to move interfaces/delegates/enums/types with no executable code between projects in different languages

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 5, 2010 3:12:10 PM
Updated Oct 4, 2018 3:43:07 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-187727: Missing QF for 'ambiguous constructor reference'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 5, 2010 6:31:30 PM
Updated Oct 4, 2018 3:45:20 PM
Resolved Oct 4, 2018 3:45:20 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

using System;

static class A
{
static void Main()
{
var g = new Guid(null);
}
}

Needed: Cast to byte[], Cast to string

RSRP-187770: CA 'Join strings' produces wrong result

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 6, 2010 1:52:18 PM
Updated Oct 4, 2018 3:48:23 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;

class C
{
static void Main()
{
Console.WriteLine("\x42d\x445" + "0"); // Prints "Эх0"
}
}

After CA:

using System;

class C
{
static void Main()
{
Console.WriteLine("\x42d\x4450"); // Prints "Э?"
}
}

Expected:

using System;

class C
{
static void Main()
{
Console.WriteLine("\x42d\x04450"); // Prints "Эх0"
}
}

RSRP-187800: QF 'Override Foo(int) instead' unnecessarily renames parameter

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 6, 2010 5:14:52 PM
Updated Oct 4, 2018 3:50:19 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
abstract class A
{
public abstract void Foo(int i);
}

class B : A
{
public override void Foo(long i) { } // Apply QF
}

Result:

abstract class A
{
public abstract void Foo(int i);
}

class B : A
{
public override void Foo(int i1) { }
}

Parameter should not be renamed to i1.

RSRP-467050: Optimize References, Find Code dependent on module, etc. don't understand PackageReference assemblies

$
0
0
Reporter Rian Stockbower (rianjs) Rian Stockbower (rianjs)
Created Nov 15, 2017 6:21:05 PM
Updated Oct 4, 2018 3:50:46 PM
Subsystem Optimize References
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
nuget now has two resolution mechanisms, as you probably know.

  • packages.config + references to assemblies on disk. This works fine, as always.
  • PackageReference entries in a csproj file. This doesn't work.

This is problematic for mixing and matching Framework and NetStandard libraries. The PackageReference entry will compute the dependency graph, and pull down everything it needs automagically. If you use the old packages.config way, you have to flatten the dependency graph into the packages.config file, and manually reference each required DLL.

Immo Landwerth has basically said that PackageReference is the future. It would be nice to have support for it:
https://github.com/dotnet/standard/issues/481
Viewing all 106942 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>