- Packages are published to the OWNER scope
- Unscoped packages can't be published
@OWNER:registry=https://npm.pkg.github.com
using System; | |
using System.Reflection; | |
using System.Collections.Generic; | |
using System.Linq.Expressions; | |
public static class ExpressionUtilities | |
{ | |
public static object GetValue(Expression expression) | |
{ | |
return getValue(expression, true); |
Microsoft.VisualStudio.TeamFoundation.VersionControl.PendingChanges.ChangesToExcludeSectionVS (C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\3y3blfwb.uew\Microsoft.VisualStudio.TeamFoundation.VersionControl.dll) | |
ParentPageId: FD273AA7-0538-474B-954F-2327F91CEF5E | |
ExportTypeIdentity: Microsoft.TeamFoundation.Controls.ITeamExplorerSection | |
Id: 7B018EAE-3E33-4F04-B5CA-DA8358396581 | |
PlacementParentPageId: 22841D4D-257A-4421-ADF5-44F5ED556EA3 | |
PlacementPriority: System.Int32[] | |
Priority: 50 | |
ContractType: Microsoft.TeamFoundation.Controls.ITeamExplorerSection | |
ContractName: | |
Microsoft.VisualStudio.TeamFoundation.VersionControl.PendingChanges.ChangesToIncludeSectionVS (C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\3y3blfwb.uew\Microsoft.VisualStudio.TeamFoundation.VersionControl.dll) |
This doesn't work so well:
$ docker run -it --entrypoint bash gradle
So I'm using:
$ docker run -it --entrypoint bash frekele/gradle
The rules are:
CodeUnderTest
must not be changed. function gooo() | |
{ | |
console.log('hmmmmmmmmmmmmmmmm'); | |
} | |
Try entering the following in Git Bash:
$ git credential fill
protocol=https
host=github.com
(note the blank line)
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>netcoreapp3.0</TargetFramework> | |
</PropertyGroup> | |
</Project> |
using System; | |
using System.Collections.Generic; | |
using EnvDTE; | |
public class Tests | |
{ | |
[STAThread] | |
static IList<string> DumpProjects(DTE dte) | |
{ | |
var projects = new List<string>(); |
public string FindOutputFilePath(IVsTextManager2 textManager, IVsEditorAdaptersFactoryService adapters) | |
{ | |
if(textManager.GetActiveView2(1, null, (uint)_VIEWFRAMETYPE.vftCodeWindow, out IVsTextView activeView) == VSConstants.S_OK) | |
{ | |
var textView = adapters.GetWpfTextView(activeView); | |
var doc = textView.TextBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); | |
return doc.Project.OutputFilePath; | |
} | |
return null; |