This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using EnvDTE; | |
namespace NuGet.VisualStudio | |
{ | |
public static class VsVersionHelper | |
{ | |
private static readonly Lazy<int> _vsMajorVersion = new Lazy<int>(GetMajorVsVersion); | |
private static bool _isVS2010; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-ProjectFiles { | |
Process { | |
if ($_.Kind -eq "{6BB5F8EF-4483-11D3-8BCF-00C04F8EC28C}" -or $_.Kind -eq "{66A26720-8FB5-11D2-AA7E-00C04F688DDE}") { | |
$_.ProjectItems | Get-ProjectFiles | |
} | |
else { | |
$_ | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Register(HttpConfiguration config) | |
{ | |
config.Services.Add(typeof(System.Web.Http.ValueProviders.ValueProviderFactory), | |
new EmptyValueProviderFactory()); | |
} | |
public class EmptyValueProvider : System.Web.Http.ValueProviders.IValueProvider | |
{ | |
public bool ContainsPrefix(string prefix) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
"use strict"; | |
var itemsToHide = document.querySelectorAll(".collapsible, .page:not(#stackpage)"), | |
i; | |
for (i = 0; i < itemsToHide.length; i++) { | |
itemsToHide[i].style.display = 'none'; | |
} | |
function attachHandlers(selector, handler) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"userSecretsId": "aspnet-WebApplication2-94a68b6d-cb48-408f-a5cf-173b792b2f99", | |
"dependencies": { | |
"Microsoft.NETCore.App": { | |
"version": "1.0.0-rc2-*", | |
"type": "platform" | |
}, | |
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0-rc2-*", | |
"Microsoft.AspNetCore.Diagnostics": "1.0.0-rc2-*", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error CS0122 'ViewBuffer' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6 | |
Error CS0051 Inconsistent accessibility: parameter type 'ObjectMethodExecutor' is less accessible than method 'ControllerActionExecutor.PrepareArguments(IDictionary<string, object>, ObjectMethodExecutor)' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6 | |
Error CS0053 Inconsistent accessibility: property type 'PrefixContainer' is less accessible than property 'FormValueProvider.PrefixContainer' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6 | |
Error CS0053 Inconsistent accessibility: property type 'PrefixContainer' is less accessible than property 'JQueryFormValueProvider.PrefixContainer' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6 | |
Error CS0053 Inconsistent accessibility: property type 'PrefixContainer' is less accessible than property 'QueryStringValueProvider.PrefixContainer' Microsoft.AspNetCore.Mvc.Cor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private readonly object _callbackLock = new object(); | |
private List<CallbackState> _callbacks = new List<CallbackState>(); | |
private bool _registeredCallbackProxy; | |
private bool _canBeChanged = true; | |
public IDisposable RegisterChangeCallback(Action<object> callback, object state) | |
{ | |
if (!_canBeChanged) | |
{ | |
return NullDispoable.Singleton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"locked": false, | |
"version": 2, | |
"targets": { | |
".NETCoreApp,Version=v1.0": { | |
"Libuv/1.9.1": { | |
"type": "package", | |
"dependencies": { | |
"Microsoft.NETCore.Platforms": "1.0.1" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restoring packages for restore-projects\Microsoft.NETCore.App.proj... | |
\dotnet\sdk\1.0.0-rc3-004522\NuGet.targets(97,5): error : Failed to resolve conflicts for .NETCoreApp,Version=v1.1. [restore-projects\Microsoft.NETCore.App.proj] | |
\dotnet\sdk\1.0.0-rc3-004522\NuGet.targets(97,5): error : Unable to satisfy conflicting requests for 'Microsoft.NETCore.App': project/Microsoft.NETCore.App (>= 1.0.0) (via project/Microsoft.NETCore.App 1.0.0), Microsoft.NETCore.App (>= 1.2.0-beta-001304-00) (via project/Microsoft.NETCore.App 1.0.0) [restore-projects\Microsoft.NETCore.App.proj] | |
\dotnet\sdk\1.0.0-rc3-004522\NuGet.targets(97,5): error : Unable to satisfy conflicting requests for 'Libuv': Libuv (>= 1.10.0-preview1-22036) (via package/Microsoft.NETCore.App 1.2.0-beta-001304-00) [restore-projects\Microsoft.NETCore.App.proj] | |
\dotnet\sdk\1.0.0-rc3-004522\NuGet.targets(97,5): error : Unable to satisfy conflicting requests for 'Microsoft.CodeAnalysis.CSharp': Microsoft.CodeAnalysis.CSharp (>= 1.3.0) (via package/Microsoft.NE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[19:57:54] [Step 3/4] Webpack@0.0.0 C:\b\w\474ea01f936dbe26\.r\JavaScriptServices\samples\misc\Webpack | |
[19:57:54] [Step 3/4] +-- aspnet-prerendering@1.0.7 | |
[19:57:54] [Step 3/4] | +-- domain-task@2.0.3 | |
[19:57:54] [Step 3/4] | | +-- domain-context@0.5.1 | |
[19:57:54] [Step 3/4] | | `-- isomorphic-fetch@2.2.1 | |
[19:57:54] [Step 3/4] | | +-- node-fetch@1.7.0 | |
[19:57:54] [Step 3/4] | | | +-- encoding@0.1.12 | |
[19:57:54] [Step 3/4] | | | | `-- iconv-lite@0.4.17 | |
[19:57:54] [Step 3/4] | | | `-- is-stream@1.1.0 | |
[19:57:54] [Step 3/4] | | `-- whatwg-fetch@2.0.3 |
OlderNewer